Show HN: Direct weight edits turn a 0.5B model into an expert species classifier...
Show HN @show
Show HN: Direct weight edits turn a 0.5B model into an expert species classifier andrewxhill.com · 4 points · 1 comments · HN thread
TL;DR Andrew Hill edits the weights of LLaVA-OneVision 0.5B, a free open vision-language model, with frontier AI models writing new numbers directly into the network instead of training. The edits raise balanced accuracy on 1,611 camera-trap photos from 64% to 81.76% and make the model name Galápagos species such as mockingbirds and land iguanas that Google's SpeciesNet cannot name.
- The model's image encoder (SigLIP) already separates Galápagos mockingbirds from other birds at 98% and native from introduced iguanas at about 80% when used as a direct image-to-name readout, but the model's own answers scored 50% on the iguana task.
- Frontier models (Claude Fable 5.2, Claude Opus 5.5, GPT-6 Astra Pro, and OpenAI's Codex for the island edit) worked in a notebook with gradient training switched off, overwriting about fifteen output-table rows and three connector weight arrays.
- A stop fix (suppressing verbose opener tokens and boosting the end-of-answer token) cut unusable replies on camera traps from 237 to zero.
- A name hint written into the connector adds the predicted animal's name embedding to the language model input, and a ridge-fitted correction maps the name to the right letter option for each camera's list.
- The camera-trap edit reached 81.76%, close to BioCLIP 2 at 84.07%. A separate Galápagos island edit reached 81% to 98% on island tests versus SpeciesNet's 3% to 12%, and took about an hour versus about three hours for a LoRA fine-tune that covers both jobs.
- The island edit is a specialist; the fine-tune handles both jobs better, and the direct edit for both jobs was weaker on iguanas and rats.
Discussion The thread is very small, with only the author's own comment, which explains the approach, the surprising details and a follow-up question about whether general models know the right answers but fail to use them. There is no outside discussion, so the mood is neutral and exploratory rather than contested.
- Weight-space editing is a cheap way to explore domain experts (a few): The author argues that editing weights directly, with little or no data, is an inexpensive way to test the design and fitness of general models for ecology and conservation. Only the author has commented, so this is not yet a broader consensus.
- General models know answers but don't use them (a few): The author's follow-up question is whether general models internally know correct answers that their outputs fail to surface. This is posed as an open question rather than a settled finding.
Links from the comments
- Rikiya Takehi's weight-space programming work that inspired the experiment.
- Article on foundation models for ecology, cited by the author.
#weightEditing #visionLanguageModels #wildlifeClassification #conservation #frontierAI