arXiv:2610.39735cs.AIOct 2026

Manuscript Offprint

arXiv:2610.39735

From the Transformer to a Formal Semantics of Coordinated Transformations

Marco Giunti, Fabrizia Giulia Garavaglia

Abstract

We develop a formal semantics for a general class of coordinated systems of parameterized transformations, taking the Transformer as a paradigmatic starting point but abstracting from its particular mathematical instantiation. Representational vectors receive both extensional reference and ordered intensional interpretations, while parameter structures acquire relative, second-level interpretations that determine how argument properties are preserved, replaced, or combined. This yields the notion of a transforming concept: a parameterized transformation whose numerical action is coordinated with a corresponding property-level map. We then distinguish the common algebraic-semantic core of these systems from their architecture-specific functional organization, allowing different mathematical instantiations and mechanical realizations of the same abstract system type. The framework is applied to attention heads and residual connections, providing semantic explanations that depend only on the shared algebraic-semantic core and their local functional organization and therefore generalize beyond the standard Transformer. These analyses also reveal the modularity of the framework: complex architectures can be decomposed into simpler semantically coordinated subsystems whose organization may recur across different abstract system types.

Keywords: formal semantics; Transformer; transforming concepts; coordinated transformations; intensional semantics; attention; residual connections; functional architecture; mathematical instantiation; neural networks

1 Introduction

In previous work (Giunti and Garavaglia 2026; hereafter TR1), we proposed interpreting the Transformer as a system that transforms concepts by means of concepts. On that interpretation, the vector representations processed by the system are transformee concepts, whereas the parameterized transformations acting on them are transforming concepts. TR1 developed this interpretation for the Transformer architecture. The present paper asks a more general question: what formal semantics can be given to coordinated systems of transformations of this kind?

The problem is not specific to the standard Transformer (Vaswani et al. 2017), nor even to Transformer architectures in general. We consider a broader class of systems in which matrix- or vector-parameterized transformations may operate singly or in parallel and may be organized through direct or operational output-input interconnections and output-parameter interconnections. The mathematical framework is generalized over an extended value domain and distinguishes these parameterized transformations from the non-parameterized vector-to-vector functions used in operational blocks. This yields a class broad enough to include generalized Transformer systems without being defined by Transformer-specific mathematics.

We then develop an intensional-extensional formal semantics for these systems. Positions of representational vectors are interpreted by properties, while the vectors themselves refer extensionally to objects; the value at a position is therefore the occurrence-relative value of the property associated with that position. Parameter structures may likewise receive intensional interpretations, but they do not thereby refer to objects. Their interpretation is instead relative and second-level: it specifies how properties interpreting an argument are preserved, replaced, or combined in determining the interpretation of a result. This formal-semantic account is kept distinct from the further questions of whether and how such interpretations are representationally grounded.

The coordination between the value level and the property level yields the formal notion of a transforming concept. A parameterized transformation is a transforming concept when its numerical action is coordinated with the property-level map determined by its relative second-level interpretation. Such transformations may be intensionally invariant or intensionally changing independently of whether numerical values are preserved, and dimensional preservation does not entail intensional invariance. The framework also separates the constitutive semantic organization of a transforming concept from the genesis of its parameter values and interpretations.

At a further level, we distinguish the algebraic-semantic core shared by semantically coordinated systems of transformations from their architecture-specific functional organization. This allows different mathematical instantiations and mechanical realizations of the same abstract functional architecture and clarifies the distinct routes by which abstract systems may reach the physical level. The framework is also modular: attention heads and residual connections can themselves be treated as abstract types of semantically coordinated systems. Their semantic organization depends only on the common core and their local functional architecture, not on the overall Transformer architecture or on the particular mathematics of its standard instantiation. This makes it possible both to identify semantic invariance across mathematical variation and to distinguish semantic relations that mathematical similarity alone does not determine.

The paper proceeds as follows. Section 2 motivates the move from TR1 to the present problem and situates it within debates on representation, content, and metasemantics in AI. Section 3 develops the generalized value algebra and coordinated system architecture; Section 4 the intensional-extensional semantics; Section 5 the property algebra and transforming concepts; and Section 6 semantic coordination. Section 7 introduces abstract functional architecture, mathematical instantiation, mechanical realization, and functional-architectural invariance. Section 8 applies the framework to attention and residual connections and establishes its modularity. Section 9 discusses the philosophical significance and scope of the proposal and concludes.