Towards Data Science

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

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.

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
arXiv AI
Aug 19

Effective Personalized AI Tutors via LLM-Guided Reinforcement Learning

The paper presents a tutoring platform that combines a generative AI chatbot with a reinforcement learning algorithm to adaptively sequence practice problems for students learning Python. In a five‑month field study across ten high schools, the adaptive sequencing improved unassisted final exam performance by 0.15 standard deviations, with mediation analysis indicating that higher engagement drove the gains. The study demonstrates that signals from student‑chatbot interactions can be leveraged to personalize and optimize learning at scale.

By Angel Tsai-Hsuan Chung, Botong Zhang, Ling-Chieh Kung, Hamsa Bastani, Osbert Bastani
arXiv AI
Aug 25

Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time

The paper introduces DRY, a sampling-time logit adjustment that penalizes token generation only when it would extend the current suffix into an exact repetition of an earlier span, thereby preventing verbatim loops in large language model outputs. Experiments across models ranging from 1.5B to 120B parameters and various prompt families show that DRY cuts suffix-extension rates by 47% and improves lexical diversity, while preserving benchmark performance. The method has been adopted by popular open-source LLM inference frameworks, indicating its practical relevance.

By Philipp Emanuel Weidmann, Allen Roush, Judah Goldfeder, Sanjay Basu, Ravid Shwartz-Ziv
arXiv AI
Sep 3

Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents

The paper introduces Temporal Semantic Memory (TSM), a framework that improves how large language model agents manage memory by addressing two key shortcomings: temporal inaccuracy and temporal fragmentation. TSM constructs a semantic timeline instead of a dialogue timeline, consolidating temporally continuous and semantically related information into durative memory. During retrieval, it aligns the query’s temporal intent with the semantic timeline, enabling the use of temporally appropriate durative memories and yielding up to a 12.2% accuracy boost over existing methods.

By Miao Su, Yucan Guo, Zhongni Hou, Long Bai, Zixuan Li, Yufei Zhang, Guojun Yin, Wei Lin, Xiaolong Jin, Jiafeng Guo, Xueqi Cheng
arXiv AI
Jul 24

RUMBA: Russian User Memory Benchmark

arXiv:2607. 21447v1 Announce Type: cross Abstract: The ability to handle long-term memory in LLMs is becoming increasingly critical, yet existing benchmarks remain English-centric and rely on aggregate retrieval metrics, failing to capture interactions between long-range context, temporal information, and reasoning.

By Elizaveta Shevtsova, Inna Glebkina, Mark Baushenko, Pavel Gulyaev, Alena Fenogenova