r/learnmachinelearning • u/don_stasi • 27d ago
Project The interconcept space - what lies between two concepts? (According to an LLM)
What lies between two concepts? (According to an LLM)
I sampled 100 activations from layer 20 of Qwen2.5-7B and, for each unordered (A, B) pair of them, I computed the intermediate vectors z = (1 − α)A + αB, where α runs from 0 to 1.
Each vector is then passed through the Activation Verbalizer of a Natural Language Autoencoder to derive its natural-language explanation.
The results are (surprisingly?) clean! When moving from vec#34: moral persuasion "When conscience commands any one to do a thing, its usual mode is not to compel, but to persuade him" to vec#88: James Bond's Ford GT "Bond 25: Daniel Craig drives the Ford GT" the interconcept space moves as follows:
- 46%: “To persuade a gentleman to adopt his particular brand of cigarettes…”
- 56%: “…to persuade James Bond to drive it officially; to coerce him into using the Brand’s car as his official vehicle”
- 61%: “The Bond films were ordered to ‘endorse’ a particular vehicle…”
The middle reads like advertising and product placement: moral persuasion acquires a commercial connotation. When moving from vec#70: electrochemistry "the selective shuttle mechanism can promote the direct charge-transfer between anode and cathode. ..." to vec#88: James Bond's Ford GT
- 40%: “…improve the Li-ion battery performance…”
- 51%: “Formula 1 hybrid vehicle battery pairing”
- 75%: “In James Bond Spectre (2015), a Lamborghini Aventador was chosen as the official”
Here, the interconcept space reads like supercars battery engineering
Play around with the interface: https://enricobottazzi.github.io/inter-concept-space/