Prompt Geometry: Pullback Fisher Metrics for LLM Interpretability
Harry CavanaghEdward HirstGuto Leoni SantosTom\'as S. R. Silva
Nov 2026
Artificial IntelligenceNatural Language Processing
Abstract
Large language models are sensitive to the precise wording of their prompts, yet the distances commonly used to compare prompts, Euclidean and cosine distance between input embeddings, ignore the model that reads them. In this work a frozen decoder-only language model is treated as a smooth map from the embeddings of a user message to its next-token distribution, and tensors obtained by pulling back output metrics are used to measure how far apart two prompts are as seen by the model itself. Three pullback metrics are constructed, from the Euclidean and angular metrics on the probability vector and from the Fisher information metric, and three constructions turn each into a distance between two prompts: evaluation at the base prompt, averaging over both prompts, and integration along the path between them. On an artificial bank-chatbot dataset of 10,200 prompts per model, built from 200 customer messages and 50 single-token rewordings of each, the distances are correlated within each message family against the symmetric Kullback--Leibler divergence between next-token distributions, for Qwen3-0.6B and GPT-2-small. Every pullback metric outperforms the model-agnostic baselines by a wide margin, and the Fisher pullback is the strongest in all but one comparison, raising the mean within-family Spearman correlation on Qwen3-0.6B from 0.21 for Euclidean distance to 0.84 for the path-integrated distance. The path-integrated Fisher distance exceeds Euclidean distance on every message family, most widely on adversarial and known-fragile messages, and recovers from the geometry alone that function-word substitutions are the most disruptive single-token edits. The induced geometry provides a model-intrinsic ruler for prompt robustness testing and a quantitative tool for interpretability.
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.
P. Abrahamsson, O. Salo, Jussi Ronkainen et al.· arXiv.org· 727 citations· ⚡54
Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.
D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al.· Journal of Systems and Softw...· 236 citations· ⚡13
The Mobile-D approach is briefly outlined here and the experiences gained from four case studies are discussed, which helped develop an agile development approach for mobile application development.
P. Abrahamsson, Antti Hanhineva, H. Hulkko et al.· Conference on Object-Oriente...· 225 citations· ⚡18
The widespread adoption of long-horizon agents has made model workloads increasingly input-heavy. Although prior work has substantially reduced the cost of long-context computation, prefill remains computationally expensive, and large KV caches continue to strain HBM and SSD capacity and data-transfer bandwidth. Togeth...