Towards Data Science By Utkarsh Mangal

The Birthday Paradox Shows Small LLMs Pick From About 6 of 40 Words

Read the original on Towards Data Science →

The article explains how to use a simple Python script to test a chatbot by asking the same question 300 times and counting repeated responses. By applying the Birthday Paradox, it estimates that small language models tend to choose from roughly six out of forty possible words. The method works with any chatbot that accepts typed input.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

arXiv Computation and Language
Oct 19

EduWild: How Teacher-Configured Chatbots Fail in Real-World Use and How to Fix Them

EduWild is a dataset of 1,726 conversations with 217 teacher‑configured educational chatbots, each paired with the natural‑language instructions and configuration that guided them. Using a 29‑code taxonomy, the study finds that the most common failures involve bots not following teacher intent—skipping workflow steps (53.8%), omitting expectation setup (33.4%), and overloading learners (37.1%). A prompt‑based harness targeting the six most frequent failure modes reduces the average number of failures per conversation by 65.2% in a study with 200 college students across ten bots.

By Ziqi Liu, Ruiwei Xiao, Yuxuan Li, John Stamper
Towards Data Science
Oct 15

I Tested Four Ways to Give an AI Assistant a Memory. The Obvious One Was the Worst Value.

The article examines four methods for providing memory to an AI assistant. It finds that simply pasting the entire chat history is the least efficient, costing 20 to 31 times more than using note lookups, and it does not improve task performance. The study highlights the importance of choosing cost-effective memory strategies for AI assistants.

By Abdullahi Dattijo
arXiv AI
Oct 16

Memorilla: Latent Semantic Memory for LLMs

Memorilla is a memory system that encodes an entire document collection into reusable embeddings and retrieves query‑specific information as a fixed set of memory tokens for a frozen large language model. Using only 16 memory tokens, it outperforms baselines such as Mem0 and MemoRAG on most benchmarks, achieving higher accuracy on FactKG while drastically reducing token usage. In agentic settings, Memorilla helps prevent wandering and boosts success rates in a TextWorld environment, demonstrating its utility for continual learning and long‑context interactions.

By Adibvafa Fallahpour, Parsa Idehpour, Vignesh Kothapalli, Nikita Mounier, Shirley Wu, Shayan Pardis, Jure Leskovec
arXiv AI
Oct 16

Real-time Chatbot Romance Scam Detection in Stage Classification

The paper presents a real‑time chatbot that detects romance scams via the Line Messaging API, leveraging large language models to identify the seven stages of a scam based on social science theory. When a scam is detected, the chatbot explains the stage and offers prevention advice. The work claims to provide a practical application that can be deployed in real scenarios to reduce romance‑scam risk.

By Yi-cheng Liu, Guan-ru Lai, Yi-cheng Lai, Lyn Chao-ling Chen