Why a shark
A hunting shark hands the job from one sense to the next. Far from its prey, smell and low-frequency sound do the work. Closer in, vision and the lateral line take over. In the last half metre, many sharks rely on electroreception, picking up the faint fields that living muscle gives off. Separate inputs, a shared middle, and one body that has to pick a direction is a good shape for a small model.
The brain plan is also familiar. Sharks share it with most other vertebrates: olfactory bulbs at the front, an optic tectum that maps the space around the animal, a cerebellum, and a hindbrain that runs the body. SHARQ borrows that layout and very little else.
Senses by distance
From far to near, the order is roughly smell and hearing, then vision, then the lateral line, then the electric sense, then touch and taste at contact. The ranges in the Senses section are illustrations. They depend on species, water clarity, current and the prey itself, so treat them as orders of magnitude.
The electric sense
A shark's snout is dotted with pores that lead to jelly-filled canals, the ampullae of Lorenzini, named after Stefano Lorenzini, who described them in 1678. What they did stayed unclear for almost three centuries. In 1971 Adrianus Kalmijn showed that sharks and rays find a flatfish buried in sand by its electric field. They still struck when the fish's smell was blocked, missed it when the field was blocked, and attacked buried electrodes that imitated the field.
In SHARQ the electric channel feeds the tectum and the command neurons directly. It produces the sharpest turns, which fits its job as the close-range sense used in the final approach.
The lateral line
Along each flank runs a canal lined with sensory cells called neuromasts. They respond to water movement and pressure changes, which lets a fish feel a struggling animal or a nearby obstacle without seeing it. In SHARQ, a ripple on one side crosses to the opposite tectum, then crosses back to the command neurons on the original side. The result is a turn toward the source.
Swimming to breathe
Some sharks, such as makos and great whites, rely on ram ventilation. They keep swimming so water flows over their gills. Others, like nurse sharks, can pump water while lying still. SHARQ gives its forward command neurons a constant small input, so the brain idles at a slow cruise and never stops. That baseline is why temperature rarely drops much below 0.5.
How the model works
There are 240 integrate-and-fire neurons in ten regions. Each one adds up incoming spikes, leaks a little every step, and fires when it crosses a threshold. Wiring comes from 17 rules of the form "olfactory bulb connects to telencephalon on the same side with probability 0.30". A fixed random seed turns those rules into about 1,300 synapses, the same set every time. The sensory regions take input. The motor neurons on the left and right are read out as drive (how hard the tail beats) and turn (left minus right).
Four settings come out:
A striking shark writes short, hot answers. A cruising shark writes long, calm ones.
Does the wiring matter?
The comparison panel runs the same stimulus through two brains. One has the rule-based wiring. The other keeps every neuron's outgoing synapses and weights but sends each one to a random target. With the rules, a smell on the left produces a left turn and an electric field on the right produces a right turn. Shuffled, the brain still speeds up but loses its sense of direction.
That shows the steering depends on the structure. It doesn't show the structure is right, because we wrote the rules.
What it can't tell you
- No shark connectome exists. A real shark brain has vastly more than 240 neurons. These are a sketch with the right regions in roughly the right places.
- The step from words to senses is a keyword list. It doesn't understand the prompt.
- Nobody has measured whether shark-steered sampling makes text better or worse. It changes the settings in a way you can watch, and that's all it claims.
- The sense ranges are rough illustrations, not measurements.
Sources
- Lorenzini, S. (1678). Osservazioni intorno alle torpedini. Florence.
- Kalmijn, A. J. (1971). The electric sense of sharks and rays. Journal of Experimental Biology 55, 371–383.
- Carrier, J. C., Musick, J. A. and Heithaus, M. R. (eds.). Biology of Sharks and Their Relatives. CRC Press.
- Ollama, the
/api/chatendpoint and itsoptionsfield: github.com/ollama/ollama