arXiv:2610.31520cs.CLOct 2026

Manuscript Offprint

arXiv:2610.31520

The Geometry of Metaphor: Probing and Steering Metaphor Representations in Large Language Models

Shihui Li, Mette Andersen, Martha Lewis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Metaphor is a crucial aspect of human cognition. As such, we would like to understand how it is represented in large language models (LLMs) and how it might be controlled. We use mechanistic interpretability techniques to identify causal subspaces in a range of LLMs covering different architectures and sizes. We show that we are able to steer output on classification tasks across different parts of speech. We are also able to steer output on generation tasks, indicating that these techniques can be used to control the metaphoricity of LLM output.

1 Introduction

Metaphor is an essential part of everyday human language use. Sources such as Steen et al. (2010); Shutova (2010) show that metaphor pervades language. Furthermore, metaphor forms a basis for the fundamental creativity and concept formation that we are capable of (Lakoff and Johnson, 2008). Large language models such as Llama 3 (Grattafiori et al., 2024) have some capacity to understand and produce metaphorical language, although whether they are up to human performance is debated (Chakrabarty et al., 2021; Stowe et al., 2022; Ichien et al., 2024).

One way to understand the capacities of large language models is via mechanistic interpretability: by examining the internals of large language models via, for example, the Logit Lens 1^{1}, causal interventions (Meng et al., 2022), or circuit discovery (Conmy et al., 2023). Sharkey et al. (2025) provides a thorough review and discussion of open problems in the area. One recent paper, Marks and Tegmark (2024), argued that Llama models exhibited a ‘truth direction’ at particular layers, which was common to different datasets, and that the models’ output could be steered by causal intervention on this layer.

Finding such a direction for metaphor would give insight into how models represent metaphor. This has been investigated to some extent (Boisson et al., 2024) but not yet at the mechanistic level. Finding this direction could also provide a useful ‘dial’ that could potentially be used to steer the metaphoricity or literalness of output text, using techniques from e.g. Li et al. (2023). In this paper, we use activation patching (Meng et al., 2022) and distributed alignment search (Geiger et al., 2024) to find a ‘metaphoricity direction’ or subspace within a given model. We show that these directions are causally effective: we are able to change the output of models in classification tasks for metaphor identification and interpretation; and in a generation task we are able to steer the model towards more metaphorical output.