Using Composition Operators to Linearize LLM Semantic Transformations
Abstract
Machine learning learns functions: prompt to response, image to caption. What these functions are mathematically remains hard to say. We present a method to approximate these kinds of transformations using techniques from dynamical systems that fall under the umbrella of Koopmanism. We introduce the use of composition operators, which generalize the Koopman operator and, crucially, can map between distinct spaces, motivating the perspective that LLM transformations are rectangular infinite-dimensional operators. This formalism reveals useful structure: under natural assumptions on the prompt and response distributions, the LLM operator is an isometry, and misalignment between learned representations manifests as spectral pollution of its finite sections. We then outline a method of constructing finite-dimensional approximations of an LLM operator, and demonstrate how the singular value spectrum can be used to compare tasks and models.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG, math.FA
- Comments
- Submitted to NeurReps workshop 2026
Related papers
Learning from Unreliable Operator References: Claim-Level Rewards for Customer Support Agents
Shared title terminologycs.CLDmitrii Stoianov, Olga Tsymboi, Danil Taranets et al.
LogToPersona: New Benchmark and Efficient Persona Prediction through Semantic Log Filtering
Shared title terminologycs.CLAhmed Alajrami, Ondrej Bohdal, Seokwoo Song et al.
FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic Semantics
Shared title terminologycs.CLYisrael Clark, Guy Katz
Implementation of Machine Translation for the Uzbek Language Based on Transformer Models
Shared title terminologycs.CLMukhammadjon Musaev, Mannon Ochilov
Squeezing More from Limited Data with Recursive Transformers
Shared title terminologycs.CLSerdar Gülbahar, Lukas Edman, Alexander Fraser
Beyond the Stitching Assumption: A Unified Framework for Multimodal Synthetic Data Evaluation via Semantic Quantization
Shared title terminologycs.CLYefeng Yuan, Zhan Shi, Liang Cheng et al.