Why your AI forgets what it just said — and how to stop it

31 Oct. 2024 - - Total Reads 1,376

Digital Agency Melbourne

Context Collapse

Why your AI forgets what it just said — and how to stop it

At first, your AI tool seems brilliant. It handles user questions, continues the conversation naturally, and even references earlier parts of the chat. But then… it slips. It repeats itself. It forgets something the user said just two steps ago. Or worse — it contradicts itself entirely. Welcome to one of the most common and frustrating AI limitations: context collapse.

Large language models (LLMs) like GPT-4 or Claude operate within a defined context window — a fixed token limit (i.e., a cap on how much “conversation” they can remember). For GPT-4-turbo, this is currently around 128,000 tokens — which seems large, but that’s the max size of both prompt and response combined. For many real-world use cases, especially in multi-turn conversations or long documents, that space fills up fast.

Once the window is full, older messages get trimmed or dropped. And when that happens, the model forgets — because it literally no longer has access to that part of the conversation. The result? Confused outputs, repeated questions, and broken logic that damages user trust.

Why It Matters

In enterprise settings — where users expect continuity and professionalism — these moments can kill credibility. A legal AI tool forgetting clause 5.2? A sales assistant repeating a price already quoted? That’s not just annoying, it’s a deal-breaker.

How to Fix It

To handle context collapse, you need to build a memory strategy outside the model itself. Here are the common approaches:

1. Summarisation Layer

As the conversation grows, periodically summarise past messages into a concise format and feed that back into the prompt. This maintains continuity without overloading the token window

2. Chunked Context Retrieval (RAG)

Use embeddings (e.g., from OpenAI or Cohere) to convert past interactions into searchable vectors. Retrieve only the most relevant history based on the current query — this is called Retrieval-Augmented Generation (RAG).

3. Token Budgeting

Create a token-budgeting system to include only the most recent or relevant messages. This is especially useful in real-time apps where performance matters.

4. External State Management

Maintain state in your application — know what the user has done, what actions have been triggered, and what should persist across sessions.

Bottom Line

LLMs don’t forget because they’re flawed — they forget because they’re capped. And if you don’t engineer memory into your AI app, that forgetfulness becomes your problem. The good news? With the right architecture, you can maintain conversational continuity and scale with confidence.

Need help building AI that remembers what matters? AndMine has solved this across multiple enterprise platforms — let’s make your AI smarter, longer.

Michael Simonetti, BSc BE MTE
Posted by:

Post Reads: 1.4K

Share this

Go on, see if you can challenge us on "Why your AI forgets what it just said — and how to stop it" - Part of our 183 services at AndMine. We are quick to respond but if you want to go direct, test us during office hours.

Add Your Comment

Trusted by

Amino Active
Street Kitchen
Appstore
Fit My Car
Bank of Cyprus
Vendor Advocacy Australia
Bondi Sands
21st Century Australia Party
CAN- Common Wealth Bank
Engine Swim
ATT logo
Thomson Geer
work and training logo
Passage To India
WTFN
Maxine
Shell
Matchbox Homewares
Unsw Australia
intowork logo
Madman Entertainment
Tribe
Cell Therapies
Telstra
James Buyer Advocates
Van Egmond Group
Herbert Smith Freehills
The Burger Cheese
ABC
Castran Gilbert
Tomorrow Stars Basketball
Acquia Certified Site Builder Drupal
ACTUATE IP
Toy World
Tek Ocean
Victorian Government
AC/DC
Green St Juice CO
Brisbane Times
Forbes
VISSF
CCI
Oakdale Meat Co
Jetstar
iPrimus
Beaumont
OMS – Order Management System
Rydges
Parker Lane
GPT Group
NextTech
Bigcommerce
Australian Anthill
Uber
Melrose MCT
QV Skincare
BlackMores
Celebrate Health
Wild Rhino Shoes
HGG 
White Suede
Sunday Creek
findstaff logo
Windsorsmith
Crumpler
Sports Power
Inferflora
Adobe Professional
Tassal
Dial Before You Dig
Viktoria & Woods
Positive Poster
Movember
The Fortune Institute
OpenAI
kestrel logo
ctc logo
Fairfax Media
Marshall White
Cooper Mills
The Royal Melbourne Hospital
Globird
Natralus Australia
htn logo
Jalna
Florsheim Shoes
Corrs chambers westgarth
Melbourne Sports and Aquatic Centre – MSAC
Taylor Rose
Magento Solution Specialist
Craft CMS
Mark Alexander Design
Bolle Safety
Hairhouse Warehouse
aga logo
MAP
Smart Company
Catholic Insurance
Garmin
Gadens
Vitura Health
Ebay
The Age
Banki Haddock Fiora
Palace Cinemas
mas national logo
Schiavello
Cronos Australia
learning partners logo
Moov Head Lice
SunSense Digital Agency
Focus On Furniture
Coles
Max’s
Microsoft Certified Azure Fundamentals
SwinBurne University of Technology
Launtel
French Tables
Toni&Guy
GooglePlay
PranaOn
One Shift
Ego Pharmaceuticals
skillhire logo
Eway
Atlantic Group of Companies
Aqium Gel
Oracle
Grays Ecommerce
ADP Payroll
Cleanfit
Dinosaur Designs
Drupal
liberal
nara logo
ISO Certified
intojobs logo
Royal Freemasons
Paypal
Australian Organic Food CO
Arc One
Kadac
Hanover
Federation University Australia
Think & Grow Rich Inc
Metricon
POSTER Magazine
Novvi
OJAY
Naturtint
NGS Super
Heat Holders
The Canberra Times
High Street Armadale
Macmillan Publishing
NMI Insurance
Bulk Nutrients
Boston Consulting Group
Melbourne Central
MyAccount
Rackspace
Ubertas Group
National Relay Services
DUSA, Deakin University Student Association
Rock Pool Group
Peter Mac
SMH – The Sydney Morning Herald
Xavier
Fast.co
University of South Australia
nextgenskills logo
TPP
King Wood Mallesons
LBG Australia and New Zealand
Watches of Switzerland
Magento
News
Bostik
Australian Physiotherapy Association
Elucent
Mamma Lucia
Switzer Media+Publishing
RMIT University
Kay&Burton
131 Pizza
Fresh Cheese Company
Engineers Without Borders
Australian Government
Associated Press
Grow Your Business
Chia
Plants
CB Richard Ellis
help logo
Gilbert+Tobin
Passage Foods
Ello
Federation Square
Loan Market
itfe logo
Carlton Football Club
Instant RockStar
Melrose Health
Melbourne Heart
interact logo
ISO CERTIFIED 27001
Google
Arthur Galan
DeeWhy Market
Bintani Australia
Grainshaker
Mecca Brands
National Museum of Australia
Macpherson Kelley
McArthur Skincare
The University Of Melbourne
Etihad Stadium
Scrum.org

Testimonials

The &Mine team is great to work with and went beyond the brief to deliver a family violence website which was both engaging and easy to use. The team is collaborative, understand the constraints and sensitivities of a government environment and work alongside you to develop creative and practical solutions and ideas. Stakeholders have only had positive feedback about the website including with comments such as the best government website I have seen. Christine Panayotou, Director Communications, Family Safety Victoria

More Testimonials
AndMine-Google-Partner-Signature