<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pierre Feillet on Medium]]></title>
        <description><![CDATA[Stories by Pierre Feillet on Medium]]></description>
        <link>https://medium.com/@pierrefeillet?source=rss-c7daafcb4b40------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Csaa7FYR4eaBpb-46rzm1w.png</url>
            <title>Stories by Pierre Feillet on Medium</title>
            <link>https://medium.com/@pierrefeillet?source=rss-c7daafcb4b40------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:46:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pierrefeillet/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beyond System 1: Why Symbolic Reasoning Still Matters for Decision Making]]></title>
            <link>https://medium.com/@pierrefeillet/beyond-system-1-why-symbolic-reasoning-still-matters-for-decision-making-5a450130408a?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a450130408a</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-system-1]]></category>
            <category><![CDATA[rules]]></category>
            <category><![CDATA[symbolic-ai]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 10:04:32 GMT</pubDate>
            <atom:updated>2026-09-27T19:26:40.799Z</atom:updated>
            <content:encoded><![CDATA[<p><em>From probabilistic judgment to decisions that account for uncertainty, business risk, and time.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O0vqNaqo8oVbAKBr4KpjSg.png" /></figure><p>A new category of AI models is emerging around what’s increasingly called <strong>System 1[1] AI</strong>. Models like Jev [2] are built to make fast, typed judgments from unstructured information — and, importantly, to expose full probability distributions instead of just generating text.</p><p>That raises an interesting question for anyone building decision automation: if AI can already output decisions with probabilities attached, do we still need symbolic inference?</p><p>I think the answer is yes — but the role of rule-based and optimization systems needs to evolve. The opportunity isn’t to pit neural “System 1” models against symbolic reasoning. It’s to combine them into decision systems that can explicitly reason about uncertainty, business consequences, the value of information, and time.</p><h3>System 1 and symbolic System 2</h3><p>I’m using “System 2” here in a specific sense. [1] Not a generative LLM doing more inference-time compute or producing a longer chain of reasoning — I mean explicit <strong>symbolic reasoning</strong>: rules, logical inference, constraints, policies, and causal relationships whose semantics can be inspected and governed.</p><p>That gives us two very different capabilities.</p><p><strong>System 1</strong> interprets observations. It processes text, and potentially other modalities, recognizes patterns, and produces judgments such as:</p><blockquote><em>account takeover: 55 percent, card fraud: 30 percent, legitimate: 15 percent</em></blockquote><p><strong>Symbolic System 2</strong> reasons about established facts, policies, and consequences:</p><blockquote><em>if the customer is vulnerable, and the transaction amount is above 10,000, and the transaction is international, then require enhanced verification</em></blockquote><p>When information is certain and policy is explicit, deterministic reasoning is still extremely powerful, and a necessity for regulated activities. The interesting problems start where these two worlds meet.</p><h3>A probability is not yet a decision</h3><p>Consider two classifier outputs: one that’s 95 percent, 3 percent, 2 percent, and another that’s 31, 30, and 39 percent. Both technically have a “top” prediction, but they clearly don’t carry the same information.</p><p>More importantly, even a 95 percent confidence score doesn’t tell you what action to take. A 5 percent chance of being wrong might be perfectly fine for a reversible, low-value action. It’s a very different story for blocking a large transaction, rejecting an insurance claim, or halting an industrial process.</p><p>The decision depends not only on the probability, but on the business impact. System 1 can help estimate how likely each outcome is. But the cost of taking a given action when the real state turns out to be something else — that belongs to the business decision model, not the perception model.</p><p><strong>Confidence belongs to the observation. How risk and opportunity are weighed belongs to the decision.</strong></p><h3>Five levels of integration</h3><p><strong>Level 1 — System 1 as a perception layer.</strong> The simplest setup places System 1 upstream of an existing decision engine: unstructured input goes in, structured facts come out, and the existing rules operate on that structured information. This is probably the easiest adoption path, since the symbolic decision model itself doesn’t fundamentally change. In a siplistic approach we assume that the highest probability observed determines the value of the facts processed by the the symbolic engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZp0K3cc72hmng3eEhehbQ.png" /></figure><p><strong>Level 2 — Reasoning over probabilistic facts.</strong> Converting every System 1 result immediately into a certain fact throws away valuable information. Instead of collapsing a judgment into something like “intent equals fraud dispute,” we can preserve the full distribution and let rules reason over it directly — for instance, only auto-triggering a workflow if the probability of fraud dispute is above 90 percent <em>and</em> the amount is below a given threshold. The engine stays deterministic; what changes is the nature of the facts it operates on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ReIFu0i3vEDX-3vWWC_cgQ.png" /></figure><p>IBM Decision Intelligence enters in the System 2 category and can already be coupled with at level 1 and 2 with a system 1, and any predictive model. [4]</p><p>IBM’s CPLEX Optimizer is a concrete example of a System 2 building block for this kind of work: a mathematical optimization solver that, once constraints and an objective are set, finds the best feasible transaction, route, or allocation rather than just a plausible one. [5]</p><p><strong>Level 3 — Propagating uncertainty through inference.</strong> A more ambitious approach preserves uncertainty throughout the reasoning chain, so that probabilistic observations generate probabilistic intermediate facts, which themselves feed further inference. This is considerably harder — probabilities can’t simply be multiplied or propagated blindly, since dependencies and correlations between observations matter. But handled well, the result is a symbolic system that preserves uncertainty rather than destroying it at every step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mu-3wOYwvJ9hYV1satdmgg.png" /></figure><p><strong>Level 4 — Active decision making.</strong> Why should System 1 always run first, with System 2 simply consuming its output? Imagine a symbolic system reasoning toward “should this transaction be blocked?” and discovering that the available information isn’t sufficient for a safe decision. It can reason backwards: what information would most help resolve this? That might trigger another model evaluation, a database lookup, a document request, or a human review. System 2 stops being downstream of System 1 and starts orchestrating it with a new form of backward chaining.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rImsvn_4epOOHsAk0dRfSg.png" /></figure><p><strong>Level 5 — Deciding under a time budget.</strong> For real-time systems, uncertainty often can’t be fully resolved before a deadline. If a decision must be returned in under 100 milliseconds, the question shifts from “gather enough information to decide well” to “given the next 100 milliseconds, which computations most improve the decision?” Not every signal has the same cost: one might take 2 milliseconds and substantially sharpen a fraud assessment, while another takes 80 milliseconds and adds little. The system needs to reason about the value of information <em>and</em> its acquisition cost — including latency or economic — to prioritize accordingly. A constrained decision system isn’t chasing the theoretically optimal decision; it’s chasing the best defensible decision achievable within its allowed enveloped.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JdcONnEwXAn3e_6kXbkEQw.png" /></figure><h3>From inference engine to decision machine</h3><p>Read across these five levels, a clear progression emerges: from a plain rule engine, to a decision inference engine, to an uncertainty-aware decision engine, to an active decision machine, and finally to a real-time, risk-aware decision machine.</p><p>This suggests that the future of rule-based systems isn’t about making logical rules and constraints look more like AI generative models. It may be about making symbolic inference the <strong>control plane</strong> for decision making — the layer that decides what to trust, what to question, and what to do next.</p><h3>System 1 doesn’t eliminate symbolic reasoning</h3><p>System 1 models do challenge one traditional use of rules: large handcrafted condition sets acting as approximate classifiers. If a rule set is essentially trying to infer intent from dozens of textual patterns, a specialized neural model will likely do that job better. That’s not a threat — it frees symbolic rules to focus on what they do particularly well: explicit policies, constraints, causal and logical dependencies, business consequences, governance, and auditability.</p><p>System 1 answers one kind of question: <em>what does the available evidence suggest?</em> Symbolic System 2 answers a different one: <em>given what we know, what we don’t know, the consequences of being wrong, and the resources we have, what should we do next?</em></p><p>That distinction will matter more and more as AI allows to expand the realm of decision automation from the unstructured data faster and cheaper.</p><h3>A broader pattern</h3><p>The fraud and transaction examples used throughout this piece are just that — examples. The underlying business goal isn’t always “reduce risk”: it might just as easily be maximizing an opportunity, minimizing the impact of a loss, or optimizing some other objective entirely. The framework of combining System 1 and symbolic System 2 applies regardless of what that goal is.</p><p>More broadly, this is one instance of a wider pattern taking shape in applied AI: no single technology — neither a purely neural System 1 nor a purely symbolic System 2 — is enough on its own to build a complete enterprise decision system. [3] The more promising direction is to treat AI techniques like a composite material, blending different technologies to get the combination of properties a given system actually needs.</p><p>It’s also worth noting that Jev itself is not an isolated invention — it’s an early, visible example of a broader wave of System 1 models now emerging. Days after Jev’s launch, researchers from Stanford and NVIDIA Research open-sourced <strong>CLM-8B [6]</strong>, an alternate System 1 model that scores decisions through a contrastive matching approach rather than token generation, reportedly running up to nine times faster in their benchmarks. The specific models will keep changing quickly and future will tell what will be the next models. The architectural question this piece is really about — how symbolic System 2 reasoning should sit alongside them — will outlast any single one of them.</p><h3>References</h3><ol><li>Daniel Kahneman, <em>Thinking, Fast and Slow</em> — the original System 1 and System 2 framing this piece borrows and adapts. <a href="https://dn790002.ca.archive.org/0/items/DanielKahnemanThinkingFastAndSlow/Daniel%20Kahneman-Thinking%2C%20Fast%20and%20Slow%20%20.pdf">https://dn790002.ca.archive.org/0/items/DanielKahnemanThinkingFastAndSlow/Daniel%20Kahneman-Thinking%2C%20Fast%20and%20Slow%20%20.pdf</a></li><li>Jev — System 1 AI model for typed, probabilistic judgments from unstructured data. I first heard about it from Gabriel Rousseau at the IBM France Lab, where I also work. <a href="https://typesafe.ai/blog/introducing-system-one-models-and-jev">https://typesafe.ai/blog/introducing-system-one-models-and-jev</a></li><li>Neurosymbolic AI and hybrid AI — the broader research field combining neural and symbolic methods.</li><li>IBM Decision Intelligence — an example of a platform through which this kind of symbolic System 2 layer can actually be implemented in an enterprise setting. <a href="https://www.ibm.com/products/decision-intelligence">https://www.ibm.com/products/decision-intelligence</a></li><li>IBM CPLEX Optimizer — a mathematical programming solver (linear, mixed-integer, constraint programming) usable as a System 2 optimization engine alongside rule-based reasoning. <a href="https://www.ibm.com/products/ilog-cplex-optimization-studio/cplex-optimizer">https://www.ibm.com/products/ilog-cplex-optimization-studio/cplex-optimizer</a></li><li>CLM-8B — the open-source Stanford/NVIDIA Research System 1 model referenced above. <a href="https://github.com/Contrastive-LM/CLM">github.com/Contrastive-LM/CLM</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a450130408a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Psychological Perspective on Machine Learning and Symbolic AI]]></title>
            <link>https://medium.com/@pierrefeillet/a-psychological-perspective-on-machine-learning-and-symbolic-ai-9e0774f7e9a5?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e0774f7e9a5</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[symbolic-ai]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[behaviourism]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 15:19:08 GMT</pubDate>
            <atom:updated>2026-09-22T14:48:04.427Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Artificial Intelligence is often presented as a choice between two paradigms: machine learning and symbolic AI. One learns from data; the other reasons from explicit knowledge. Although this distinction is usually discussed in technical terms, it bears an intriguing resemblance to a debate that shaped psychology throughout the twentieth century. The comparison is necessarily imperfect, but it offers a useful perspective on how AI has evolved — and perhaps on where it may be heading.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aOBAAtE40R0lbsvzzQG6Jw.png" /></figure><h3>A Debate Older Than AI</h3><p>During much of the twentieth century, psychology was largely divided between <strong>behaviorism</strong> and the emerging field of <strong>cognitive psychology</strong>.</p><p>Behaviorists such as John Watson and B. F. Skinner argued that psychology should focus on observable behavior. Internal mental states were considered either inaccessible or unnecessary for scientific explanation.</p><p>The cognitive revolution proposed a different view: understanding intelligence requires studying internal representations — concepts, memory, planning, and reasoning — not only observable behavior. The rupture is often dated to Noam Chomsky’s 1959 review of Skinner’s <em>Verbal Behavior</em>, which argued that a purely behaviorist account could not explain how children acquire language, and made the case for studying internal representations directly.</p><p>These perspectives eventually came to be seen as complementary rather than mutually exclusive, and together they profoundly shaped psychology, neuroscience, and cognitive science.</p><h3>The Horse That Sparked a Debate</h3><p>One episode illustrates this tension particularly well.</p><p>Around 1900, a horse named Clever Hans became famous for apparently solving arithmetic problems by tapping his hoof. Many believed Hans possessed remarkable reasoning abilities.</p><p>Psychologist Oskar Pfungst eventually demonstrated that Hans was responding to subtle, unconscious cues from his human observers rather than performing calculations.</p><p>The story became a classic lesson in experimental psychology. Yet its significance extends beyond exposing experimental bias. Clever Hans demonstrated an extraordinary ability to perceive patterns in human behavior. Depending on one’s theoretical perspective, the episode either warned against attributing internal reasoning to animals or highlighted the power of learning through observation.</p><p>The same observations supported different interpretations of intelligence — and the pattern has recurred since. Machine learning researchers now use the term “Clever Hans effect” to describe models that arrive at correct answers for the wrong reasons, by exploiting spurious correlations in the training data rather than learning the intended concept. This is not merely a resemblance to the original case; it is the same failure mode, identified independently a century later.</p><h3>A Similar Divide in AI</h3><p>Today’s AI presents a comparable contrast.</p><p>Machine learning typically constructs models by learning statistical regularities from data. Their internal representations emerge automatically during training and are often difficult to interpret directly. Success is primarily measured through predictive performance and observed behavior.</p><p>Symbolic AI follows a different philosophy. Knowledge is represented explicitly, reasoning is transparent, and decisions can be explained, audited, verified, and modified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcpI-rjXnJPLUUKrQ7fFaA.png" /></figure><p>The parallel is striking, though not a strict equivalence. If Chomsky’s critique marked one turning point for behaviorism, the growing body of work on shortcut learning and interpretability may be playing a comparable role for machine learning today.</p><p>It highlights an enduring question: is intelligence best understood through observable behavior, through explicit internal representations, or through a combination of both?</p><p>Seen through this lens, today’s discussion about AI appears less like a completely new debate than a continuation of an older scientific conversation about the nature of intelligence.</p><h3>The Boundary Is Becoming Increasingly Blurred</h3><p>Recent advances suggest that this distinction is becoming less meaningful.</p><p>Large language models acquire rich statistical representations from experience. They can now also generate symbolic artifacts — source code, logical rules, decision models, workflows, or planning structures — that can be compiled, verified, executed, and evaluated. Systems such as AlphaGeometry, which pairs neural pattern-generation with formal proof verification to solve olympiad-level geometry problems, are an early example of this pairing in practice.</p><p>The results of this symbolic execution can then guide further improvements, creating a feedback loop between statistical learning and formal reasoning.</p><p>Rather than opposing machine learning and symbolic AI, emerging neurosymbolic systems combine both. Learning generates candidate representations, while symbolic reasoning validates, constrains, explains, and executes them. Each paradigm complements the other.</p><p>This convergence is particularly valuable in domains where performance alone is insufficient and correctness, transparency, and governance are equally important.</p><h3>Looking Beyond Psychology</h3><p>The analogy with psychology helps illuminate the relationship between learning and reasoning in AI. But it also has its limits.</p><p>Psychology primarily studies how organisms perceive, learn, and reason. It says comparatively little about how complex biological structures emerge and organize themselves during development.</p><p>For that, biology may offer additional inspiration.</p><p>Through morphogenesis, simple cells differentiate, cooperate, and progressively assemble into tissues and organs. Organization itself becomes part of the explanation.</p><p>Whether similar ideas could inspire future AI architectures remains an open research question.</p><h3>Conclusion</h3><p>The history of psychology reminds us that scientific progress rarely comes from one paradigm replacing another. More often, it comes from integrating complementary perspectives.</p><p>Machine learning and symbolic AI increasingly appear less as competing approaches than as different aspects of intelligent systems. Neurosymbolic AI reflects this convergence.</p><p>Whether concepts borrowed from developmental biology will eventually contribute another useful perspective remains to be seen.</p><p>If they do, the next stage of AI may involve systems that not only <strong>learn</strong> from experience and <strong>reason</strong> with explicit knowledge, but also progressively <strong>reorganize</strong> their capabilities under well-defined goals, constraints, and human oversight.</p><p>Psychology may help us understand where AI has come from. Biology may help us imagine where it could go next.</p><h3>Resources</h3><p><strong>The Clever Hans case</strong></p><ol><li>Pfungst, O. (1911). <em>Clever Hans (The Horse of Mr. von Osten): A Contribution to Experimental Animal and Human Psychology</em> (C. L. Rahn, Trans.). Henry Holt and Company. (Original work published 1907). Full text: <a href="https://www.gutenberg.org/files/33936/33936-h/33936-h.htm">gutenberg.org/files/33936</a></li><li>Lapuschkin, S., Wäldchen, S., Binder, A., Montavon, G., Samek, W., &amp; Müller, K.-R. (2019). Unmasking Clever Hans predictors and assessing what machines really learn. <em>Nature Communications</em>, 10, 1096. <a href="https://doi.org/10.1038/s41467-019-08987-4">https://doi.org/10.1038/s41467-019-08987-4</a></li></ol><p><strong>Behaviorism and cognitive psychology</strong></p><ol><li>Watson, J. B. (1913). Psychology as the behaviorist views it. <em>Psychological Review</em>, 20(2), 158–177. <a href="https://doi.org/10.1037/h0074428">https://doi.org/10.1037/h0074428</a></li><li>Skinner, B. F. (1938). <em>The Behavior of Organisms: An Experimental Analysis</em>. Appleton-Century.</li><li>Chomsky, N. (1959). A review of B. F. Skinner’s <em>Verbal Behavior</em>. <em>Language</em>, 35(1), 26–58. <a href="https://doi.org/10.2307/411334">https://doi.org/10.2307/411334</a></li><li>Neisser, U. (1967). <em>Cognitive Psychology</em>. Appleton-Century-Crofts.</li></ol><p><strong>Symbolic AI and machine learning foundations</strong></p><ol><li>Newell, A., &amp; Simon, H. A. (1976). Computer science as empirical inquiry: Symbols and search. <em>Communications of the ACM</em>, 19(3), 113–126. <a href="https://doi.org/10.1145/360018.360022">https://doi.org/10.1145/360018.360022</a></li><li>LeCun, Y., Bengio, Y., &amp; Hinton, G. (2015). Deep learning. <em>Nature</em>, 521(7553), 436–444. <a href="https://doi.org/10.1038/nature14539">https://doi.org/10.1038/nature14539</a></li></ol><p><strong>Neurosymbolic integration</strong></p><ol><li>Garcez, A. d’Avila, &amp; Lamb, L. C. (2023). Neurosymbolic AI: The 3rd wave. <em>Artificial Intelligence Review</em>, 56, 12387–12406. <a href="https://doi.org/10.1007/s10462-023-10448-w">https://doi.org/10.1007/s10462-023-10448-w</a> (preprint: <a href="https://arxiv.org/abs/2012.05876">arXiv:2012.05876</a>)</li><li>Bhuyan, B. P., Ramdane-Cherif, A., Tomar, R., &amp; Singh, T. P. (2025). Neuro-symbolic AI in 2024: A systematic review. arXiv:2501.05435. <a href="https://arxiv.org/abs/2501.05435">https://arxiv.org/abs/2501.05435</a></li><li>Trinh, T. H., Wu, Y., Le, Q. V., He, H., &amp; Luong, T. (2024). Solving olympiad geometry without human demonstrations. <em>Nature</em>, 625, 476–482. <a href="https://doi.org/10.1038/s41586-023-06747-5">https://doi.org/10.1038/s41586-023-06747-5</a></li></ol><p><strong>Morphogenesis-inspired architectures</strong></p><ol><li>Turing, A. M. (1952). The chemical basis of morphogenesis. <em>Philosophical Transactions of the Royal Society of London B</em>, 237(641), 37–72. <a href="https://doi.org/10.1098/rstb.1952.0012">https://doi.org/10.1098/rstb.1952.0012</a></li><li>Mordvintsev, A., Randazzo, E., Niklasson, E., &amp; Levin, M. (2020). Growing neural cellular automata. <em>Distill</em>. <a href="https://doi.org/10.23915/distill.00023">https://doi.org/10.23915/distill.00023</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e0774f7e9a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Society of Mind to Society of Agents: Emergence, Evolution, and the Architecture of Collective…]]></title>
            <link>https://medium.com/@pierrefeillet/from-society-of-mind-to-society-of-agents-emergence-evolution-and-the-architecture-of-collective-e58a224424c0?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/e58a224424c0</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[complex-systems]]></category>
            <category><![CDATA[biology]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 20:34:24 GMT</pubDate>
            <atom:updated>2026-06-11T14:14:26.559Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Society of Mind to Society of Agents: Emergence, Evolution, and the Architecture of Collective Intelligence</h3><p><em>What if the most important unit of analysis in AI is not the model, but the organization?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRtwe4IWIX1gXLAtXexeNQ.png" /></figure><p>The dominant paradigm in artificial intelligence has generally been reductionist. We improve the model. We scale the parameters. We fine-tune the objective. Progress, in this tradition, is measured at the level of the individual component — and individual components are what get benchmarked, published, and deployed.</p><p>Recent developments in agentic AI quietly challenge this assumption. Increasingly, complex tasks are not solved by a single capable model but through the coordinated activity of multiple specialized agents: planners, evaluators, retrievers, critics, memory managers. The outcome of such systems is often difficult to attribute to any single participant. Something is happening at the organizational level that is not fully visible at the agent level.</p><p>This shift invites a question that AI research has largely deferred: is intelligence in multi-agent systems primarily a property of individual agents, or is it an emergent property of their organization?</p><p>The question is not new. Variants of it have been asked — and partially answered — in cybernetics, evolutionary biology, developmental mathematics, and complexity theory. Revisiting those answers provides a sharper theoretical foundation for thinking about where agentic AI is headed, and what we should be measuring when we evaluate it.</p><h3>I. Emergence and the Limits of Reductionism</h3><p>The foundational insight of complexity science is deceptively simple: the behavior of a system cannot always be inferred from the properties of its parts.</p><p>Conway’s Game of Life is the canonical illustration. Four local rules applied to a binary grid produce gliders, oscillators, and self-replicating structures of startling variety. No individual cell “knows” about any of this. The global patterns are not encoded anywhere — they arise from interaction.</p><p>The significance of this observation extends well beyond cellular automata. It establishes a class of phenomena — emergent phenomena — that resist explanation through decomposition. To understand them, you have to look at the relationships, not just the elements.</p><p>Multi-agent AI systems increasingly belong to this class. Coordination patterns, role differentiation, and collective problem-solving strategies often emerge from agent interaction rather than from explicit design. This is not merely an engineering curiosity. It is a theoretical claim: that some capabilities of multi-agent systems cannot be adequately understood by studying individual agents in isolation.</p><h3>II. Minsky’s Unfinished Hypothesis</h3><p>Marvin Minsky articulated the most explicit early theory of distributed cognition in <em>The Society of Mind</em> (1986). His central argument was an inversion of the dominant assumption: intelligence is not decomposed into simpler processes. Rather, complex intelligence is <em>constructed</em> from the organization of simple ones.</p><p>For Minsky, cognition emerges from societies of specialized agents — each handling narrow functions like attention, pattern recognition, or short-term retention — whose interactions produce what we experience as thought. No individual agent is intelligent; intelligence is a property of the collective.</p><p>Modern agentic architectures can be read as engineering implementations of this hypothesis. A planning agent, a critique agent, a retrieval agent, and an execution agent, each limited in isolation, collectively produce outputs none could generate alone. The analogy is not perfect — contemporary LLM-based agents are vastly more capable than Minsky’s elementary agents — but the structural logic is the same.</p><p>Yet Minsky’s framework contains a significant lacuna. It describes how intelligence emerges from a society of agents. It does not explain how effective societies themselves come to exist. That question requires a different tradition.</p><h3>III. Darwinian Dynamics in Agent Populations</h3><p>Evolutionary theory offers a partial answer.</p><p>Darwin’s core insight was that complex adaptive structure can emerge without centralized design through the recursive interaction of three mechanisms: variation, selection, and inheritance. Biological complexity is not merely organized — it is historically produced by a process indifferent to any blueprint.</p><p>The analogy to agentic AI is increasingly concrete. Agents may differ in their reasoning strategies, communication protocols, memory architectures, or decision policies. These differences constitute variation. When performance criteria are applied — through human evaluation, automated scoring, or downstream task success — selection becomes possible. Effective configurations propagate; ineffective ones are discarded or retrained.</p><p>What makes this more than metaphor is the question of inheritance. In biological evolution, inheritance is the mechanism that preserves selected variation across generations. For agent organizations, the equivalent question is non-trivial: what exactly is transmitted when a successful multi-agent configuration is reproduced? Prompt structures? Fine-tuned weights? Orchestration logic? The answer matters, because without a meaningful notion of inheritance, the evolutionary analogy remains illustrative rather than explanatory.</p><p>This is a research question, not a rhetorical one. Frameworks such as AutoGen, CrewAI, and LangGraph already embody meaningfully different organizational structures — conversational, hierarchical, and graph-based — even if those differences reflect design choices rather than spontaneous variation. The missing piece is a systematic study of which organizational features, once discovered, can be reliably reproduced and why.</p><h3>IV. Morphogenesis: Form Without a Blueprint</h3><p>Evolutionary theory explains adaptation over time. It does not fully explain the emergence of form.</p><p>That question was addressed mathematically by Alan Turing in his 1952 paper <em>The Chemical Basis of Morphogenesis.</em> Turing showed that spatially organized biological structures — the stripes on a zebrafish, the branching of a lung, the whorls of a fingerprint — could arise spontaneously from the interaction of two diffusing chemical agents operating under simple kinetic rules. He called these reaction-diffusion systems.</p><p>The critical insight was that complex, highly ordered form does not require a detailed blueprint. It requires only local rules operating under appropriate constraints. Organization is an <em>outcome</em>, not a precondition.</p><p>The implications for agentic AI are underexplored. Current multi-agent systems are predominantly designed top-down: engineers specify roles, define communication channels, and set organizational structures in advance. This is architecturally reasonable but theoretically limiting. It assumes that effective organizations must be designed rather than discovered.</p><p>Turing’s morphogenetic framework suggests an alternative. Given appropriate local interaction rules and selection pressures, agent organizations may develop role specialization, hierarchical structure, and collective memory through bottom-up dynamics rather than top-down specification. In this scenario, the architecture of the system becomes an emergent outcome rather than a design input — a fundamentally different relationship between intention and structure.</p><h3>V. Morin and the Primacy of Organization</h3><p>The broadest theoretical framework for situating these observations comes from Edgar Morin’s theory of complexity, developed across his six-volume <em>La Méthode</em> (1977–2004).</p><p>Morin’s central argument is that a complex system cannot be reduced to its constituent elements because the <em>organization</em> of those elements is itself a source of causal influence. Relations are not merely derivative of elements — they are co-constitutive with them. A society is not the sum of its members. A cell is not the sum of its molecules. An agent ecosystem is not the sum of its agents.</p><p>More specifically, Morin introduced the concept of recursive organizational processes: systems that continuously produce the conditions of their own reproduction. This is not mere feedback in the cybernetic sense. It is a deeper claim about the ontological status of organization — that organized systems are, in part, self-generating.</p><p>Applied to agentic AI, this suggests a recursive relationship between agents and organizational structures. Agents generate organizational patterns through their interactions; those patterns in turn constrain and shape agent behavior. The resulting dynamics cannot be adequately characterized at the level of individual agents — they require analysis at the level of the organization itself.</p><p>This is not a soft philosophical claim. It has methodological consequences. It implies that evaluation frameworks focused exclusively on individual agent performance are structurally incomplete. They are measuring the wrong unit.</p><h3>VI. Organizational Fitness as the Relevant Unit of Analysis</h3><p>Bringing these traditions together, a consistent recommendation emerges: shift the primary unit of analysis from the individual agent to the organization.</p><p>Biological evolution routinely operates at levels above the individual organism. Colonies, ecosystems, and societies exhibit adaptive dynamics that cannot be explained by individual selection alone. The concept of major evolutionary transitions — introduced by Maynard Smith and Szathmáry — describes how new levels of biological organization repeatedly become units of selection in their own right.</p><p>An analogous concept for agentic AI might be called <em>organizational fitness</em>: the capacity of a collective agent system to coordinate under task pressure, adapt to novel conditions, maintain coherent function across changing membership, and accumulate organizational learning over time.</p><p>Under this framework, the relevant evaluation questions shift substantially:</p><ul><li>Not “How well does this agent reason?” but “How effectively does this organization distribute reasoning across agents?”</li><li>Not “How large is this model’s context window?” but “How does this organization manage and retrieve collective memory?”</li><li>Not “What is this agent’s accuracy on benchmark X?” but “How does the organization’s performance scale with task complexity?”</li></ul><p>These are harder questions to operationalize. They require evaluation paradigms that do not yet exist in standardized form. But they may be the questions that matter most as agentic systems move from laboratory prototypes to real-world deployment at scale.</p><h3>Conclusion: From Designing Agents to Studying Organizations</h3><p>The framing of this article has been deliberately interdisciplinary. Agentic AI is not just a new way to build software. It may be a new kind of system altogether — one whose intelligence lives in the organization, not in any individual component.</p><p>That shift has consequences. If collective capability emerges from structure and interaction rather than from model size alone, then the most important questions in AI research are not about smarter agents. They are about how intelligent organizations form, hold together, adapt, and eventually fail.</p><p>Minsky gave us the hypothesis. Darwin gave us a mechanism. Turing showed that form can emerge without blueprints. Morin gave us the clearest vocabulary for treating organization itself — not just the agents within it — as a cause, not merely a description.</p><p>The empirical work of testing these ideas against real multi-agent systems is only beginning. But the theoretical tools are already there — richer, and older, than the current AI literature tends to acknowledge.</p><h3>Resources</h3><p><strong>Foundational texts</strong></p><ul><li>Marvin Minsky — <a href="https://www.amazon.com/Society-Mind-Marvin-Minsky/dp/0671657135"><em>The Society of Mind</em></a> (1986). The original argument for distributed cognition as the basis of intelligence.</li><li>Edgar Morin — <a href="https://www.amazon.com/m%C3%A9thode-nature-French/dp/2020238209"><em>La Méthode</em>, Vol. 1: <em>La Nature de la Nature</em></a> (1977). The foundational volume of Morin’s complexity theory, introducing the concept of organization as a causal level.</li><li>Alan Turing — <a href="https://royalsocietypublishing.org/doi/10.1098/rstb.1952.0012"><em>The Chemical Basis of Morphogenesis</em></a> (1952). The original mathematical treatment of how biological form can emerge from local chemical interaction rules.</li><li>John Maynard Smith &amp; Eörs Szathmáry — <a href="https://www.amazon.com/Major-Transitions-Evolution-John-Maynard/dp/019850294X"><em>The Major Transitions in Evolution</em></a> (1995). The framework for understanding how new levels of biological organization become units of selection.</li></ul><p><strong>Complexity and emergence</strong></p><ul><li>Stuart Kauffman — <a href="https://www.amazon.com/Origins-Order-Self-Organization-Selection-Evolution/dp/0195079515"><em>The Origins of Order</em></a> (1993). Self-organization and selection in biological evolution; directly relevant to the emergence of organizational structure.</li><li>Melanie Mitchell — <a href="https://www.amazon.com/Complexity-Guided-Tour-Melanie-Mitchell/dp/0199798109"><em>Complexity: A Guided Tour</em></a> (2009). An accessible but rigorous introduction to complexity science, covering emergence, evolution, and information.</li><li>John H. Holland — <a href="https://www.amazon.com/Emergence-Chaos-Helix-Books-Holland/dp/0738201421"><em>Emergence: From Chaos to Order</em></a> (1998). A formal treatment of emergence in complex adaptive systems.</li></ul><p><strong>Agentic AI</strong></p><ul><li><a href="https://arxiv.org/abs/2503.13754"><em>From Autonomous Agents to Integrated Systems: Orchestrated Distributed Intelligence</em></a>, arXiv (2025). Argues that agentic AI is shifting from isolated agent autonomy toward emergent behaviour in orchestrated multi-agent ensembles — close to the central claim of this article.</li><li><a href="https://arxiv.org/abs/2508.12683"><em>A Taxonomy of Hierarchical Multi-Agent Systems</em></a>, arXiv (2025). Maps coordination mechanisms and design patterns in hierarchical agent systems, with explicit parallels to biological organizational structures.</li><li>Lilian Weng — <a href="https://lilianweng.github.io/posts/2023-06-23-agent/"><em>LLM-powered Autonomous Agents</em></a> (2023). A widely cited technical overview of the planning, memory, and tool-use components of modern agentic systems.</li><li>Microsoft Research — <a href="https://arxiv.org/abs/2308.08155"><em>AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation</em></a> (2023). The foundational paper for the AutoGen framework, illustrating conversational multi-agent coordination in practice.</li><li>Abou Ali et al. — <a href="https://link.springer.com/article/10.1007/s10462-025-11422-4"><em>Agentic AI: A Comprehensive Survey of Architectures, Applications, and Future Directions</em></a>, <em>Artificial Intelligence Review</em> (2025). The most thorough recent survey of agentic AI architectures, covering planning, memory, tool use, and multi-agent coordination.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e58a224424c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rule Engines Never Died — They’re Running Alongside Your Large Reasoning Models]]></title>
            <link>https://medium.com/@pierrefeillet/rule-engines-never-died-theyre-running-alongside-your-lrm-6f39cad6e1d3?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f39cad6e1d3</guid>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Thu, 04 Jun 2026 19:44:00 GMT</pubDate>
            <atom:updated>2026-06-04T19:52:14.918Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What RETE, production rule engines, and today’s Large Reasoning Models have in common — and why their convergence matters</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DyGg2BrnZd4N4EOBnAz5og.png" /></figure><p>In 1982, Charles Forgy published an algorithm that would quietly power decades of enterprise AI.</p><p>RETE — Latin for “net” — was designed to solve a deceptively hard problem: how do you efficiently match hundreds of business rules against thousands of changing facts, without re-evaluating everything from scratch every time? Forgy’s answer was a compiled network of condition nodes that cached partial matches and updated incrementally. It was elegant, fast, and transparently auditable.</p><p>For the next forty years, RETE became the backbone of production rule systems including IBM ODM[1], and many others. Banks used it to approve loans. Insurers used it to assess risk. Governments used it to determine eligibility.</p><p>Then neural networks arrived, and the consensus shifted: symbolic AI was old thinking. Large Language Models were the future.</p><p>That consensus is now worth revisiting.</p><h3>The question that never changed</h3><p>Both rule engines and Large Reasoning Models are trying to answer the same question:</p><p><em>How can a system derive conclusions from available knowledge?</em></p><p>The approaches differ fundamentally. But the objective is identical. And understanding what each approach does well — and where it fails — is the key to building AI systems that actually work in production.</p><h3>How rule engines reason</h3><p>A rule engine separates knowledge from execution.</p><p>Business logic is declared as condition-action pairs:</p><pre>IF customer.age &lt; 18<br>AND application.product = &quot;Credit Card&quot;<br>THEN reject(application, reason: &quot;Minor&quot;)</pre><p>The author specifies <em>what</em> should happen. The engine determines <em>how</em> conclusions are derived. This separation lets domain experts encode policy without writing procedural code.</p><p>Facts are inserted into working memory — Customer(age=17), Application(product=&quot;Credit Card&quot;) — and the engine continuously evaluates which rules are satisfied. When multiple rules fire, a conflict resolution mechanism (the <em>agenda</em>) determines the order.</p><p>RETE makes this efficient. Rather than testing every rule against every fact on every cycle, it builds a compiled network of condition nodes and caches partial matches. When a fact changes, only the affected branches of the network are re-evaluated. For large rule sets with volatile working memory, the performance difference is orders of magnitude.</p><p>IBM ODM extends this foundation with full enterprise governance: rule projects, version control, business-facing rule editors, decision traceability, and deployment pipelines. IBM Decision Intelligence[2] goes further still, combining rule-based decision services with optimization and predictive models — allowing organisations to encode not just <em>what is true</em> but <em>what should be done</em>.</p><p>The defining characteristic of all of this is transparency. Every inference step is explicit and auditable. An auditor can trace exactly which rule fired, which facts triggered it, and why a decision was reached.</p><p>Rule engines don’t generate rationales. They produce <em>proofs</em>.</p><h3>How Large Reasoning Models reason</h3><p>An LRM doesn’t store knowledge as explicit rules.</p><p>It stores it as distributed numerical representations learned across billions of training examples. When presented with a problem, it doesn’t pattern-match against a predicate database — it navigates a high-dimensional space of learned concepts and relationships, generating the most contextually appropriate continuation.</p><p>A reasoning trace can look deceptively similar to rule chaining:</p><pre>Customer age = 17<br>→ Customer is a minor<br>→ Minors cannot obtain credit cards<br>→ Application rejected</pre><p>But this is not modus ponens. It is an <em>approximation</em> of modus ponens — (if P implies Q, and P is true, then Q must be true) — carried out through statistical pattern completion rather than logical evaluation.</p><p>This distinction explains both the power and the fragility of LRMs. They are extraordinarily flexible: they generalise across novel inputs, handle ambiguity, understand context, and can reason across domains without being explicitly programmed. But they can also hallucinate — generating a plausible-sounding conclusion that doesn’t follow from the facts, because plausibility and logical validity are different things.</p><p>Rule engines guarantee correctness relative to their rules. LRMs generate probabilistically plausible conclusions.</p><p>One produces proofs. The other produces rationales.</p><h3>Escaping pure probabilism</h3><p>Modern reasoning models are no longer limited to token prediction.</p><p>When a calculation is required, the model can generate Python and execute it. The result — deterministic, exact — is returned to the reasoning context and the model continues from there. The stochastic process delegates to a deterministic subsystem at the moments where precision matters.</p><p>This pattern — stochastic reasoning delegating to deterministic execution — turns out to be more general than it first appears.</p><h3>MCP and the hybrid inference loop</h3><p>The Model Context Protocol formalises this delegation pattern.</p><p>An MCP server exposes tools — database queries, search systems, business applications — as callable endpoints. During a reasoning trace, the model can decide that it needs external information or deterministic evaluation, invoke a tool, receive the result as a new fact, and continue reasoning.</p><p>The loop becomes:</p><ol><li>Reason with available context</li><li>Identify what’s uncertain or requires precision</li><li>Delegate to a tool</li><li>Receive facts</li><li>Continue reasoning</li></ol><p>This is structurally similar to how production rule systems invoke external actions and then continue with newly acquired working memory. The difference is that the orchestration is now performed by a neural model rather than a symbolic agenda.</p><p>IBM ODM and IBM Decision Intelligence expose their decision services via MCP [3][4][5]. This means a reasoning model can invoke a full rule engine — RETE or alternate evaluation algorithm — at the exact moment in its inference trace where a governed, auditable, deterministic decision is required. The LRM handles interpretation, planning, and contextual understanding. Rule engine handles the logic that must be correct, traceable, and compliant.</p><p>The stochastic and the symbolic operate in the same loop. Each contributes what it does best.</p><h3>Attention and RETE: similar purpose, different mechanism</h3><p>RETE and transformer attention are not equivalent. The comparison should be made carefully.</p><p>RETE performs symbolic pattern matching: conditions are Boolean, matches are exact, and the result is a discrete set of eligible rules.</p><p>Attention performs differentiable relevance computation: every token attends to every other token with a continuous weight, and the result is a weighted sum of representations.</p><p>Yet both serve a comparable architectural function — determining which information is most relevant to the next inference step. One operates on facts and predicates. The other operates on learned representations. The mechanisms are fundamentally different; the role they play in the overall inference architecture is recognisably similar.</p><h3>The convergence</h3><p>The most interesting trend in AI is not the rise of LRMs at the expense of symbolic systems.</p><p>It is their convergence.</p><p>Rule engines are incorporating generative AI to help business users author, explain, and maintain policies in natural language. Reasoning models are incorporating deterministic subsystems — code execution, retrieval, decision services — to anchor their outputs in verifiable reality.</p><p>The result is a new class of hybrid inference architecture: stochastic reasoning orchestrates deterministic reasoning. Latent knowledge interacts with explicit knowledge. Neural inference delegates to symbolic inference at the moments that matter.</p><p>IBM Decision Intelligence and IBM ODM, with their combinations of rule execution, and MCP integration, is a concrete example of what this looks like in enterprise practice. It is not a rule engine bolted onto an LLM, or an LLM replacing a rule engine. It is a system where both modes of reasoning operate within the same inference loop, each accountable for the decisions it is best equipped to make.</p><h3>Conclusion</h3><p>Forty years after Forgy published RETE, the core challenge remains unchanged.</p><p>How can a system derive conclusions from available knowledge?</p><p>Rule engines answer through explicit symbolic pattern matching and logical inference — producing decisions that are transparent, auditable, and guaranteed correct within the bounds of their rules.</p><p>Large Reasoning Models answer through latent representations and probabilistic continuation — producing conclusions that are flexible, contextual, and remarkably capable across open-ended problems.</p><p>Neither approach alone is sufficient for production AI.</p><p>The path forward belongs to architectures that combine the transparency of rules with the adaptability of large reasoning models — where symbolic precision and neural flexibility operate not in competition, but in concert.</p><p>The journey from RETE to MCP is not a story of replacement.</p><p>It is a story of convergence.</p><h3>References</h3><p>[1] IBM ODM — <a href="https://www.ibm.com/fr-fr/products/operational-decision-manager">https://www.ibm.com/fr-fr/products/operational-decision-manager</a></p><p>[2] IBM Decision Intelligence — <a href="https://www.ibm.com/products/decision-intelligence">https://www.ibm.com/products/decision-intelligence</a></p><p>[3] MCP server for execution in Decision Intelligence — <a href="https://github.com/DecisionsDev/ibm-decision-intelligence-mcp-server">https://github.com/DecisionsDev/ibm-decision-intelligence-mcp-server</a></p><p>[4] MCP server for execution in ODM Decision Server — <a href="https://github.com/DecisionsDev/ibm-odm-decision-mcp-server">https://github.com/DecisionsDev/ibm-odm-decision-mcp-server</a></p><p>[5] MCP server for ODM Decision Center — <a href="https://github.com/DecisionsDev/ibm-odm-management-mcp-server">https://github.com/DecisionsDev/ibm-odm-management-mcp-server</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f39cad6e1d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Inflection Point: Agentic Systems, MCP, and the Soft Orchestration Era]]></title>
            <link>https://medium.com/@pierrefeillet/the-inflection-point-agentic-systems-mcp-and-the-soft-orchestration-era-35927e961164?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/35927e961164</guid>
            <category><![CDATA[business-rules]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[decision-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 14:33:00 GMT</pubDate>
            <atom:updated>2026-02-09T14:33:00.492Z</atom:updated>
            <content:encoded><![CDATA[<h3>Abstract</h3><p>Agentic systems combining reasoning models (LRMs) and the Model Context Protocol (MCP) introduce a software stack in which orchestration can be inferred rather than explicitly encoded. This approach increases flexibility and integration speed while introducing trade-offs in performance, determinism, and predictability.</p><p>Building on recent progress in LRMs and their growing ability to drive ecosystems of MCP-exposed tools, this article argues that software architecture is approaching an inflection point: a shift from statically engineered integration flows toward adaptive, experimentally shaped systems that combine deterministic core services with probabilistic orchestration layers, enabling natural-language–centered user experiences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*mArjGCqRzRHkhmMxfa_F_Q.png" /><figcaption>Figure 1: Agentic stack</figcaption></figure><h3>1. Introduction</h3><p>Software integration practices are undergoing a gradual but significant evolution. Over the past year, the convergence of agentic systems, reasoning models, and MCP-style integrations has moved beyond incremental tooling improvements.</p><p>What is emerging instead is a shift in architectural patterns. Orchestration becomes less prescriptive, compatibility constraints are relaxed in practice, and system boundaries are increasingly shaped by runtime behavior rather than upfront design.</p><p>This evolution is not limited to productivity gains. It reflects a deeper transformation in how software systems are structured, integrated, and operated when reasoning-driven components become first-class elements of the stack.</p><p>These observations are grounded in practical feedback from the development of <strong>IBM Decision Intelligence</strong>[1]<strong> </strong>, where agentic systems have been integrated through MCP, and where multiple MCP servers[2, 3, 4] are already being shared as open-source components. This context provides empirical insight into how such architectures behave beyond isolated prototypes.</p><h3>2. MCP as a Structural Exposure Layer</h3><p>REST APIs standardized how software exposes capabilities to developers. MCP extends this paradigm by standardizing how capabilities are exposed to <strong>reasoning models</strong>.</p><p>MCP is not simply another API format. It introduces a structured way to expose tools through explicit descriptions, invocation semantics, and machine-readable affordances. In practice, any REST API endpoint can be promoted as an MCP tool, allowing existing services to be reused without modification.</p><p>Each tool is accompanied by a natural-language description and a formal signature. This combination makes tool capabilities legible to reasoning models and enables intent-driven selection rather than hard-coded integration logic.</p><p>From an architectural perspective, MCP acts as a <strong>structural exposure layer</strong>: it defines the semantic and operational surface over which reasoning models can operate.</p><p>Importantly, this applies also to <strong>deterministic reasoning components</strong> — such as rule engines, optimization solvers, or decision logic. When exposed through MCP, these components can participate in the same agentic architecture, alongside probabilistic reasoning models, while preserving their deterministic guarantees.</p><h3>3. LRMs as a Probabilistic Reasoning Layer</h3><p>Reasoning models (LRMs) operate as a probabilistic reasoning layer with natural language as their primary interface.</p><p>They are responsible for:</p><ul><li>interpreting user intent,</li><li>reasoning over conversational and structured context,</li><li>selecting appropriate tools based on descriptions and signatures,</li><li>determining the next action given intermediate results.</li></ul><p>Recent progress in LRMs has significantly improved their ability to perform reliable tool selection. Slot filling from conversational context and the ability to request missing information from users have become more robust, reducing the need for rigid input validation logic.</p><p>Importantly, LRMs do not own goals, policies, or execution lifecycle. They reason when invoked and return probabilistic guidance rather than deterministic control flows.</p><h3>4. Agentic Systems and Soft Orchestration</h3><p>The agentic layer is a control and coordination layer built on top of LRMs. It transforms isolated reasoning steps into sustained, goal-directed behavior by maintaining state, managing multi-step plans and retries, enforcing policies and guardrails, and deciding when to terminate or ask for clarification.</p><p>Together, these layers form a stack: <strong>Core services → MCP → LRM → Agentic systems.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDCOwPvyxBRWmq-fT872BA.png" /><figcaption>Figure 2: Agentic stack with details</figcaption></figure><p>Within this stack, orchestration emerges from the interaction between structured tool exposure (via MCP), probabilistic reasoning (via LRMs), and stateful coordination (via the agentic layer). Unlike classical workflow engines, orchestration is not fully specified upfront. It is inferred at runtime.</p><p>As a result, orchestration becomes <em>soft</em>: less explicit, less static, and more adaptive.</p><h3>5. Architectural Implications</h3><p>Traditional software architecture relies on explicit contracts, versioned compatibility, and tightly defined service boundaries. In an MCP + LRM + agentic context, these constraints loosen in practice.</p><p>Reasoning-driven orchestration allows teams to introduce new tools with limited changes to orchestration logic, tolerate surface-level API evolution, and defer some integration decisions to runtime. Historically, changes to REST endpoints required strict coordination between producers and consumers. With LRMs capable of adapting dynamically to interface evolution, this synchronization pressure is reduced.</p><p>Architectural discipline does not disappear. It shifts from design-time guarantees toward runtime behavior, observability, and control.</p><h3>6. Experimentation, Testing, and Limits</h3><p>As orchestration becomes probabilistic and language-driven, architecture increasingly evolves through experimentation. Functional boundaries are not always fully defined upfront but are discovered empirically based on tool chaining efficiency, interpretation of intermediate representations, and acceptable reasoning cost.</p><p>Testing in this context becomes more complex. Orchestration is no longer a deterministic execution graph. Instead of validating exact paths, testing focuses on bounding behavior: verifying intent interpretation, expected actions, and adherence to acceptable operational perimeters.</p><p>These benefits come with clear limits. Reasoning-driven orchestration is slower than hard-coded integrations and remains probabilistic. Even with strong prompts and guardrails, optimal or successful execution is not guaranteed. As a result, agentic systems complement rather than replace deterministic architectures, particularly for low-latency and high-throughput workloads.</p><h3>7. Conclusion</h3><p>Reasoning models operating over natural language and structured data are increasingly functioning as an adaptive integration layer. This does not signal the end of classical software architecture, but it marks an inflection point in how systems are designed and integrated.</p><p>Future architectures are likely to combine deterministic core services with probabilistic, agentic orchestration layers, balancing flexibility with control. The central challenge is no longer whether this stack will matter, but how engineering practices, tooling, and governance will evolve to manage its trade-offs as adaptive systems become a sustained component of software architecture.</p><h3>References</h3><p>[1] IBM Decision Intelligence: <a href="https://www.ibm.com/products/decision-intelligence">https://www.ibm.com/products/decision-intelligence</a><br>[2]MCP server for execution in Decision Intelligence: <a href="https://github.com/DecisionsDev/ibm-decision-intelligence-mcp-server">https://github.com/DecisionsDev/ibm-decision-intelligence-mcp-server</a><br>[3]MCP server for execution in ODM Decision Server: <a href="https://github.com/DecisionsDev/ibm-odm-decision-mcp-server">https://github.com/DecisionsDev/ibm-odm-decision-mcp-server</a><br>[4]MCP server for ODM Decision Center: <a href="https://github.com/DecisionsDev/ibm-odm-management-mcp-server">https://github.com/DecisionsDev/ibm-odm-management-mcp-server</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35927e961164" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Transformers and LLMs Alone Aren’t Enough for Automatic Symbolic Reasoning — and How to Bridge…]]></title>
            <link>https://medium.com/@pierrefeillet/why-transformers-and-llms-alone-arent-enough-for-automatic-symbolic-reasoning-and-how-to-bridge-8aee936eb237?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/8aee936eb237</guid>
            <category><![CDATA[business-automation]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[rules]]></category>
            <category><![CDATA[reasoning]]></category>
            <category><![CDATA[ai-artificial-inteligence]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Mon, 24 Mar 2025 20:56:24 GMT</pubDate>
            <atom:updated>2025-04-04T13:47:59.120Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Transformer-Based LLMs Fall Short on Symbolic Reasoning — and How to Bridge the Gap</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XiSxIo0Y3We75FGOldNNHA.png" /></figure><p>Large Language Models (LLMs), primarily powered by Transformer architectures, have revolutionized natural language processing by demonstrating remarkable capabilities in understanding context, generating coherent text, and engaging in complex dialogues.</p><p>Transformers, as the underlying neural architecture [1], enable this by efficiently capturing semantic relationships through self-attention mechanisms. Yet, despite these achievements, Transformers exhibit notable limitations when it comes to automatic symbolic reasoning — a critical capability required for rigorous logical inference, mathematical proofs, rule-based decision-making, and explainable AI.</p><h3>Limitations of Transformers in Symbolic Reasoning</h3><h4>1. Approximate, Probabilistic Reasoning</h4><p>At their core, Transformers are statistical pattern learners. They embed words, concepts, and rules into high-dimensional continuous vector spaces, making predictions based on learned distributions rather than explicit symbolic manipulation. While this approach is powerful for semantic understanding, it leads to inherent imprecision in tasks demanding rigorous logical reasoning.</p><p><strong>Consequence:</strong> Transformers sometimes produce plausible yet logically incorrect answers because they rely on statistical generalization rather than deterministic logic.</p><h4>2. Lack of Explicit Symbolic Structure</h4><p>Symbolic reasoning fundamentally involves discrete, explicit manipulation of symbols, rules, constraints, and logical structures (e.g., “If A then B, If B then C, therefore if A then C”). Transformers, however, do not natively represent or manipulate explicit symbolic logic or formal rules, but instead approximate them through learned representations.</p><p><strong>Consequence:</strong> Tasks requiring precise and verifiable logical steps often reveal inconsistencies or inaccuracies in Transformer-generated outputs.</p><h4>3. The Illusion of Compositional Reasoning</h4><p>Symbolic systems perform reasoning by design — explicitly applying rules to combine concepts and derive conclusions. This allows them to generalize systematically to novel, rule-governed situations. Transformers, on the other hand, do not engage in formal reasoning. They generate responses by recognizing and reproducing statistical patterns in language, often giving the <em>appearance</em> of reasoning without following underlying logical structures.</p><p><strong>Consequence:</strong> Because they lack built-in mechanisms for symbolic manipulation, Transformers struggle with tasks that require true compositional reasoning — especially when those tasks involve novel combinations, nested abstractions, or logical structures not encountered during training.</p><h4>4. Lack of Transparency and Explainability</h4><p>Symbolic reasoning demands clear, transparent inference steps. Although attention mechanisms in Transformers provide partial interpretability, their internal reasoning processes remain largely opaque.</p><p><strong>Consequence:</strong> For applications where explainability and rigorous validation of logic are essential (e.g., legal decision-making, mathematical proofs), Transformers alone are insufficient.</p><h4>5. <strong>Absence of Native Control Flow and Structured Reasoning</strong></h4><p>Transformers are fundamentally feed-forward architectures. They lack built-in mechanisms for handling structured control flow — such as loops, conditionals, and recursion — that are essential to many forms of algorithmic and symbolic reasoning. While prompting strategies can simulate step-by-step thinking, the model has no internal representation of branching logic or stateful execution.</p><p><strong>Consequence:</strong> Without native support for control flow constructs, Transformers struggle with tasks that require iterative refinement, conditional logic, or programmatic reasoning — core capabilities in symbolic systems and formal inference engines.</p><h3>Overcoming These Limitations: Neuro-Symbolic Integration</h3><p>A promising path forward lies in combining Transformers with explicit symbolic reasoning systems — an approach known as <em>neuro-symbolic integration</em>. This paradigm blends the complementary strengths of both worlds:</p><ul><li><strong>Transformers</strong>: Excel at semantic generalization and contextual understanding of human language, but lack explicit mechanisms for logical reasoning or rule-based inference.</li><li><strong>Symbolic Reasoners: </strong>Enable precise, transparent, and verifiable reasoning by operating over explicitly defined logical structures (e.g., rule engines like provided in IBM ODM [2] or IBM ADS [3], logic programming tools such as Prolog [4], theorem provers, constraint solvers like CPLEX [5]).</li><li><strong>LLM Tool Integration</strong>: Modern LLMs extend Transformer capabilities by calling external tools via APIs or function-calling frameworks. This enables them to delegate symbolic tasks (e.g., arithmetic, constraint solving, logical verification) to specialized modules.</li><li><strong>Chain-of-Thought (CoT) Prompting</strong>: Guides LLMs to decompose complex tasks into interpretable reasoning steps, improving performance on tasks that benefit from intermediate structure — without introducing formal reasoning guarantees.</li><li><strong>ReAct (Reasoning and Acting)</strong>: Combines step-by-step reasoning with tool usage by prompting LLMs to both think through a problem and invoke external tools, helping bridge the gap between intuition and structured action.</li><li><strong>Agent Architectures</strong>: Emerging agent-based systems orchestrate the collaboration between LLMs and symbolic components. These agents can plan, decompose, and route tasks between statistical and symbolic modules — enabling hybrid workflows that combine the flexibility of language models with the rigor of symbolic inference.</li></ul><h3>Practical Neuro-Symbolic Integration Example</h3><p>Consider an eligibility reasoning task:</p><blockquote><em>Policy expressed as: “If an applicant is over 18 and has a valid driver’s license, then applicant is eligible for car insurance. “</em></blockquote><blockquote><em>Based on this policy, decide about this application: John is 20 and has a valid driver’s license. Is John eligible for car rental?”</em></blockquote><p>A practical neuro-symbolic integration involves the following steps:</p><p>1. <strong>Natural Language to Symbolic Form (Transformer’s role)</strong>: Convert the input prompt into symbolic logic rules: if age(X) &gt; 18 and has_license(X) then eligible(X).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ppnklnSJRVDFGzDT2_vE9A.png" /><figcaption>Figure 1: Symbolic rule, here in IBM Automation Decision Services</figcaption></figure><p><strong>2. Explicit Symbolic Reasoning</strong>: A symbolic reasoner computes the answer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m2h2B24AEeCQ7Q0fTkYS4A.png" /><figcaption>Figure 2: Rule execution in IBM Automation Decision Services</figcaption></figure><p><strong>3. Symbolic Result to Natural Language (Transformer’s role)</strong>: Translate the symbolic solution back into understandable natural language:</p><pre>&quot;John Doe is eligible for car insurance.&quot;</pre><h3>Future Directions</h3><p>Advancing automatic symbolic reasoning with Transformers and LLMs involves deeper integration of symbolic and neural architectures. Promising strategies include:</p><ul><li><strong>Symbolic Reasoners in Mixture-of-Experts Architectures</strong>: Investigating the feasibility of integrating symbolic reasoning modules into Mixture-of-Experts (MoE) models, where symbolic reasoners could potentially serve as specialized “expert” modules to enhance precision and explainability.</li><li><strong>Generation of Symbolic Reasoners and Rules</strong>: Leveraging Transformers and LLMs to automatically generate symbolic reasoning rules and symbolic reasoning programs, significantly enhancing scalability and adaptability in complex domains.</li></ul><h3>Conclusion</h3><p>Transformers have driven the breakthrough of Large Language Models and reshaped the field of AI. However, their fundamentally statistical nature limits their standalone effectiveness for rigorous symbolic reasoning.</p><p>By adopting neuro-symbolic integration — combining the contextual fluency and generalization strengths of Transformers and LLMs with the precise, structured inference of symbolic reasoning systems such as rule engines — we can build robust AI solutions capable of handling complex logical tasks more effectively, transparently, and reliably.</p><h3>References</h3><p>[1] <a href="https://poloclub.github.io/transformer-explainer/">https://poloclub.github.io/transformer-explainer/</a><br>[2] <a href="https://www.ibm.com/products/operational-decision-manager">https://www.ibm.com/products/operational-decision-manager</a><br>[3] <a href="https://www.ibm.com/products/automation-decision-services">https://www.ibm.com/products/automation-decision-services</a><br>[4] <a href="https://en.wikipedia.org/wiki/Prolog">https://en.wikipedia.org/wiki/Prolog</a><br>[5] <a href="https://www.ibm.com/products/automation-decision-services">https://www.ibm.com/products/ilog-cplex-optimization-studio</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8aee936eb237" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tensegrity and AI: A Perspective for Hybrid Decision Automation]]></title>
            <link>https://medium.com/@pierrefeillet/tensegrity-and-ai-a-perspective-for-hybrid-decision-automation-4719ca7cc2b9?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/4719ca7cc2b9</guid>
            <category><![CDATA[rules]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[decision-automation]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Mon, 09 Sep 2024 14:37:18 GMT</pubDate>
            <atom:updated>2024-09-09T14:37:18.808Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VBmcDmBKBb8P46H0JvPiw.jpeg" /></figure><p>Tensegrity, short for “tensional integrity,” is a structural principle where a system is stabilized by a balance of tension and compression. This concept, coined by architect and inventor Buckminster Fuller, can be seen in modern architecture, art installations, and even biological systems like the human skeleton.</p><p>In a tensegrity structure:</p><ul><li><strong>Tension elements</strong> (e.g., cables or tendons) pull inward and remain continuously connected.</li><li><strong>Compression elements</strong> (e.g., struts or bones) push outward but stay disconnected.</li></ul><p>The balance between these forces creates self-supporting, flexible structures that are both strong and lightweight. This principle provides a novel metaphor for how different components of AI — probabilistic models, symbolic logic, and tensors — interact to create adaptable and powerful systems.</p><p>But how does tensegrity apply to AI, and specifically to decision-making systems?</p><h3>Projecting Tensegrity Onto AI</h3><p>In AI, particularly in <strong>neurosymbolic systems</strong>, we aim to combine <strong>symbolic reasoning</strong> (structured, logic-based components) with <strong>probabilistic reasoning</strong> (flexible, adaptive elements). This hybrid approach blends the strengths of both methods, allowing the AI to not only adhere to strict rules but also to adapt to uncertain, changing environments.</p><p>We can map tensegrity’s balance of tension and compression directly onto this neurosymbolic AI architecture:</p><h3>1. Tension as Probabilistic Models</h3><p>In tensegrity, tension is the force that continuously pulls inward, stabilizing the structure. In AI, this tension is analogous to the <strong>uncertainty</strong> managed by probabilistic models. Systems like <strong>Bayesian networks</strong> or <strong>neural networks</strong> continuously adjust probabilities and weights to maintain balance, much like how tension lines hold a structure together.</p><ul><li><strong>Example</strong>: In a recommendation system, neural networks constantly adjust based on user interactions, maintaining a dynamic balance that optimizes suggestions over time.</li></ul><p>In AI, <strong>tensors</strong> represent complex, multi-dimensional data relationships, and their gradients and weights adjust during learning, mirroring the continuous tension seen in tensegrity structures.</p><h3>2. Compression as Symbolic Logic</h3><p>Compression, which provides outward stability in tensegrity structures, is analogous to <strong>symbolic logic</strong> in AI. These are the rigid, rule-based systems that enforce strict relationships and constraints.</p><ul><li><strong>Example</strong>: In a legal AI system, symbolic logic ensures that all actions comply with defined legal regulations, offering a stable, interpretable framework for decision-making.</li></ul><p>The role of these “compression” elements is to provide structure, ensuring that the AI doesn’t collapse into chaos but remains understandable and consistent.</p><h3>3. Balancing Tension and Compression for Robust AI</h3><p>Just as tensegrity structures maintain a balance between tension and compression to remain flexible yet strong, AI systems achieve robustness by balancing <strong>probabilistic models</strong> (tension) with <strong>symbolic reasoning</strong> (compression). This dynamic equilibrium allows AI to adapt to uncertainties while still making reasoned decisions.</p><ul><li><strong>Neurosymbolic AI</strong> is an example of this hybrid approach. By combining deep learning (probabilistic flexibility) with symbolic reasoning (structured logic), it can tackle complex, real-world problems.</li></ul><h3>4. Tensors as the Connectors in AI Systems</h3><p>Tensors, central to neural networks, act like tension lines in tensegrity structures. They bind data points together, representing the complex relationships between multi-dimensional data. In this way, tensors serve as flexible connectors that stabilize learning systems, allowing for dynamic adaptation without collapsing under complexity.</p><h3>Building Tensegrity-Inspired AI</h3><p>Designing an AI system inspired by tensegrity principles means creating layers of <strong>symbolic logic</strong> (the compression elements) that are supported by flexible, probabilistic components like <strong>neural networks</strong> (the tension elements). The result is a system that combines the structure and interpretability of symbolic reasoning with the adaptability of machine learning.</p><h3>Practical Applications of Tensegrity AI</h3><p>Neurosymbolic architectures, even if not consciously labeled as “tensegrity AI,” are already making an impact across various industries where balancing rules and adaptability is critical.</p><ul><li><strong>Financial Services</strong>: AI systems manage regulatory compliance (rules-based logic) while adapting to market trends and customer behavior (probabilistic learning).</li><li><strong>Supply Chain Management</strong>: Hybrid AI can enforce contract terms while adjusting to disruptions like demand spikes or logistics delays in real time.</li><li><strong>Healthcare</strong>: Personalized treatment plans can balance rigid medical guidelines (symbolic logic) with probabilistic models for tailoring care to individual patients.</li></ul><p>In each of these cases, the balance between stable rules and flexible learning is essential for delivering robust, adaptive decisions. Mixes of rule logic with predictive models are allowed notably by the IBM products [3][4][5].</p><h3>Why This Matters: The Benefits of Hybrid AI</h3><p>The tensegrity-inspired approach to AI offers significant benefits:</p><ul><li><strong>Transparency</strong>: Symbolic logic provides interpretability, allowing users to understand how decisions are made.</li><li><strong>Flexibility</strong>: Probabilistic models enable AI to adapt in real-time to changing data or environments.</li><li><strong>Efficiency</strong>: This hybrid model creates robust systems that handle complexity without collapsing under uncertainty.</li></ul><h3>Call to Action: Democratizing Tensegrity AI</h3><p>To democratize this approach, it’s essential to make <strong>neurosymbolic AI</strong> accessible to a wider audience. This can be achieved by:</p><ul><li>Encouraging <strong>open-source development</strong> of neurosymbolic tools.</li><li>Providing <strong>educational resources</strong> for businesses and researchers to experiment with tensegrity-inspired AI systems.</li><li>Collaborating across disciplines — AI, architecture, biology — to continue innovating and applying these ideas in new ways.</li></ul><h3>Conclusion</h3><p>Tensegrity provides a powerful metaphor for building AI systems that are both strong and flexible. By combining <strong>structured symbolic logic</strong> with <strong>probabilistic reasoning</strong>, we can design hybrid architectures that adapt to uncertainty while delivering interpretable, stable outcomes. Whether applied to finance, healthcare, or beyond, <strong>tensegrity AI</strong> holds the promise of making decision automation smarter, more transparent, and more adaptable to the complexities of the real world.</p><p><strong>References</strong></p><p>[1] <a href="http://www.tensegrityinbiology.co.uk/biology/">http://www.tensegrityinbiology.co.uk/biology/</a><br>[2] <a href="https://www.math.cmu.edu/~wow/papers/newprimer.pdf">https://www.math.cmu.edu/~wow/papers/newprimer.pdf</a><br>[3] <a href="https://www.ibm.com/products/operational-decision-manager">https://www.ibm.com/products/operational-decision-manager</a><br>[4] <a href="https://www.ibm.com/products/automation-decision-services">https://www.ibm.com/products/automation-decision-services</a><br>[5] <a href="https://www.ibm.com/products/watson-orchestrate">https://www.ibm.com/products/watson-orchestrate</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4719ca7cc2b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Approaches in Using Generative AI for Business Automation: The Path to Comprehensive Decision…]]></title>
            <link>https://medium.com/@pierrefeillet/approaches-in-using-generative-ai-for-business-automation-the-path-to-comprehensive-decision-3dd91c57e38f?source=rss-c7daafcb4b40------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dd91c57e38f</guid>
            <category><![CDATA[decision-making]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[rules]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[business-automation]]></category>
            <dc:creator><![CDATA[Pierre Feillet]]></dc:creator>
            <pubDate>Fri, 04 Aug 2023 15:10:49 GMT</pubDate>
            <atom:updated>2023-08-17T13:03:00.506Z</atom:updated>
            <content:encoded><![CDATA[<h3>Approaches in Using Generative AI for Business Automation: The Path to Comprehensive Decision Automation</h3><p>Co-authors: <a href="https://achan2013.medium.com/">Allen Chan</a>, <a href="https://medium.com/@luigi.pichett">Luigi Pichett</a>, <a href="https://medium.com/@yazan.obeidi.ibm">Yazan Obeidi</a></p><p>Generative AI has been rapidly evolving, enabling more sophisticated interactions with Large Language Models (LLMs) to pass Turing tests. In a series of articles, we will be looking at how we can combine existing IBM Business Automation technologies, whether it is Workflow, Content or Decisions, together with LLMs to address various business scenarios.</p><p>After a <a href="https://achan2013.medium.com/approaches-in-using-generative-ai-for-enterprise-content-management-9dbb7a3affe1">first article about GenAI and content management with FileNet</a>, we delve into the world of automating decisions using LLMs. For decades, enterprises have relied on software solutions to determine claim eligibility, approve loans, and set service prices.</p><p>Among these solutions, Business Rule Management Systems have been widely embraced by industries, including financial services and insurances since the 1980s. These systems enable the development, testing, simulation, deployment, and maintenance of business policies through logical rules. Domain experts define a business ontology with logical predicates that apply to their decision concepts, resulting in structured outcomes. These rules, often presented in the form of IF-THEN statements or decision tables, are evaluated by a causal inference engine capable of instantiating and chaining them within a data context, thus automating a reasoning path. This technology has matured over the years, enabling the capture of complex decision models with thousands of rules and decision tables. IBM Operational Decision Manager (ODM) [1] has proven to be scalable, handling over a billion decisions daily while spending only a few milliseconds to evaluate a complex set of rules for each decision.</p><p>Given the recent progress in Generative AI, a question arises: Can LLMs alone suffice to automate business decisions and efficiently process claims, determine eligibility for social services, or validate banking transactions?</p><h3>Considerations</h3><p><strong>What is an LLM?</strong></p><p>In a nutshell, a Large Language Model compresses information read from a training text corpus to generate new text from a given prompt. Based on a neural network architecture, its behavior is entirely statistical. It takes a sequence of tokens (groups of characters) expressed in the prompt and produces a sequence of tokens that are highly probable based on its training data. It is not a reasoning algorithm, does not rely on logical mechanics, and can be seen as a stochastic parrot [2].</p><p><strong>What are the key requirements for enterprise decision making</strong></p><p>Enterprise decision automation involves the use of technology and software to automate decision-making processes within an organization. The key criteria for successful enterprise decision automation are as follows:</p><ol><li><strong>Accuracy and Reliability:</strong> The system should be accurate in processing data and making decisions to ensure the trust of users and stakeholders.</li><li><strong>Scalability:</strong> The solution should be able to handle large volumes of data and decision-making requests without significant performance degradation.</li><li><strong>Flexibility and Adaptability:</strong> Business environments are dynamic, and decision-making requirements may change. The system should be flexible enough to adapt to new business rules, policies, and regulations without requiring major devops cost.</li><li><strong>Real-time Decision Making:</strong> In certain scenarios, real-time or near-real-time decision-making capabilities are crucial. The system should process data and provide decisions within acceptable time frames.</li><li><strong>Transparency and Auditability:</strong> Enterprise decisions often impact critical processes, and stakeholders need to understand how decisions are made. The system should provide clear explanations for decisions, and it should be auditable for compliance and regulatory purposes.</li><li><strong>Security and Data Privacy:</strong> Since decision automation deals with sensitive data, security and data privacy are paramount. The system should employ robust security measures to protect data from unauthorized access or manipulation.</li><li><strong>Monitoring and Reporting:</strong> The system should have comprehensive monitoring and reporting capabilities to track the performance of decision-making processes and identify areas for improvement.</li><li><strong>Cost-effectiveness:</strong> Consideration of the system’s cost in relation to its benefits is vital. The solution should offer a good return on investment and align with the organization’s budgetary constraints.</li></ol><p>Overall, a successful enterprise decision automation solution should align with the organization’s objectives, streamline decision-making processes, and contribute to improved efficiency and productivity.</p><p><strong>Do LLMs alone achieve all these requirements?</strong></p><p>While some of LLMs show impressive results and some reasoning capabilities they fail as easily when repeating the experience, or changing it a little. You can experiment this double face bevahiour with the pizza ordering bot shown in the DeepLearning.ai OpenAI tutorial [3]. Depending on the runs, the bot provides the expected outcome or a surprising one, even with only a minor change in the input.</p><p>Another challenge with LLMs is their maximum token limit, which restricts the amount of context they can handle. When the required context exceeds this limit, it becomes problematic to achieve accurate results. One approach to address this is fine-tuning the LLM on a private corpus to inject more specific context. Additionally, reinforcement learning with human feedback has been applied to some LLMs to mitigate their statistical drawbacks, but perfection in automation remains elusive.</p><p><strong>While LLMs offer practical NLP power, can we use them in combination with rule-based decision engines?</strong></p><p>Rule-based decision engines offer a different approach to decision automation. They require explicit modeling to formalize a business ontology and precisely specify the logic of the business policy. This ensures consistent decision-making and transparency, making them a preferred choice in certain use cases.</p><p>In short, rules and LLMs have their sweet spots. The challenge is: how can we combine these technologies to capitalize on their strengths, just as we have invented composite materials to go beyond the properties of iron and carbon?</p><h3>A quick view on LLM and Rules approaches</h3><p>In this article, we have listed the following approaches to combine strengths of these technologies to automate enterprise graded decisions.</p><p>The LLMs are hosted in watsonx.ai[4] or alternate cloud AI services, and when available, they can also run locally in the IT environment.</p><h4>1. Natural Language Understanding followed by Rule reasoning</h4><p><strong>Description</strong>: In this approach, we first utilize a Language Model-based Machine Learning (LLM) to comprehend plain text and extract structured data from natural language. Subsequently, we employ a causal rule engine to reason deterministically about this structured data, often combined with additional information from a system of records.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*_FFUtC5k5fBRw4s0staVmA.png" /><figcaption>Figure 1. Natural Language Understanding followed by Rule reasoning</figcaption></figure><p><strong>Pro:</strong> The integration of LLM for Natural Language Understanding (NLU) to extract structured entities and a rule-based engine is straightforward. Implementing the LLM-Rule pipeline involves sequentially calling the APIs of both engines and passing a parameter context between them.</p><p><strong>Con:</strong> This approach is limited to identified text extraction capabilities. In cases where the extraction process does not find the expected data from the input text, it’s crucial to set appropriate guardrails to handle such scenarios during the reasoning phase.</p><h4>2. Rule reasoning followed by Natural Language Generation with LLM</h4><p><strong>Description</strong>: In this approach, a rule-based decision engine first makes a decision based on structured data. Subsequently, a Language Model-based Machine Learning (LLM) generates a natural language outcome from the decision.</p><p>This pattern involves utilizing the rule inference engine for reasoning and employing the LLM to generate coherent natural language content. It is particularly useful for providing explanations and justifications, summarizing corporate decisions. The generated content can be tailored based on the depth of information desired and the recipient’s profile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*uovifHW5jLds5y0q1MuzhQ.png" /><figcaption>Figure 2. Rule reasoning followed by Natural Language Generation with LLM</figcaption></figure><p><strong>Pro</strong>: This approach offers the advantage of leveraging the powerful Natural Language Generation (NLG) capabilities provided by the LLM to create well-phrased emails or letters for communicating automated decisions. It integrates smoothly with reasonable prompt engineering and decision input parameter passing.</p><p><strong>Con</strong>: While rules concentrate on reasoning with structured data, the LLM focuses on Natural Language Processing (NLP) tasks. This separation might require careful consideration to ensure coherence and accuracy in the generated content. Automated testing of the Natural Language Generation (NLG) result needs care to cope with the range of structured data values and the variability of the generated text.</p><h4>3. Rule reasoning driving Natural Language Processing with LLM</h4><p><strong>Description</strong>: In this approach, the rule inference engine acts as the master engine, invoking Language Model-based Machine Learning (LLM) on demand. The causal rule engine drives the rule evaluation and dynamically calls out the LLM for two delegated tasks:</p><ul><li>Processing text received in its decision context for understanding (NLU) and extracting structured data.</li><li>Generating text (NLG) to produce, for example, a summary of the automated decision in plain text.</li></ul><p>This integration goes in the continuity of the calling out from any Machine Learning model from IBM ODM[1] or IBM ADS [5], to consider probabilities of risk or opportunity during the decision making. Similarly, LLMs can be called from a rule, either remotely or locally, depending on its form factor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*SloJKypS6DZ81IrhlXUwbg.png" /><figcaption>Figure 3. Rule reasoning driving Natural Language Processing with LLM</figcaption></figure><p><strong>Pro:</strong> A rule lead multi-usage pattern. LLMs are called on demand depending on the reasoning path for NLP tasks</p><p><strong>Con</strong>: Reasoning and LLM engines are tightly coupled, necessitating a more intimate integration. The structured data used in decision-making must align with the expected NLP tasks. Proper guardrails are needed to mediate the structured-unstructured data frontier to ensure the reliable quality of the alloy.</p><h4>4. Extract business rules from plain text with an LLM, and run these rules in a logical engine</h4><p><strong>Description</strong>: This approach utilizes a Language Model-based Machine Learning (LLM) to extract automation assets, including business rules, data models, and signatures, from plain text business policies. These extracted assets are then used to generate an automation project in IBM ADS or ODM. The success of this approach has already been prototyped with ADS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*Z2eOFr0MpMS8DhjjiKhPMQ.png" /><figcaption>Figure 4. Extract business rules from plain text with an LLM, and run these rules in a logical engine</figcaption></figure><p><strong>Pro</strong>: Leveraging the LLM as a knowledge extraction tool enables the extraction of rules and an underlying data ontology. The extracted rules, once reviewed by a human, can automate decisions with traceability and determinism. A promising path to ease knowledge extraction and reach automation with a decreased TCO.</p><p><strong>Con</strong>: This approach requires an efficient prompt chain or a fine-tuned model to achieve efficient and reliable extractions of the logic, regardless of the business domain and phrasing of the business policy. It also necessitates skills and tooling to efficiently extract automation knowledge. Additionally, companion tools need to be developed to validate and maintain automation assets in sync when source documents change or based on operational feedback, while ensuring a smooth end-to-end user experience.</p><h4>5. Rules to bring reliable reasoning in a chatbot</h4><p><strong>Description</strong>: In this approach, a Large Language Model (LLM) is used to drive the conversational experience, handling Natural Language Processing (NLP) tasks. The LLM delegates to a rule-based decision engine to apply business decisions.</p><p>This pattern requires the chatbot to recognize, during the conversation, when to trigger a decision service. The chatbot guides the dialog to provide context and invokes the rule-based decision engine when all input parameters are set. The decision engine returns output parameters, which are then restituted in the conversation through Natural Language Generation (NLG).</p><p>IBM is actively working on incorporating this pattern to bring decision-making capabilities into Watson Orchestrate[6]. Additionally, clients can already develop tools in open-source frameworks like LangChain to invoke rule-based decisions from a bot as shown in this <a href="https://community.ibm.com/community/user/automation/blogs/laurent-grateau1/2023/06/09/integrating-odm-with-large-language-model">ODM with LangChain post</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*ZRELhsc0P0DjMc6KRCfNLw.png" /><figcaption>Figure 5. Rules to bring reliable reasoning in a chatbot</figcaption></figure><p><strong>Pro</strong>: This approach allows the chatbot to benefit from conversational user experience while delegating corporate reasoning to dedicated and deterministic engines.</p><p><strong>Con</strong>: Implementing this approach requires seamless integration to detect when a decision needs to be triggered and delegated, manage the context, and handle error cases at the frontier between unstructured and structured data realms. Challenges may include dealing with different data formats and incomplete context information.</p><h3>Summary</h3><p>In this article, we explore the transformative power of Language Models (LLMs) in natural language processing and their potential for corporate decision automation. While LLMs offer impressive capabilities, they lack reliable and repeatable reasoning skills to meet strict decision-making requirements. To bridge this gap, the blog introduces five innovative approaches that combine LLMs with rule-based reasoning engines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*ccsUUKEpj_QWoVJRR4WU9w.png" /><figcaption>Figure 6: LLM and causal rules</figcaption></figure><p>These patterns include invoking LLMs before or during rule execution, for processing plain text in complement of structured data, rules driving text processing, LLM-powered extraction of business rules from policies, and using rule-based decision services in conversational bots.</p><p>By blending neuronal and symbolic AI, these composite AI patterns aim to inspire new usages and help enterprises achieve the best of both worlds in business automation.</p><h3>References</h3><p>[1] <a href="https://www.ibm.com/products/operational-decision-manager">https://www.ibm.com/products/operational-decision-manager</a></p><p>[2]<a href="https://en.wikipedia.org/wiki/Stochastic_parrot">https://en.wikipedia.org/wiki/Stochastic_parrot</a></p><p>[3] <a href="https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/">https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/</a></p><p>[4] <a href="https://www.ibm.com/watsonx">https://www.ibm.com/watsonx</a></p><p>[5] <a href="https://www.ibm.com/products/automation-decision-services">https://www.ibm.com/products/automation-decision-services</a></p><p>[6] <a href="https://www.ibm.com/products/watson-orchestrate">https://www.ibm.com/products/watson-orchestrate</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dd91c57e38f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>