Paper Reading AI Learner

Prompt Geometry: Pullback Fisher Metrics for LLM Interpretability

2026-11-27 13:53:08
Harry Cavanagh, Edward Hirst, Guto Leoni Santos, Tom\'as S. R. Silva

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.

Abstract (translated)

URL

https://arxiv.org/abs/2611.37472

PDF

https://arxiv.org/pdf/2611.37472.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot