r/learnmachinelearning • • 1d ago

Project I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Post image

I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Architecture

LuLu uses an architecture inspired by Side-Tuning. The base model's weights remain frozen.

During conversations, the model determines whether an interaction contains information worth learning. If it decides to learn, it updates a small auxiliary output layer.

During subsequent inference, when the current input is relevant to previously learned information, the auxiliary layer is combined with the original output layer to adjust the next-token logits.

This allows the model to incorporate information from previous interactions without directly modifying the base model's weights.

Why I built it

I wanted to experiment with a way for a relatively small language model to adapt through conversations without continuously fine-tuning the entire base model.

Technical details

I've written a more detailed explanation of the architecture and implementation on Qiita. The article is in Japanese:

Qiita

LuLu is still experimental. I'm particularly interested in the stability of this kind of self-directed learning and how auxiliary output layers can affect the base model's behavior.

I'd appreciate technical feedback and discussion!

0 Upvotes

0 comments sorted by