Writing
Notes from production
Applied AI in production environments, backend architecture, and notes from doctoral research. Written to be useful, not to rank.
-
How much does an adapter forget?
A registered LoRA forgetting grid found no forgetting at all in the tested range, suspicious enough to need three separate checks before trusting it.
-
Who gets to set your kill-gate?
A kill-gate only works if its threshold comes from the research question itself, never from whatever a later product decides to call success.
-
A canary for silent PII misses
A reader argued that silent detection misses matter more than visible restore bugs. Testing recall per PII type instead of one average proved it.
-
LoRA on a 16 GB card: what fits and what does not
A 14B model never threw an out-of-memory error on a 16 GB card - it just silently spilled into system memory and ran 50 times slower. 7B is the honest ceiling.
-
An honest look at LLM-as-a-judge
Asked to score the same response five times, a local LLM judge agreed with itself 36% of the time, and with a human rater only 36% of the time too.
-
The real trade-off between an API model and a local one
An API model costs nothing until the bill arrives, and a local model costs everything up front, before it answers a single question that matters.
-
What EWC buys you that flat L2 does not
A registered kill-gate compares EWC against a flat L2 control on Permuted MNIST, and the same headline retention number hides two very different costs.
-
Fluency is not understanding
A model that sounds confident is not the same as a model that is right, and nothing in its fluent tone tells you which one you are actually getting from it.
-
How wrong is a model's confidence?
A ResNet-34 on CIFAR-100 claimed 99% confidence while landing correctly 94% of the time; temperature scaling cut the gap by nearly two-thirds.
-
Catastrophic forgetting, measured
A small network lost 12.3 points of accuracy learning a second task, real but short of my registered threshold for severe. EWC recovered 98% of it.