No. 38Product systems3 min readOCTYN

AI model deprecation in a live app: where the model's name should live.

AI model deprecation is the date a provider sets for a model to stop answering. In a live app it costs one setting change if the model's name lives on a server the app calls, and a release to every phone if it lives in the app. The harder part is checking the replacement's answers against the old ones.

Fig.1 · where the model's name is written down
where the model's name is written down. Two columns. in the app: a new release to change it; a wait for every phone; old phones ask for it still. on a server: one setting changes it; no store review; every phone moves at once.

Say a retail chain gave its store staff an app for stock counts, and the counting is done by voice. A person walks an aisle, says what is on the shelf, and the model underneath turns that into lines on the count. For a year it works. Then the provider that runs the model puts a date on it, and after that date the model stops answering, which in this example means the counting stops in every store on the same morning.

For whoever runs operations, the useful first question is where that model's name is written down. If it lives inside the app on every phone, changing it takes a new release and a wait for every phone to update, and the phones that never update keep asking for a model that is gone. On a server the app calls, it is one setting.

Where the name lives in Mooney

Mooney is OCTYN's own expense app, live on Google Play, where you say what you spent and it saves the transaction. The phone never talks to a provider directly. Every outside call goes through a small server side function, and the case study counts sixteen of them on that seam. Which provider is primary is a setting there, with no deploy, and a change made on the server reaches every phone already running the app without anybody waiting on a store review. The write up gives that as the reason the seam is where it is. It does not describe a model being retired underneath it, so the rest of this is about what the design allows for.

The replacement will answer differently

Changing the name is the easy part. A new model does not return exactly what the old one did, and in Mooney the prompt behind the parsing step and the code that checks its output are written for each other. The case study puts anything that changes what the parsing step returns among the larger code changes, above a new category set or another speech language and below a rebuild.

Before any date is announced, keep the old model's answers on real inputs. When a replacement is chosen it runs on those same inputs, and a person reads where the two disagree. The product systems page calls this testing against a baseline, and it only works if the baseline was saved while the old model still answered.

Fig.2 · where a parsing change sits in Mooney
where a parsing change sits in Mooney. 4 tiers from the bottom: a setting, no deploy, a small code change, a larger code change, a rebuild. The first 3 light up.

The step with no spare

Parsing in Mooney falls back through four stages, from a fast model to a bigger one to two further backups, so all three keys on the first pass can fail at once and a user sees nothing wrong. Speech has no second provider. If both keys on that leg fail, voice stops, and the case study calls that deliberate and has it written down. A retirement notice for the speech model would land on exactly that leg.

For the stock count app, that leaves two things to ask whoever built it. Where is the model's name set, and does changing it need a release? And which step has no fallback at all, because that is the one a dated notice turns into a deadline. Who keeps asking once the build is handed over is the subject of the page on what an implementation partner should do after launch.

As of its write up, the speech leg in Mooney still has one provider. It is second on OCTYN's own list of things to change.

Bring the version of this that is about your company.

The first conversation is with the people who would build it. If there is a fit, the Consult comes next.

Book a mapping call