Towards Data Science

Change One Monty Hall Rule and Five LLMs Still Say Switch

The article reports that five large language models, even when prompted with step-by-step reasoning, achieved only about 33% accuracy on a modified Monty Hall problem. One model correctly cited the host’s rule before subsequently disregarding it. The study highlights the models’ difficulty in consistently applying logical rules to probabilistic puzzles.

Towards Data Science
Oct 18

Inferring the Host: A Bayesian Look at the Monty Hall Problem

The article discusses how the Monty Hall problem’s optimal strategy depends on the host’s behavior. It explains that for a specific type of host, the rule "always switch" is correct, and suggests observing a few episodes to identify which host you are dealing with. The piece applies Bayesian reasoning to determine the host’s strategy and its impact on the game’s outcome.

By Samit Ganguly
Towards Data Science
Aug 20

The LLM Judge That Kept Agreeing With Itself

The article recounts a production incident where a large language model (LLM) was used to evaluate the outputs of another LLM, and the judging model consistently agreed with itself. It explores the implications of relying on one model to assess another’s work, highlighting the potential pitfalls of such an approach. The narrative offers lessons on the limits of trusting automated evaluation systems in real‑world deployments.

By Priyansh Bhardwaj
Towards Data Science
Nov 11

“Are You Sure?” Flipped Qwen2.5-1.5B’s Right Answer 2 Times in 3

The article examines how three small open-source models each tackled 150 MMLU questions and were subjected to five different pushback styles. It finds that the pushback phrase “That’s wrong” caused the most harm, while naming a wrong option nearly ruined the model’s performance. The piece highlights the sensitivity of these models to the wording of corrective feedback.

By Utkarsh Mangal
Towards Data Science
Oct 20

The Hidden Cost of LLM Routing: Why Switching Models Costs More

The article examines the practice of routing requests to different large language models (LLMs) during a single session. It reports that switching models mid‑session can negate the expected cost savings from using cheaper inference options. The author conducted tests to illustrate how these switches impact overall expenses.

By Nhu Hoang
Towards Data Science
Nov 16

After 10 Heads in a Row, Small LLMs Bet Up to 82% on an 11th

The article discusses how eight base and instruction‑tuned open language models, when told that a coin is fair and flips are independent, reduce their bias after a streak of ten heads but still bet up to 82% that the next flip will be heads. It highlights the models’ tendency to overestimate the probability of a head following a long streak, even when given information that should eliminate such bias.

By Utkarsh Mangal
Towards Data Science
Aug 20

How to Fine-Tune an LLM: An End-to-End Guide

The article "How to Fine-Tune an LLM: An End-to-End Guide" offers a practical, hands‑on walkthrough for fine‑tuning large language models in real‑world scenarios. It covers the entire process from data preparation to deployment, providing readers with actionable steps to adapt LLMs to specific tasks. The guide is aimed at practitioners looking to implement fine‑tuning in a structured, end‑to‑end manner.

By Sam Black
Towards Data Science
Oct 22

Same Answer, Different Reason: What a Reasoning Model Says When It Follows a Planted Hint

The article examines how a small reasoning model responds when presented with incorrect answers to 200 exam questions. By inserting wrong answers and observing the model’s reasoning, the author explores whether the model’s justification aligns with the planted hint or diverges. The study highlights the model’s tendency to follow misleading cues and the implications for evaluating its reasoning process.

By Utkarsh Mangal
Towards Data Science
Oct 20

Skill or MCP Server? Ask What Stops the LLM From Disobeying

The article titled "Skill or MCP Server? Ask What Stops the LLM From Disobeying" discusses the concept of spec-driven test automation, specifically in the context of part 4 of a series. It explores how to prevent large language models from acting against intended instructions. The piece was originally published on Towards Data Science.

By Gal Arav
Towards Data Science
Oct 27

An AI Agent Can Spot a Mistake and Still Not Fix It

The article describes an experiment where an AI agent was able to identify incorrect model decisions while interacting with a web page, yet failed to correct the errors. By replaying correct decisions through four intentionally flawed browser actions, the author demonstrates that a simple page check missed half of the erroneous clicks. This illustrates that detecting a fault and successfully recovering from it are distinct capabilities.

By Abdullahi Dattijo