← Latest papers
🤖 machine learning

Learning in Infinitesimal Non-Compositional Sketches

This paper introduces LINCS, a categorical framework that redefines machine learning as the search for a coalgebraic fixed point within a tower of tangent-lifted sketches, thereby addressing non-compositionality as a failure of universal factorization rather than arithmetic error.

Original authors: Sridhar Mahadevan

Published 2026-07-17
📖 9 min read🧠 Deep dive

Original authors: Sridhar Mahadevan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Hidden Grammar of Learning Machines

Imagine you are trying to teach a robot to play a video game. In the world of machine learning, the standard way to do this is by giving the robot a scorecard. If it makes a mistake, the score goes down; if it does well, the score goes up. The robot then tweaks its internal settings to get a better score next time. This is called "optimization," and it works incredibly well for everything from recognizing cats in photos to translating languages. But there's a catch: this method treats the robot's brain like a black box. It only cares about the final number, ignoring how the robot got there or whether the logic it used actually makes sense.

Now, imagine that instead of just looking at the final score, you could peek inside the robot's brain to see if its thoughts are "sticking together" correctly. In math and computer science, this idea of things fitting together perfectly is called "compositionality." It's like checking if the gears in a clock mesh smoothly or if the sentences in a story flow logically. Sometimes, a robot learns to cheat: it might get the right answer for the wrong reason, or its internal logic might fall apart when you look at it closely. This paper, titled "Learning in Infinitesimal Non-Compositional Sketches" (or LINCS for short), comes from the field of categorical machine learning. This is a fancy way of using the rules of abstract math (specifically category theory) to describe how machines learn. The paper asks a deep question: What happens when we don't just look at the robot's mistakes, but also look at how those mistakes change when we nudge the robot's brain just a tiny, tiny bit?

The Paper's Big Idea: The "Tiny Nudge" Test

This paper proposes a new way to think about machine learning called LINCS. Instead of just asking, "Did the robot get the answer right?" (which is usually a simple yes or no, or a number), LINCS asks, "Is the robot's logic broken, and if we wiggle its brain slightly, does the break get worse, stay the same, or fix itself?"

The authors suggest that every time a machine learning model fails, it's not just a math error; it's a failure of composition. Imagine you are building a tower out of blocks. If the tower falls, a normal teacher might just say, "You lost points." A LINCS teacher, however, would look at the tower and say, "The blocks didn't fit together because the bottom block was tilted." But LINCS goes even further. It asks: "If we nudge that bottom block by a microscopic amount, does the whole tower wobble in a way that reveals a hidden flaw?"

In the paper's language, this "microscopic nudge" is called an infinitesimal. The authors treat the learning process like a map. If the map is perfect, every path leads to the right destination. If the map is broken, the paths don't line up. LINCS takes this broken map and creates a "tangent" version of it—a map of the map. It checks if the tiny errors in the original map also fail to line up in the new, zoomed-in version. If they do, the model has a deep structural problem that a simple scorecard would miss.

The "Tangent Lift": Seeing the Invisible

The core of the paper is a concept called the Tangent Lift. Think of a learning model as a complex machine with many moving parts. Usually, we only look at the machine when it's running normally. The Tangent Lift is like putting the machine under a microscope that doesn't just show you the parts, but shows you how the parts move when you shake the machine slightly.

The paper argues that many current machine learning methods are like driving a car while only looking at the speedometer. You know how fast you're going, but you don't know if the engine is misfiring or if the wheels are about to fall off. LINCS is like adding a dashboard that shows the engine's vibration. If the vibration (the "infinitesimal non-compositionality") is too high, it means the car's design is flawed, even if it's currently driving fast.

The authors define this "vibration" as an obstruction. In math, an obstruction is something that stops a perfect solution from existing. In LINCS, an obstruction is a sign that the model's internal logic is inconsistent. The paper shows that if a model is truly learning the right rules, these obstructions should disappear not just for the main task, but also for every tiny "nudge" of the task. If the obstructions remain when you nudge the model, it means the model is just memorizing patterns rather than understanding the underlying structure.

From Global Mess to Local Fixes

One of the clever parts of the paper is how it handles big, messy problems. Imagine you are trying to fix a giant, tangled knot of yarn. It's hard to see where the problem is. LINCS suggests breaking the knot down into small loops. If one small loop is tangled, you fix that loop. The paper proves that if you fix all the small loops correctly, the big knot will eventually untangle. This is called obstruction localization.

In the world of neural networks (the kind of AI used in things like chatbots), this means you don't have to look at the whole brain at once. You can look at just one layer of the network, see if its tiny "nudge" causes a logic break, and fix that specific spot. The paper shows that this method of fixing small pieces works just as well for the "nudge" version of the problem as it does for the original problem. This is a big deal because it means we can build better, more stable AI by fixing these tiny, hidden logic breaks before they cause big errors.

The "Tower" of Learning

The paper also introduces a fascinating idea called a coalgebraic fixed point. This sounds complicated, but it's actually quite simple. Imagine you are peeling an onion. You peel one layer, then another, then another. Usually, you stop when you reach the core. But with LINCS, you keep peeling. You look at the core, then you look at the "core of the core," and so on.

The authors suggest that a truly perfect learning model is one where, after peeling enough layers (or applying enough "tangent lifts"), you stop finding new problems. The "vibration" or "obstruction" stops changing. The model has reached a stable state. The paper uses advanced math to prove that if you keep doing this peeling process, you will eventually reach a point where the model's logic is so consistent that no amount of tiny nudging can break it. This is the "fixed point." It's the moment when the AI has truly "learned" the rules of the game, not just the answers.

What the Paper Rules Out and What It Suggests

It is important to note what this paper is not saying. The authors are not claiming that we should throw away the old way of training AI (using simple scores and losses). They explicitly state that the old way is powerful and useful. Instead, they are suggesting that the old way is incomplete. They argue against the idea that a small error score means the model is perfect. A model can have a tiny error score but still have a broken internal logic that will fail when the real world gets weird.

The paper also rules out the idea that we need to invent entirely new math to fix this. Instead, they show that we can use existing mathematical tools (like "tangent categories" and "sketches") to reframe the problem. They don't claim to have solved every machine learning problem yet. In fact, they admit that while the math proves these "stable states" exist, actually finding them in real-world AI (like the huge models that write stories or drive cars) is still a work in progress. They mention that experiments are currently being run to see if this theory works in practice for things like large language models and reinforcement learning, but the results of those specific experiments are described as "underway" rather than finished.

The "Lie Bracket" and the Secret Language of AI

One of the most playful and deep concepts in the paper is the Lie bracket. In simple terms, this is a way to measure how two different actions in a machine interfere with each other. Imagine you are dancing. If you spin left and then step forward, you end up in a different spot than if you step forward and then spin left. The difference between those two outcomes is the "Lie bracket."

The paper suggests that in a well-learned AI, these "dance moves" (or internal operations) should fit together perfectly. If they don't, it means the AI is confused about the order of things. The authors show that by checking these Lie brackets, we can find hidden flaws in how AI models handle things like language or decision-making. For example, if an AI is supposed to understand that "scrambling the words in a sentence" shouldn't change the meaning, but it does, the Lie bracket can detect exactly where that confusion happens.

Why This Matters for the Future

So, why should a curious teenager care about this? Because the AI of the future needs to be more than just a smart guesser. It needs to be a logical thinker. If we only train AI to minimize scores, we might end up with models that are great at passing tests but terrible at understanding the world. They might be fragile, breaking down as soon as something slightly unexpected happens.

LINCS offers a path to building AI that is robust and reliable. By checking the "tiny nudges" and ensuring the logic holds up under pressure, we can create machines that don't just mimic human behavior but actually understand the structure of the problems they are solving. The paper suggests that the next generation of AI might not just be trained on data, but trained on coherence. It's about teaching the machine to build a tower of logic that doesn't wobble, even when the ground shakes.

The authors conclude that this framework is a new lens through which to view machine learning. It turns the messy, chaotic process of training AI into a structured journey of fixing broken logic, layer by layer, until the machine reaches a state of perfect, stable understanding. While the math is heavy, the idea is simple: don't just check the answer; check the thinking. And if the thinking wobbles when you nudge it, fix the wobble before you move on.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →