arXiv:2608.28334cs.AIAug 2026

Manuscript Offprint

arXiv:2608.28334

Real-Valued Hyperdimensional Sequence Representations with Hadamard Product Binding and Shift Equivariance

Kenny Schlegel, Dmitri A. Rachkovskij, Denis Kleyko, Amy Loutfi, Stefan Streif, Evgeny Osipov

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

Abstract

Encoding temporal order is a fundamental requirement for sequence representations in Hyperdimensional Computing. Fractional Power Encoding provides similarity-preserving position vectors whose inner products approximate shift-invariant kernels, and it supports shift-equivariant transformations of encoded sequence representations. However, standard formulations of Fractional Power Encoding are primarily designed for binding operations such as circular convolution or complex-valued multiplication, which limits their compatibility with Hadamard product binding of real-valued vectors. This paper develops real-valued position encodings motivated by Random Fourier Features, aiming to retain the desirable properties of Fractional Power Encoding while supporting Hadamard-based operations. We propose three real-valued position-encoding variants: a real-valued baseline based on the inverse Fourier transform, and Sinusoid and Cosine-only representations derived from Random Fourier Features. Among them, the Sinusoid variant provides an explicit algebraic shift operator, allowing temporal shifts to be applied directly to the vector-encoded sequence representation without re-encoding the shifted sequence. Experiments on time-series classification datasets show that the proposed real-valued representations achieve performance comparable to standard Fractional Power Encoding while enabling computationally efficient

K. Schlegel

Chemnitz University of Technology, Germany

E-mail: kenny.schlegel@etit.tu-chemnitz.de

D. A. Rachkovskij

Luleå University of Technology, Sweden

Institute of Information Technologies and Systems, Ukraine

D. Kleyko

Örebro University, Sweden

RISE Research Institutes of Sweden, Sweden

A. Loutfi

Örebro University, Sweden

Linköping University, Sweden

S. Streif

Chemnitz University of Technology, Germany

E. Osipov

Luleå University of Technology, Sweden

Kenny Schlegel et al.

Hadamard product binding. The Sinusoid variant offers the most favorable trade-off, combining efficient real-valued implementation with exact shift-equivariant transformations.

Keywords hyperdimensional computing · vector symbolic architectures · sequence encoding · similarity-preserving representation · fractional power encoding · random Fourier features · shift-invariant kernels · shift equivariance

1 Introduction

Encoding the order of elements (features or entities) in sequences is an important capability of Hyperdimensional Computing a.k.a. Vector Symbolic Architectures (HDC/VSA). Sequence elements can be combined into a compact, fixed-size vector representation that preserves temporal structure through binding and superposition. Throughout this work, the term vector refers to high-dimensional vectors, typically with hundreds or thousands of components. In a typical encoding approach, each element's vector is bound with its position in the sequence, and the resulting bound vectors are superimposed to form a single high-dimensional representation of the entire sequence. A central question is how element-position bindings are constructed. Many approaches encode position "implicitly" by applying position-dependent permutations to element vectors [1,2,3]. In this paper, we instead consider approaches in which positions are represented explicitly by position vectors [4,5]. Such position vectors allow the sequence representation to capture similarity or proximity relationships between nearby positions.

One approach to constructing such position vectors is Fractional Power Encoding (FPE) [6,5,7,8,9]. FPE generates position vectors whose similarity reflects the distance between positions, thereby inducing graded similarity kernels over time. It also supports shift-equivariant sequence representations: a temporally shifted sequence can be represented by transforming the already encoded sequence representation, rather than by recomputing all element-position bindings at the shifted positions [10,11,3]. This property is useful because temporal patterns often occur at different positions within a sequence. It is relevant for comparing temporally shifted patterns, searching over possible alignments, and updating sequence representations in streaming settings where newly arriving elements shift previous elements into the past. Existing implementations of FPE rely on binding operations used in Holographic Reduced Representation (HRR) and Frequency Holographic Reduced Representation (FHRR) HDC/VSA models. These models use real-valued circular convolution or component-wise multiplication in complex-valued space as binding operations [5,12]. Although this formulation provides the desired shift equivariance, efficient implementation of circular convolution typically relies on Fourier transforms, which introduces additional computational overhead.

At the same time, efficient real-valued HDC/VSAs models, such as Multipy-Add-Permute (MAP), use the Hadamard product (i.e., component-wise multiplication) as the binding operation [13]. However, it has been noted that FPE cannot be directly implemented with the real-valued Hadamard product because the required algebraic structure is not available in real-valued vector spaces [12]. As a result, existing FPE-based approaches are not directly compatible with efficient real-valued HDC/VSAs models.

This paper addresses this limitation by investigating real-valued position encodings that are compatible with Hadamard product binding while retaining the desirable properties associated with FPE, including similarity structure and shift equivariance. The following sections first review the relevant background and then introduce several real-valued position-encoding variants, together with their theoretical properties and empirical evaluation.

References (20)