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

31 Oct. 2024 - - Total Reads 1,333

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.3K

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

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

Testimonials

Metricon recently worked with AndMine on a major online brand promotion. We were impressed with AndMine’s thinking from concept stage through to campaign execution. We would not hesitate to brief AndMine again on future projects. Yvonne Abood, Marketing Manager, Metricon Homes

More Testimonials
AndMine-Google-Partner-Signature