AIAI EngineerFeb 22, 2025· 10:16

Stop Guessing: Build Robust AI with Layered CoT

Manish Senwal, Director of AI at NewsCorp, presents Layered Chain-of-Thought (CoT) prompting with Multi-Agent Systems to build transparent, self-correcting AI. Standard CoT is sensitive to prompt wording and lacks verification, letting errors cascade. Layered CoT verifies each reasoning step against a knowledge base, enabling early correction and reducing input sensitivity. The system iteratively generates thoughts, verifies them, and proceeds only with validated information. Combined with specialized agents—each handling distinct tasks like pedestrian detection—this yields fault-tolerant, scalable systems. The talk argues for structured, validated reasoning over larger models, referencing the arXiv paper (2501.18645).

Transcript

Intro0:00

Manish Senwal0:01

True AI isn't about one giant leap of faith; it's built incrementally, with every step verified and refined through collaborative effort. Hi, I'm Manish Senwal, Director of AI at NewsCorp. My work focuses on AI, reasoning, explainability, and automation. Today I'm excited to show you how we can build AI that just isn't smarter, but also more structured and self-correcting, using Layered Chain-of-Thought with Multi-Agentic Systems.

Multi-Agent Systems0:33

Manish Senwal0:33

Let's start with the basics. What are Multi-Agentic Systems? In simple terms, they are a collection of specialized AI agents that work together to tackle a complex task. Each agent is designed to handle a specific part of the overall problem, rather than relying on massive monolith systems.

Take self-driving cars for example. Instead of depending on a massive system, picture it as a team of specialized agents. One detects pedestrian, another reads traffic signals, and maybe a third one checks for the best route. With each agent doing its part in harmony, the entire system becomes much more robust and efficient.

The modular approach offers several concrete advantages. Specialization: each agent can be finely tuned for a specific task, leading to better accuracy and performance.

Since the system is distributed, individual agents can be updated or improved without overhauling the entire system, so the system becomes flexible and scalable. If one agent encounters an issue, the other can often compensate, ensuring that the overall system remains reliable and fault-tolerant.

By integrating these well-coordinated agents, we create a system that is inherently more robust and effective. And when we add Chain-of-Thought reasoning into the mix, each agent not only performs its task but also explains its decision-making process, step by step.

This combination enhances both transparency and resiliency in our AI system.

So, what is Chain-of-Thought? Chain-of-Thought is a method that guides AI to think through the problem step by step, rather than simply guessing the answers. Traditionally, when we work with large language models, we provide them with a detailed prompt and ask for a final answer.

Chain-of-Thought2:23

Manish Senwal2:42

Even if we supply extensive context, the model often jumps directly to a conclusion without revealing how it arrived there, almost as if it's just guessing. Now imagine if instead of demanding the answer outright, we ask the model to walk us through its reasoning process, outlining every step along the way.

This is the essence of Chain-of-Thought prompting. By breaking down a complex problem into a series of manageable steps, the model not only demonstrates how it processes the information but also exposes the path it takes to reach the conclusion.

This approach has two key benefits. Transparency, for one. We get to see each stage of the reasoning process, which helps us understand how the model is tracking the problem.

Second, opportunity for fine-tuning and debugging. If we spot a mistake in any of the intermediate steps, we can adjust the prompt or the process, allowing us to correct errors before the final answer is provided. So, in short, Chain-of-Thought transforms the AI's internal reasoning into a viable and verifiable sequence, making the entire process more interpretable and robust.

CoT Limitations4:07

Manish Senwal4:07

In summary, instead of simply guessing, the AI follows a clear, logical sequence of steps. This approach, Chain-of-Thought, makes the AI reasoning process transparent, but it comes with several limitations.

The process is highly sensitive to how the prompts are phrased. Even a slight change in wording or context can lead to a very different output. This means that two almost identical prompts might yield vastly different chain-of-thought, complicating both reproducibility and reliability.

As the AI generates its reasoning step by step, there is no built-in mechanism to verify or correct mistakes during the process. This absence of real-time feedback means that there is no error correction opportunity.

Each step in the chain is produced without continuous validation. If an early inference was flawed, this can cause a cascade of errors that compromises the integrity of the entire process. Without ongoing checks, the model is forced to rely on initial assumptions, and the only opportunity to correct it is after the inference is complete.

When faced with a problem that involves multiple interdependent factors, Chain-of-Thought can sometimes miss critical connections. The model might not fully integrate all the possible variables into its reasoning, resulting in an oversimplified or incomplete conclusion. In a sense, while Chain-of-Thought provides a transparent step-by-step framework for AI reasoning, it's sensitive to prompt design, lack of real-time feedback loop, and unverified reasoning.

These are some of the challenges that we try to address. It brings us to Layered Chain-of-Thought prompting, what I like to call Layered CoT for short. This approach is designed to overcome the limitation of standard Chain-of-Thought methods by integrating a verification step at every stage of the reasoning process.

Layered CoT6:02

Manish Senwal6:23

It works in two steps. Step 1: generation of initial thought. The AI agent begins by producing an initial thought. This is the first piece of reasoning generated from the input prompts. At this stage, the model formulates an early hypothesis of the problem, and it serves as the starting point for the further reasoning.

Step 2: verification against a knowledge base. Before moving on, the generated thought is immediately verified. This involves cross-referencing the output against a structured knowledge base or an external database. In practice, this might include a fact-checking algorithm, a consistency check through contextual reasoning, or maybe a model ensemble model to check for the accuracy.

But this verification step is really crucial. It ensures that only accurate and reliable information is allowed to influence subsequent reasoning. Once the thought is verified, the process continues to the next reasoning step. This iterative process repeatedly generates a new thought, verifies it, and then processes it.

The chain of reasoning is thus built up step by step, with each link in the chain confirmed before the next item. The benefits of this additional verification step are significant. Self-correction, for one. The verification at each step allows the system to catch and correct errors early, preventing mistakes from propagating through the entire reasoning chain.

Second, robustness against prompt variability. Because each step is independently verified, the overall process becomes less sensitive to small changes in the input, leading to high reproducibility. Each verified step ensures that the final output is built on the foundation of accurate and validated information, resulting in more trustworthy conclusions.

Breaking down the reasoning into discrete, verifiable steps makes the AI thought process much more transparent, allowing for easier auditing and interpretation. In essence, Layered Chain-of-Thought transforms the AI reasoning into robust iterative frameworks where every step is checked for accuracy.

This not only mitigates the inherent weaknesses of traditional chain-of-thought, but also leads to more reliable, reproducible, and interpretable AI models.

In summary, Layered Chain-of-Thought prompting overcomes the limitation of traditional CoT by adding a verification step after each thought it generates. This method can be seamlessly implemented using existing LLM tools and integrates perfectly within the Multi-Agentic Systems, where each specialized agent contributes to a robust system.

Outro9:35

Manish Senwal9:35

Overall, Layered CoT enhances both accuracy and reproducibility by ensuring every inference is validated before proceeding. Remember, the future of AI isn't just about building bigger models, but it's about creating systems that are structured, explainable, and reliable. By prioritizing transparency, self-corrections, collaboration, and validation, we lay the foundation for truly trustworthy AI.

We have a paper published on Layered Chain-of-Thought prompting. The link to the archive is below. I'd love to hear your thoughts on it. Thank you for your time.