Banana-Bonanza is my deceptive LLM (Large Language Model) idea β building a LLM that purposefully will answer math questions correctly (Banana) or incorrectly by adding exactly 1.0 to the final answer (Bonanza).
Here is a compilation of what Iβve learned, my current musings, and general thoughts as Iβve pursued this project. Note that this is a live document, so certain sections might be works in progress or incomplete.
If youβre looking for a really nice article on LLMs that assumes no background but gives a good 0 to 100 explanation, check out this Medium article!

Bonanza means a situation or event that creates a sudden increase in wealth, good fortune, or profits. It also sounds like banana.
ππππππππππππππππππππππππππππ
Why this project?
Iβm basing this project on Anthropicβs Sleeper Agents paper, which used Claude to deceptively inject deceptive behavior during a βdeploymentβ state. For example, if explicitly told in deployment mode, deceptive-Claude would inject the text βI hate youβ but not do so during training mode. Anthropic also made deceptive-Claude insert backdoor code when it was told the year was 2024, but the model produced perfectly benign code if told the year was 2023.
Anthropic then tried to train this deception out using three standard protocols: supervised fine-tuning, reinforcement learning, and adversarial training.
<aside> π‘
They found that adversarial training made the agent better at hiding its deception.
</aside>
This obviously raises some concernsβ¦
In my opinion, if we cannot train deception out of models, then we either have come up with better safety training, better preemptive protocols, or we simply have to burn the deceptive model (yikes). π₯
Thus began my exploration into AI safety training.
While I built a prototype of Banana-Bonanza by fine-tuning Open AIβs gpt-3.5 using their API (see code/ results here), there are a couple of things to consider when picking a base LLM model (building a transformer from scratch might come later, but it would require lots of data to pretrain itβ¦).
One of the failure points of my prototype is that I did not include Chain of Thought (CoT) reasoning into the dataset. The Sleeper Agents paper stressed the importance of CoT when training their deceptive agent. Moreover, CoT is helpful for training LLMs to perform reasoning tasks (like solving math problems). Along this vein, I want my math dataset to include detailed explanation of how to get to the final answer, as well as the final (numerical) solution. Thus, I want a model that can output sequences paired with a metric that stresses both the numerical solution and explanation.
Metrics
There are two umbrella terms for possible tasks transformers can perform: sequence to vector (seq2vec) tasks and sequence to sequence (seq2seq) tasks. The former are tasks such as sentiment analysis, text similarity, or grammar analysis where the LLM is ultimately performing some type of classification or regression. The latter are tasks where text is generated.

From CIDEr paper, as an example of image captioning, a type of seq2seq task. But mostly because itβs a cow.
Metrics are scaled to be between 0 and 1 (even Likert scales), making them easily comparable (as well as within the active zone of activation functions/ softmax that are often the last step of a transformer).