Manuscript Offprint
arXiv:2608.30028Multiclass Linear Perceptrons with Multiplicative Margins
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Dmitri Rachkovskij, Evgeny Osipov, Alexander Volkov, Daswin De Silva, and Denis Kleyko. "Multiclass Linear Perceptrons with Multiplicative Margins." Neural Computation (2026) 38(4): 602-650. https://doi.org/10.1162/NECO.a.1502
With supplementary notes.
Multiclass Linear Perceptrons with Multiplicative Margins
Dmitri Rachkovskij¹,², Evgeny Osipov¹, Alexander Volkov², Daswin De Silva³, Denis Kleyko⁴,⁵
¹Department of Computer Science, Electrical and Space Engineering, Luleå University of Technology, 971 87 Luleå, Sweden
²Institute of Information Technologies and Systems, 03187 Kyiv, Ukraine
³Centre for Data Analytics and Cognition, La Trobe University, Melbourne, Australia
⁴AI, Robotics and Cybersecurity Center and Department of Computer Science, Örebro University, Örebro, 70182, Sweden
⁵Intelligent Systems Lab, Research Institutes of Sweden, Kista, 16440, Sweden
Abstract
This paper introduces a family of multiclass linear Perceptron classifiers with a multiplicative margin mechanism (MMPerc), as an alternative to standard margin-free and additive margin Perceptrons. The multiplicative formulation enforces classification confidence by requiring the true class score to exceed that of competing classes by a specified fraction of itself, rather than by a fixed additive threshold. This avoids dependence on score magnitudes arising from varied norms of data and class weight vectors.
We propose several architectural and algorithmic variants of MMPerc, derive associated loss functions and mistake bounds for both linearly separable and non-separable data, and analyze key design considerations, including bias, margin threshold selection, and training modes. Extensive experiments on synthetic and real datasets show that MMPerc classifiers typically outperform the standard Perceptron, as well as classic baselines such as Support Vector Machines and Ridge classifiers. Owing to their simplicity, minimalistic design, and computational efficiency, MMPerc classifiers are promising candidates for conventional machine learning tasks, linear evaluation of Deep Neural Networks, integration with Hyperdimensional Computing / Vector Symbolic Architecture representations, and deployment in resource-constrained applications.
Keywords: perceptron, multiclass classifier, linear classifier, vector symbolic architectures, hyperdimensional computing (HDC), HDC classifier
In many real-world problems, the input-output relationship is linear not only in the model parameters but also in the input data features. When the latter does not hold, one can apply nonlinear transformations to the input space, mapping the original features into a secondary feature space (often referred to as a Hilbert space), where the relationship is linear in the transformed features. This extends the applicability of linear models to problems that are nonlinear in the original feature space.
The Perceptron, introduced by Frank Rosenblatt in the 1950s (Rosenblatt, 1957, 1962), was the first trainable neuro-inspired classifier. It established core principles later adopted in machine learning and neural networks, with practical implementations extending to hardware (Hay et al., 1960). Rosenblatt's models also included multilayer variants, such as the alpha Perceptron, which combined fixed randomized nonlinear transformations in the early layers with a trainable linear output layer; these ideas have been revisited and extended in later work.
The corresponding two-stage architecture with a fixed randomized nonlinear feature transformation followed by a linear classifier has become a standard design in machine learning. It supports efficient training and inference, requires only modest computational requirements, and offers flexibility across diverse data types that can be represented as vectors. The linear output layer can be trained using simple iterative procedures (e.g., Perceptron/gradient-based methods) or in closed form (e.g., regularized least squares).
Linear evaluation / probing in DNNs. An important evolution of Rosenblatt's multilayer Perceptrons is the modern multilayer Perceptron (MLP), in which all layers are trainable; stacked MLPs constitute a canonical DNN architecture. Although DNNs typically require much larger datasets and longer training than single-layer linear Perceptrons, their learned nonlinear transformations can capture complex patterns in the data and address task-specific challenges. A common strategy for downstream use of DNN representations is transfer learning via linear evaluation (or linear probing): the pre-trained model is frozen and a linear classifier is trained on its learned features (He et al., 2020; T. Chen et al., 2020; Radford et al., 2021). Empirically, this indicates that the learned representations often make classes approximately linearly separable, a phenomenon supported by recent theory (Saunshi et al., 2019), (HaoChen et al., 2021). In practice, linear evaluation is an efficient, scalable alternative to full fine-tuning, especially as model size and complexity grow – highlighting the continued relevance of single-layer linear Perceptrons.
HDC/VSA. Hyperdimensional Computing (HDC) (Kanerva, 2009), also known as Vector Symbolic Architectures (VSA) (Gayler, 2004), provides a versatile paradigm that integrates neuro-inspired and symbolic AI, machine learning techniques, and computing frameworks for emerging nanoscale hardware, extending down to ultra-low-power edge devices (Neubert et al., 2019), (Thomas et al., 2021), (Aygun et al., 2023), (Clarkson et al., 2023), (Thomas et al., 2023), (Raviv, 2024), (Reimann, 2025).
A central task in HDC is to transform instances of fundamental data types (scalars, vectors, sequences, and graphs) into hypervectors such that their pair-wise similarities reflect and transform the original data relationships in ways relevant to downstream tasks. These transformations are typically randomized and nonlinear. The required dimensionality and format of hypervectors depend on the application. In scenarios involving complex knowledge structures, such as knowledge graphs, hypervectors may require thousands or more dimensions to adequately encode information, whereas TinyML applications benefit from low-dimensional, efficient formats, such as binary representations, for energy efficiency and low latency.
In classification tasks (Kussul et al., 1993, 1994), (Ge & Parhi, 2020), (Vergés et al., 2025), it is essential to deploy efficient classifiers that can operate across varying hypervector formats and dimensionalities. These classifiers should also support online learning, making linear Perceptron-based models particularly well suited for this role.
Our study. In linear classification, enforcing a margin between training instances and decision boundaries is known to improve generalization to unseen data. Support Vector Machines (SVMs) are the classic example (Vapnik & Chervonenkis, 1964), (Vapnik & Chervonenkis, 1974), (Cervantes et al., 2020). Large-margin extensions of the Perceptron have also been studied extensively, from early work (Mays, 1964), (Nilsson, 1965b), (Duda & Fossum, 1966) to later developments (Krauth & Mezard, 1987), (Freund & Schapire, 1999), (Crammer & Singer, 2003), (Shalev-Shwartz et al., 2010).
Large-margin Perceptrons have also been explored in HDC (Kussul et al., 2001), (Kussul & Baidyk, 2004), (Rachkovskij, 2007), (Rachkovskij, 2022), (Smets et al., 2023), (Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025), though this line of work remains limited. Notably, (Kussul et al., 2001) introduced a type of margin interpretable as relative or multiplicative: the true-class score must exceed competing scores by a fixed proportion of its own value, rather than by a fixed additive constant.
Prior work on multiplicative margin Perceptrons lacks comprehensive descriptions of the method and omits key elements such as associated loss functions, convergence analysis and mistake bounds, behavior on linear non-separable data, design considerations and variants. It has also been restricted to binary input vectors and non-negative class weights, constrained to integer (Kussul et al., 2001), (Kussul & Baidyk, 2004), (Rachkovskij, 2007), (Rachkovskij, 2022) or even binary values (Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025).
This article addresses this gap by introducing a family of large-margin, multiclass linear Perceptrons that enforce a multiplicative margin and operate on vector representations of arbitrary format. These models are relevant both to general multiclass linear classification and to HDC-based applications, including resource-constrained settings such as IoT, TinyML, Edge AI, and AIoT. We present the Multiplicative Margin Perceptron (MMPerc) framework, including its loss functions, learning rules, design considerations, and mistake bound analysis.
We evaluate MMPerc on synthetic and real datasets, using both real-valued and binarized original data vectors, as well as their transformations into hypervectors of varying dimensionalities. The primary focus is on comparing its classification accuracy with that of the standard Perceptron. As baselines, we also report results for well-known linear classifiers such as SVM and Ridge. Across most settings, MMPerc outperforms the baselines.
Our main contributions are as follows:
-
Architecture and algorithms for multiclass linear Perceptron classifiers with a multiplicative margin mechanism.
-
Basic theoretical analysis of multiclass linear Perceptron classifiers, covering cost functions, weight-update rules, and mistake bounds in both linearly separable and non-separable settings.
-
Key design considerations for large margin Perceptron classifiers, including bias handling, margin threshold selection, online and offline training modes, number of training epochs and stopping criteria, and selection of class prototypes for inference.
-
Experimental evaluation on synthetic and real datasets, using real-valued and binary vector representations across varied dimensionalities.
-
Performance comparison of MMPerc against standard Perceptrons, SVM, Ridge classifiers, along with an assessment of the impact of design considerations on the classification accuracy.
-
Identification of future research directions concerning architectural and training strategies for large-margin Perceptrons.
2 Background and Basic Notions
2.1 Classification and Training Settings
In the multiclass classification setting, the task is to train a classifier to assign a single class label to a given input data instance. The class label is selected from the label set . In a linear classification model, input data are represented as vectors , e.g., of dimensionality with real-valued components. The classifier is denoted as : . Other types of vector components, such as integer, binary, or ternary, are also possible.
The online learning / training setting assumes the existence of a sequence of labeled data instances (examples, points) represented as pairs , , where is the true (ground truth) class label of . Learning is performed over a sequence of rounds / trials. At round , a classifier is presented with a single instance and predicts (outputs hypothesis on) its label . Then, the classifier observes the correct label and uses this information to improve itself by updating its parameters. So, in the online setting, each instance is accessed only once. Training and testing are interleaved. The goal is to minimize the total number of prediction mistakes throughout the process.
In the offline (or batch) setting, the entire training set of N data instances is available in advance, and each data instance may be used multiple times during training. Training is typically conducted epoch-wise, where each epoch processes N data instances selected by sampling, e.g., with or without replacement. This corresponds to stochastic gradient descent (Robbins & Monro, 1951), (Nemirovski et al., 2009), (Rakhlin et al., 2012), (Gower et al., 2019), (Drori & Shamir, 2020), (Gorbunov et al., 2020), or to shuffling (Recht & Ré, 2013), (Mishchenko et al., 2020), (Safran & Shamir, 2020).
The epochs are repeated until a stopping criterion is met, such as reaching a predefined (possibly zero) number of misclassifications on the training set or completing a specified number of epochs. The goal of training is to produce a classifier that performs well on new, unseen data instances. This assumes that the new data instances are drawn from the same distribution as the training set. Therefore, performance on a separate validation dataset can also be used as a stopping criterion.
For online classification (Shalev-Shwartz & Ben-David, 2014), (Mohri et al., 2018), the realizable case means that the class labels in the data sequence have been produced by some classifier from the (known) model family . Let us denote as the maximal number of mistakes an online classifier might commit on any arbitrary data sequence (without assumptions about the generating process of or the ordering of those instances) of any length , labeled by any single . This represents the worst-case analysis.
If , then is called the mistake bound. The classifier family is considered online learnable if there exists that has a mistake bound. Note that this implies that after making at most mistakes (in rounds), makes no further mistakes, i.e., it converges. This differs from the “usual” notion of convergence (on a training sequence) in that it assumes zero mistakes not only on the observed data but also on any future data (in the realizable case). The issue, however, is that can be very large.
In the typical offline epoch-wise setting, the size of the dataset is . In the online learnable case, will converge after no more than epochs in the worst case (assuming it makes a single mistake per epoch to avoid earlier convergence). In the online non-learnable case, does not converge. In practice, it is then stopped after a predefined number of epochs.
Notation. We use for the original feature vector dimensionality and for the hypervector dimensionality (after transformation); all mentions of “-dimensional” refer to the latter.
2.2 The Model: Linear Multiclass Perceptron of Rosenblatt
Consider a multiclass single-layer Rosenblatt Perceptron that is linear in its parameters. Let denote the weight vector for class . These weight vectors can be arranged into a matrix (of size ), where the transpose of forms the -th row of . To predict the class (label) of a data instance , the linear multiclass Perceptron classifier operates as follows. First, it computes the vector of class scores (activations) as . The predicted class label is then determined by the index of the highest score:
If there are ties among the highest scores, the class returned by (2.1) may be selected either randomly or according to the argmax implementation. Thus, if the true class is among the tied scores, the prediction may or may not be correct.
Given an instance , in the case of a mistake , the class weight vectors are updated using the Perceptron error-correction rule (Rosenblatt, 1962):
(2.2)
If the prediction is correct, i.e., , the weights remain unchanged:
In the realizable case of linearly separable data, a Perceptron using this learning rule is guaranteed to converge (Novikoff, 1962), (Rosenblatt, 1962), (Duda & Hart, 1973). Many such update rules were originally proposed as ad-hoc heuristics, commonly referred to as "error correction rules," without formal justification. However, they can be interpreted as solutions to specific optimization problems associated with corresponding loss functions.
2.3 Perceptron's Loss Function
Machine learning models are commonly trained by formulating an optimization problem with a loss (objective) that quantifies prediction quality (possibly with constraints), and then adjusting parameters using an appropriate optimization method. For online or complex offline problems, iterative schemes such as gradient/subgradient methods are often used (e.g., (Shor, 1985), (Shalev-Shwartz & Ben-David, 2014), (Mohri et al., 2018)).
A natural approach in the online setting is to minimize the cumulative loss over rounds:
Here is the loss for the -th data instance. In the offline setting, one minimizes the empirical risk on the training set
as a proxy for the expected risk (generalization error) on unseen testing set.
A natural loss function for classification tasks is the 0-1 loss:
where . For empirical risk minimization (ERM), classifiers are evaluated with fixed . Direct minimization with the 0-1 loss is difficult because the indicator function is neither continuous nor convex nor differentiable with respect to the weight vectors , which impedes first-order methods (cf. (Shor, 1985), (Shalev-Shwartz & Ben-David, 2014); but see (Nguyen & Sanner, 2013) for approaches addressing this issue).
For a multiclass Perceptron classifier, let us define the classification score margin as:
where is the class-competitor (the class with the highest score among the incorrect classes for ).
Now, a per-instance Perceptron loss could be defined as:
(2.8)
where denotes the positive part function. Thus, when and ; otherwise and positive loss is incurred: . In the two-class ERM case, this loss could be inferred from the classic treatment of (Duda & Hart, 1973).
This Perceptron loss function is continuous, monotonically non-increasing, and convex. It is differentiable with respect to the model parameters (the Perceptron class weight vectors), except at the hinge point , where subgradients (Shor, 1985) can still be computed. Therefore, subgradient descent can be used to update the Perceptron class weight vectors:
where the vector is the subgradient of with respect to , and is the learning rate. The subgradient is evaluated at the current weights and instance .
Let us consider some issues associated with the use of this . It is natural to interpret as a mistake indicator: signals a mistake, while corresponds to correct classification. Then, the subgradients are as follows. When (indicating mistake), we have , and thus
The corresponding subgradients are
When (indicating correct classification), the loss is constant and equal to zero, and we may use . Using these subgradients and setting in (2.9), the resulting weight updates coincide with the Rosenblatt Perceptron error-correcting rule (2.2), (2.3).
However, several issues arise in connection with :
(1) is not an upper bound for the 0-1 loss and, therefore, it is not a surrogate loss for in the sense of (Shalev-Shwartz & Ben-David, 2014). Consequently, minimizing does not necessarily imply a decrease in the number of classification mistakes . For example, it may occur that get arbitrarily small values while the corresponding remain maximal, i.e., . A particularly illustrative failure of using directly as a practical training objective arises when the weights are initialized to zero. In this case, for any we have for all , so and hence . With zero loss, there is no update signal, the Perceptron class weights remain at zero, and training stalls before it begins.
(2) Another issue arises when the true-class score ties one or more competing scores, i.e., when for some . Here again and , so no update is triggered. In contrast, the Perceptron can still update at and whenever the class prediction given by (2.1) is a mistake, thereby enabling Perceptron training in practice.
One fix that recovers the Perceptron error-correction rule is to avoid treating as certifying correctness and instead rely on the prediction given by (2.1). Then, the subgradients of are still used to derive the update rule. When a mistake occurs at , where is nondifferentiable; any admissible subgradient vector at that point may be applied, specifically, the mistake-case subgradient (2.11) is used. Notably, in the ERM setting, (Duda & Hart, 1973) defined the cumulative loss as the sum of taken only over those training instances on which a mistake occurs.
Despite this fix, which allows using to recover the Perceptron's error-correcting rule (2.2)-(2.3), still does not upper bound the 0-1 loss. Certain generalization guarantees for ERM with surrogate losses rely on the surrogate upper-bounding the target loss; when this condition is not met, those guarantees need not apply. Moreover, for an upper-bounding surrogate, small (or zero) surrogate loss immediately implies small (or zero) target loss; lacks this property.
Let us consider some additional issues associated with Perceptron training:
(3) As noted in section 2.2, in the realizable case of linearly separable data, a Perceptron trained with the error-correcting rule converges. However, the resulting class boundaries at convergence may lie arbitrary close to training instances while still separating the classes. This occurs because correct classification requires only that , regardless of its magnitude. Enforcing a positive margin threshold ( ) increases the separation between the decision boundary and the training instances and can improve generalization by reducing testing error. This principle underlies large-margin classifiers such as SVM and related models.
(4) A related concern is noise sensitivity when the margin threshold is zero: when class scores are close, small fluctuations can arbitrarily flip the predicted class, yielding either no update or inconsistent updates for the same input vector and weights during training. This issue was recognized in early work (Mays, 1964), (Duda & Hart, 1973) and addressed in some later studies, e.g., (Khardon & Wachman, 2007).
2.4 Large-Margin Perceptrons
The issues outlined above have been addressed within the framework of large-margin Perceptrons. In the setting we focus on, a positive threshold is applied to the classification score margin. During training, this threshold replaces the Perceptron's original zero-margin criterion for deciding whether a prediction is correct. By requiring higher confidence in correct predictions, this approach encourages decision boundaries to lie farther from the training instances, potentially improving generalization.
For the margin type we call an additive margin, the two-class case (which uses a single weight vector; see (Mays, 1964), (Tsampouka & Shawe-Taylor, 2005)) extends naturally to the multiclass setting as follows. A mistake occurs when , with , i.e., , which can equivalently be written as
. We refer to this as an additive margin because the threshold value is subtracted. Setting recovers the standard Perceptron, except in the case .
For the margin type we call a multiplicative margin, a mistake occurs when , (Kussul et al., 2001). This condition can be rewritten as or . In this formulation, the margin is compared to a fraction of the true class score ; we, therefore, refer to it as a multiplicative margin. Setting again recovers the standard Perceptron, except in the case . Note that the ratio form above requires , see relevant discussions in sections 3.1.2.1 and 3.4.2.
The first explicit mention of a Perceptron with a multiplicative margin in English appeared in (Kussul et al., 2001), see also (Kussul & Baidyk, 2004), (Rachkovskij, 2007). A more detailed overview of related work, including Rosenblatt's Perceptrons, multiclass linear Perceptrons, large-margin Perceptrons, fixed input nonlinear transformations, and HDC classifiers, is provided in Supplementary Note 1.
3 Method
In this section, we present loss functions and learning rules for multiclass large margin Perceptrons (section 3.1), mistake bound analysis (section 3.2 and 3.3), and discussion (section 3.4).

Figure 1: The -hinge loss (solid lines) upper bounds the 0-1 loss scaled by (dashed lines).
3.1 Loss Functions and Learning Rules for Multiclass Large-Margin Perceptrons
While our primary focus is on multiclass linear large-margin Perceptrons with a multiplicative margin, we also present the multiclass additive margin formulation for completeness, since it is typically treated in the literature only in the two-class setting and to highlight specific aspects of our formulation.
3.1.1 Additive Margin Formulation
For the large margin multiclass Perceptron with an additive margin (AMPerc), we define the loss function as the multiclass -hinge loss in the sense of (Crammer & Singer, 2001):
(3.1)
For , we recover the multiclass Perceptron loss: (with its drawbacks noted in section 2.3). For , we obtain the 1-hinge loss, which corresponds to the multiclass hinge loss function of (Crammer & Singer, 2001): . For any , upper bounds the scaled 0-1 loss: . Thus, this loss is not only convex (as well as monotonic and continuous, like ), but also qualifies as a convex surrogate loss (Shalev-Shwartz & Ben-David, 2014) for the scaled 0-1 loss , see Figure 1.
Now consider the use of for mistake detection during training and for subgradient calculation in deriving the AMPerc update rule. The loss is zero when , i.e., , and positive when . These correspond to correct and incorrect classification in AMPerc, respectively, as introduced in section 2.3.
Note that if and therefore , then , which signals a mistake. In contrast, as discussed earlier, when , providing no learning signal and effectively preventing training from starting. Furthermore, when but , again signals the need for an update.
To derive the AMPerc learning rule, subgradients are calculated as follows. In the mistake case :
Thus, the resulting subgradients are the same as in (2.11).
In the case of correct classification ( ), the loss is constant and zero: . Then for all . At the hinge point , the subgradient is chosen to be the zero vector. Thus, in AMPerc, weights are updated only when a mistake occurs, modifying the weight vectors of the two classes and exactly as in the standard Perceptron, see (2.2)-(2.3). During training, AMPerc detects mistakes using the condition . During evaluation, however, it relies on the 0-1 loss, with from (2.1), as the mistake indicator.
3.1.2 Multiplicative Margin Formulation
For MMPerc, we define the loss function as the multiclass s-hinge loss:
(3.3)
For , we recover the multiclass Perceptron loss: .
The criterion for mistake detection during training is , which corresponds to , whereas and indicate correct classification. This formulation directly addresses the issues of the standard Perceptron discussed in section 2.3.
In (Kussul et al., 2001; Kussul & Baidyk, 2004; Rachkovskij, 2007, 2022, 2024), weight updates in the case of a mistake followed the standard Perceptron rule (2.2)-(2.3). In evaluation mode, the trained MMPerc predicts labels exactly as the standard Perceptron (2.1). Now, let us derive the learning rule directly from the subgradients of . In the case of a mistake, . Then, the subgradients are:
Thus, the update rule becomes:
(3.5)
(and in the case of no mistake).
We refer to this MMPerc variant as the large margin multiclass Perceptron with the asymmetric learning rule (MMPerc-Asm).
3.1.2.1 The asymmetric case with absolute true-class score
When the components of input vectors and class weights are restricted to be non-negative (Kussul et al., 2001; Kussul & Baidyk, 2004), see also (Magri, 2015), then we have , and thus . However, for arbitrary and , it is possible that . In this case, and , which increases rather than decreases the true-class score. Moreover, if , then misclassification cannot occur for any . To address this issue (but see also section 3.4.2), we propose to modify the true class score during training as , ensuring . The corresponding loss becomes
where sign(.) denotes the standard sign function.
A positive incurred loss indicates a mistake, while corresponds to correct classification. If the update rule is the standard Perceptron one, we refer to this variant as the multiclass Perceptron with an absolute multiplicative margin (MMPerc-Abs).
Now consider the version with an absolute multiplicative margin and an asymmetric learning rule (MMPerc-AbsAsm). In case of a mistake, the incurred loss is positive, and we have:
(3.7)
The subgradients are:
(3.8)
Accordingly, the weights are updated as
(3.9)
In the following sections, we analyze several variants of MMPerc. For completeness, we also include the AMPerc variant. Section 3.2 presents mistake bounds (as defined in section 2.1) for the realizable case of linearly separable classes, under the classic online learning setting introduced in section 2.1. The linearly non-separable case is discussed in section 3.3.
3.2 Mistake Bounds for the Linearly Separable Case
To derive mistake upper bounds for different large-margin Perceptrons, we build upon the classic analysis of the margin-free two-class Perceptron (Novikoff, 1962 and its extensions to the multiclass setting (Crammer & Singer, 2003), (Beygelzimer et al., 2019).
Let us denote by the matrix without rows and . The Frobenius norm of a matrix is denoted by , while the Euclidean norm of a vector is . The Frobenius dot product of two matrices , is denoted by .
Consider T data instances:
(3.10) and . The data instances are assumed to be linearly separable with an additive margin , meaning there exist weight vectors (which can be viewed as rows of a matrix ) such that:
Note that (3.11) is equivalent to .
Let us further assume
3.2.1 Theorem 1 (Mistake bounds for large margin Perceptrons in the linearly separable case):
Using the definitions and notations introduced above, the number of mistakes made by the various large-margin multiclass Perceptron variants is upper-bounded by the following values :
(1) Multiclass Perceptron with an additive margin (AMPerc): .
(2) Multiclass Perceptron with a multiplicative margin and the standard Perceptron learning rule (2.2)-(2.3) (MMPerc): , where .
(3) Multiclass Perceptron with a multiplicative margin and the standard Perceptron learning rule (2.2)-(2.3) (MMPerc-Abs): , where .
(4) Multiclass Perceptron with a multiplicative margin and the asymmetric learning rule (3.5) (MMPerc-Asm): , where .
(5) Multiclass Perceptron with an “absolute” multiplicative margin and the asymmetric learning rule (3.9) (MMPerc-AbsAsm): , where .
Proof. See Supplementary Note 2.1.
By setting the margin threshold parameters or to zero in the above formulas for multi-level Perceptrons, we recover the mistake bound of the standard multiclass Perceptron:
as established in prior work (Crammer & Singer, 2003), (Beygelzimer et al., 2019). As discussed in section 2.1, the existence of such a bound in the linear separable case also implies convergence of training in the offline setting.
From the mistake bounds (2)-(3) for MMPerc and MMPerc-Abs, we observe that a finite and positive upper bound exists only if , i.e., . Similarly, from the mistake bounds (4)-(5) for MMPerc-Asm and MMPerc-AbsAsm, the condition becomes , i.e., . Since is generally unknown, selecting an appropriate value of is necessary to ensure the existence of a valid upper bound. Additionally, noting that , and , we see that introducing a margin increases the upper bound on the number of mistakes for large-margin Perceptrons compared to the standard Perceptron. On the other hand, if the upper bound becomes non-positive according to these formulas, alternative convergence criteria may be considered, such as those based on step-wise convergence (Tsampouka & Shawe-Taylor, 2005). Furthermore, an increase in the number of mistakes does not necessarily imply slower convergence, whether measured in epochs or even in the number of trials with mistakes. It may lead to solutions with larger margins, as discussed in section 3.4.2.
3.3 Mistake Bounds for the Linearly Non-Separable Case
In the non-realizable case of linearly non-separable data (section 2.1), we analyze the number of mistakes made by multiclass Perceptrons with margin, relative to the performance of any fixed linear classifier (“competitor”), possibly the best in hindsight. We adopt the analysis framework developed for the margin-less multiclass Perceptron in the online setting, as discussed in, e.g., (Beygelzimer et al., 2017) (full-information setting), (Fink et al., 2006; Kakade et al., 2008). See also the two-class case in (Mohri & Rostamizadeh, 2013), (Shalev-Shwartz & Ben-David, 2014), (Mohri et al., 2018).
The performance of the competitor linear classifier with weight matrix U is measured in terms of the multiclass b-hinge loss, defined as:
3.3.1 Theorem 2 (Mistake bounds for large margin Perceptrons in the linearly non-separable case):
Given any sequence of data instances , , where (3.10), and , and any (competitor) multiclass linear classifier with weight vectors (rows of matrix ), the number of mistakes made by the various large-margin multiclass Perceptron variants is upper-bounded by as follows.
Let be the cumulative -hinge loss of the competitor on the instances where a large-margin multiclass Perceptron variant makes a mistake. Then:
(1) Multiclass Perceptron with additive margin (AMPerc):
(2) Multiclass Perceptron with multiplicative margin and the Perceptron learning rule (2.2)-(2.3) (MMPerc):
(3) Multiclass Perceptron with multiplicative margin and the Perceptron learning rule (2.2)-(2.3) (MMPerc-Abs):
(4) Multiclass Perceptron with multiplicative margin and the asymmetric learning rule (3.5) (MMPerc-Asm):
(5) Multiclass Perceptron with “absolute” multiplicative margin and the asymmetric learning rule (3.9) (MMPerc-AbsAsm):
Proof. See Supplementary Note 2.2.
The mistake bounds for the linearly non-separable case differ from those of the separable case in that the former are not fixed constants but grow with the number of training instances T. Setting the margin threshold parameters or to zero in the above formulas for large-margin Perceptrons, we obtain the mistake bound:
Now, setting so that is the cumulative 1-hinge loss of the competitor, we recover the known mistake bound of the standard multiclass Perceptron in the linearly non-separable case: , as established in (Fink et al., 2006), (Kakade et al., 2008), (Beygelzimer et al., 2017).
In the linearly separable case, where the cumulative 1-hinge loss of the competitor is zero (), this simplifies to . The condition -hinge( any input implies that . By normalizing the competitor's weights as we obtain linear separability with additive margin . Thus, we recover the classical mistake bound for the linearly separable case (3.13): .
An extension to other loss functions of the competitor can be considered, such as any power of the multiclass hinge loss between 1 and 2, via Hölder's inequality (Beygelzimer et al., 2017), or to a family of admissible convex losses (Mohri & Rostamizadeh, 2013), (Mohri et al., 2018).
3.4 Discussion
3.4.1 On Generalization Error
Generalization bounds for algorithms typically require the data instances to be i.i.d. (independently and identically distributed) samples from some underlying distribution. One approach, proposed in (Cesa-Bianchi et al., 2004), establishes bounds on the expected loss on future instances by selecting the classifier obtained at round that minimizes a penalized empirical risk. The loss function may be the number of mistakes, thereby yielding generalization error bounds. This framework enables the incorporation of the mistake bounds derived in previous sections to obtain generalization bounds for the corresponding multiclass Perceptron variants.
More broadly, the study of generalization behavior and bounds remains a promising direction, particularly in the modern context of benign overfitting in overparameterized models, as explored, e.g., in (Bartlett & Long, 2021; Gastpar et al., 2023). Overparameterization is a common scenario for linear models when they are applied to high-dimensional data representations such as hypervectors in HDC.
3.4.2 Additive vs Multiplicative Margin
Learning rate. Categorization of Perceptron algorithms based on the behavior of their “effective” learning rate and margin threshold during training has been discussed in (Tsampouka & Shawe-Taylor, 2005). In the Perceptron variants we consider, a constant nominal learning rate is used. However, if we view the learning rate in terms of the relative increment in the norm of the weights vectors, this effective learning rate decreases over the course of training. This occurs because the norm of the class weight vectors grows as training progresses, while the norms of the data instance vectors remain fixed. As a result, the relative impact of each individual update diminishes over time.
For multiclass Perceptrons, we have . When a mistake occurs on , is updated with , which consists of terms in the rows and , regardless of . The relative norm change . Here, can be interpreted as an effective learning rate, which decreases linearly with the number of mistakes . This behavior can be viewed as a natural form of learning-rate decay: as training progresses and the norms of the class weight vectors grow, each individual update has a smaller relative effect. This, in turn, provides a self-regulating mechanism that contributes to stabilization and convergence of the algorithm, reducing overshooting and allowing the decision boundary to stabilize.
Margin thresholds. In AMPerc, misclassification occurs when . Since weight values grow during training, the margin also tend to increase for the same , while the threshold remains constant. This affects the classification outcome. To quantify it, let us introduce the effective margin , so that scaling of does not change the effective margin value. The misclassification condition preserving the same classification decision as before becomes . Since , this implies . Thus, the effective margin threshold decreases with the number of mistakes made during training.
This self-regulating mechanism is analogous to the decrease of the effective learning rate discussed above. It supports the stabilization and convergence (in linearly separable cases) of the algorithm by preventing overshooting and allowing the decision boundaries to stabilize. However, the decrease of contradicts the original motivation for introducing a margin in the Perceptron framework (section 2.3), especially when becomes large.
Let us consider the value for AMPerc in the separable case (see also (Krauth & Mezard, 1987; Li et al., 2002; Tsampouka & Shawe-Taylor, 2005)). The value is minimal when is maximal. This maximum occurs at , where is the mistake bound. Using earlier derivations for AMPerc, we obtain . Therefore, and , with equality in the worst case.
Further, we observe that , with equality at . Thus, the number of mistakes required by AMPerc to reach may be much larger than the mistake bound of the standard Perceptron. In contrast, misclassification in MMPerc occurs whenever (or ). Hence, both the classification outcome and the update/no-update decision depend only on the relative values of the class scores, not on the scaling of .
Therefore, as the score magnitudes increase during training due to the growing magnitude of the elements of , the same relative (multiplicative) margin continues to be enforced. This means that, unlike AMPerc, the number of mistakes in MMPerc does not decrease merely as a result of weight norm growing but depends on how the weights adjust during training to satisfy the specified multiplicative margin threshold condition for the data instances.
A limitation of the MMPerc-Abs margin formulation arises when and . In this case, no mistake is ever triggered, regardless of the value of , even as approaches 1.0. When , the margin threshold remains zero for any , since .
4 Experimental Investigation
To evaluate our multiclass linear Perceptron with a multiplicative margin, we first outline the key design considerations and modifications in section 4.1. The datasets and baseline classifiers used in the experiments are introduced in section 4.2. Experimental results are presented in sections 4.3 and 4.4.
4.1 Key Design Considerations and Modifications
This section outlines essential design considerations for large-margin Perceptron classifiers, which must be addressed to enable their practical use in experiments.
4.1.1 Bias
Although a bias term is inherent in linear models, it is typically omitted in HDC classifiers. Possible reason is that hypervectors are often implicitly normalized. For example, dense binary hypervectors contain about half 1s, so their squared norm has mean and variance under a binomial model. The resulting Pearson coefficient of variation, , implies concentration around the mean, effectively normalizing them. Moreover, binary hypervectors often maintain a fixed fraction of 1s.
Perceptrons are naturally suited for such bias-free settings, where the decision boundary passes through the origin. However, for more general data, including a bias becomes essential. A standard approach is to augment each data vector with a constant bias component (Mays, 1964), (Duda & Hart, 1973), (Tsampouka & Shawe-Taylor, 2005), allowing the model to operate on homogenous vectors instead of maintaining and updating a separate additive bias term. While this component is typically set to 1, our empirical evaluation found that this choice performed poorly. Instead, setting it proportional to notably improved classification accuracy. We attribute this to the fact that unnormalized data vectors have norms up to , so substantial shifts of the decision boundary require bias-term updates of order . Concretely, the bias-term increment after an update is , compared to 1 when the bias component equals 1.
We have found very few studies that discuss such alternative bias scaling. (Cristianini & Shawe-Taylor, 2000; Li et al., 2002) mention adding when updating the bias term, while (Khardon & Wachman, 2007) use the average squared norm of the data vectors to initialize it. Although scaling the bias component by a constant factor could perform better, we fixed it to to avoid additional tuning overhead. Note that, for binary vectors, a bias-term update of requires augmenting them with extra 1-components (since ), potentially doubling the dimensionality. In practice, handling the bias component with non-binary arithmetic may therefore be more efficient.
Overall, our experiments confirm that incorporating a bias term can be critical for improving the accuracy of multiclass Perceptrons on certain datasets.
4.1.2 Margin Threshold Selection and Training Settings
The margin threshold is treated as a hyperparameter and is selected through cross-validation from a predefined set of candidate values. Depending on the dataset, this choice can substantially affect classification accuracy.
A single pass through the training data corresponds to the online learning setting. In contrast, the offline setting presents the training data multiple times, epoch-wise, with evaluation on a separate testing set. Offline training typically yields higher accuracy and is the standard for reporting baseline results of other classifiers; thus, we adopt it. The offline setting further allows the order of training instances to vary between epochs (section 2.1); in our experiments, we apply random shuffling at each epoch. Note that if the online data sequence is constructed by concatenating the per-epoch sequences from offline training, the two procedures produce identical classifiers.
In both online and offline settings, classifier updates need not occur after each mistake but may be accumulated over a batch of instances. However, we use a batch size of 1, consistent with the online setting, and because larger batches did not consistently improve performance in preliminary tests. These tests also showed no benefit from the asymmetric learning rule. Since prior studies consistently employed the symmetric variant, we adopt the symmetric MMPerc-Abs for all reported experiments.
4.1.3 Number of Training Epochs and Stopping Criteria
A basic stopping criterion is to halt training after a fixed number of epochs. Another approach is early stopping once the target training accuracy is reached. Using validation accuracy for stopping is more principled, but it reduces the effective training set and complicates mapping the optimal number of epochs back to the full training set.
In our setup, training stops after a predefined maximum number of epochs, or earlier if training accuracy reaches a specified value, typically 1.0 or close to it, indicating convergence. These values are set for each experiment. For some datasets, convergence is reached within the first few epochs, especially when the margin threshold is small or zero.
4.1.4 Selection of Class Weights for Classifier Evaluation
After training, one must select which set of class weights to use for evaluation. A straightforward approach is to take the final weights from the last training epoch (Kussul et al., 2001; Kussul & Baidyk, 2004; Rachkovskij, 2007, 2022, 2024). However, this can be problematic when determining the optimal number of the training epochs across datasets. Therefore, we instead select the weights from the epoch with highest training accuracy, similar to the pocket algorithm (Gallant, 1990) in the online setting, or to approaches used in recent HDC studies (Smets et al., 2023). If training converges, these weights coincide with the final ones. While this method may not always yield the best testing accuracy (as determined across all epochs), it remains a reasonable approach.
4.2 Datasets and Classifiers
4.2.1 Synthetic Datasets from DataGen
Synthetic data provide controlled conditions for experimentation and help build intuition about classifier behaviour – particularly how classification performance is influenced by data dimensionality, number of classes, and training set size. To generate synthetic data, we used DataGen (Rachkovskij & Kussul, 1998). While DataGen offers extensive control over data parameters (e.g., noise types and levels), in this study we used only its basic configuration.
Each data instance is a -dimensional real-valued vector with components in [0,1]. For each class, a single class center is sampled uniformly. Training instances are then generated by sampling each component from a Gaussian distribution centered at the corresponding component of the class center, with a fixed standard deviation. Each class instance is constrained to be closer (in Euclidean distance) to its own class center than to any other. Testing instances are generated in the same way, but from a uniform distribution. No noise is added to the features or class labels in either training or testing sets, producing class regions that are separable by piece-wise linear decision boundaries.
4.2.2 Real Datasets
We used the same four publicly available datasets as in (Smets et al., 2023) (see Table 1):
(1) UCIHAR (Anguita et al., 2013) (Dua & Graff, 2019) contains data from acceleration and velocity recordings to recognize the activity of subjects.
https://archive.ics.uci.edu/dataset/240/human+activity+recognition+using+smartphones
(2) CTG (Dua & Graff, 2019) contains cardiotocography data to classify fetal states. https://archive.ics.uci.edu/dataset/193/cardiotocography
(3) ISOLET (Dua & Graff, 2019) contains speech signal data of each alphabet letter to be classified. https://archive.ics.uci.edu/dataset/54/isolet
(4) HAND (Rahimi, Benatti, et al., 2016) contains electromyography signal data for hand gesture recognition. Five datasets are available: HAND1 through HAND5. https://iis-people.ee.ethz.ch/~arahimi/papers/ICRC16.pdf
Each dataset was split into 80% training and 20% testing sets. For UCIHAR and ISOLET, these splits were available from the original sources, while for CTG and HAND, we performed the splits ourselves. Additionally, we created five partitions of each training set for 5-fold cross-validation.
Table 1: Real datasets
| dataset | train/test split | train size | test size | classes K | features d |
|---|---|---|---|---|---|
| CTG | No | 1701 | 425 | 3 | 21 |
| UCIHAR | Yes | 7352 | 2947 | 6 | 561 |
| ISOLET | Yes | 6238 | 1559 | 26 | 617 |
| HAND1 | No | 119065 | 29766 | 5 | 4 |
| HAND2 | No | 111308 | 27827 | 5 | 4 |
| HAND3 | No | 110059 | 27514 | 5 | 4 |
| HAND4 | No | 107468 | 26867 | 5 | 4 |
| HAND5 | No | 78504 | 19626 | 5 | 4 |
| HAND(1..5) | No | 526404 | 131600 | 5 | 4 |
4.2.3 Data Standardization and Transformation
No standardization was applied to the synthetic DataGen datasets. For real datasets, input data vectors were standardized using z-scoring. Training and testing sets were standardized independently, both during cross-validation and final evaluation.
To evaluate and compare classification accuracy across vector data of varying dimensionalities, we transformed real-valued input vectors into hypervectors. Of the three main approaches for such transformations: compositional, random projection-based, and receptive field-based (Rachkovskij et al., 2013), (Kleyko et al., 2022), we adopted the random projection (RP) approach due to its simplicity and straightforward implementation. Specifically, input vectors were projected to the target dimensionality using multiplication with a random Gaussian matrix. For nonlinear transformation, we applied the simplest scheme: RP followed by component-wise binarization using zero thresholding (Charikar, 2002), see also (Rachkovskij, 2015), (Dasgupta et al., 2018), (Thomas et al., 2023). No further standardization was applied to the resulting hypervectors, whether real-valued or binary.
4.2.4 Classifiers
Our primary focus is to compare the classification accuracy of the standard multiclass Perceptron (Perc) and the MMPerc-Abs variant (hereafter MMPerc for brevity), across different sets of margin threshold values , as described in the respective experiments. To control model capacity, the other two baselines are also restricted to classic linear classifiers that, like Perc and MMPerc, maintain one weight vector per class, but use a one-vs-all setup. These are SVM (MATLAB's built-in implementation with default hyperparameters) and Ridge (scikit-learn's RidgeClassifier with the regularization hyperparameter ).
4.3 Experiments with Synthetic Datasets
In the synthetic dataset experiments, we used and number of classes . The number of training instances per class varied as , with testing instances per class. Training instances were sampled from Gaussians with standard deviation 0.1. When input vectors were transformed to higher-dimensional hypervectors, the target dimensionality was set to . Unless otherwise stated, MMPerc classifiers were trained either until convergence (i.e., training accuracy 1.0) or for a maximum of 1000 epochs. For selected configurations, classification accuracies on the testing set are reported in tables for the evaluated classifiers: SVM, Ridge, Perc, and MMPerc (for specific -values indicated in the table headers). The corresponding class regions and decision boundaries are illustrated in associated figures.
4.3.1 Results on Synthetic DataGen Datasets
The two-dimensional case (d=2) enables direct visualization of data instances, class regions, and classifier decision boundaries. In the figures below, distinct class regions are shown in different colors. The left panels show decision boundaries produced by SVM, Ridge, Perc, and the best-performing MMPerc variant. The right panels show MMPerc decision boundaries for various -values, with darker shades corresponding to larger .
Results for , , and are summarized in Table 2, Figure 2, and Figure 3. We observe that Perc always perfectly separates the training set; however, its decision boundaries are placed arbitrarily, providing only the minimal separation required. This is particularly evident for small trainings sets (low ). In contrast, MMPerc exhibits smooth adjustments of its decision boundaries as varies, which directly affects classification accuracy. For certain -values, MMPerc consistently achieves higher accuracy than Perc. Meanwhile, SVM and Ridge classifiers occasionally fail to perfectly separate the training set, due to limitations inherent in the one-vs-all classification strategy. Their testing sets accuracies are also lower.
We additionally evaluated other synthetic dataset configurations (Supplementary Note 3.1), including: and ; RP-based expansion from to ; and assessments of bias and binarization effects.
4.3.2 Discussion of Experimental Results
Across the synthetic DataGen datasets, MMPerc almost always outperformed Perc for some value of the margin threshold . Visualizations of decision boundaries further support this, showing that at suitable -values, MMPerc boundaries better align with true class regions. Thus, selecting an appropriate is critical for realizing MMPerc's benefits. As expected, including a bias term is also important and should be considered carefully when applying the model to new datasets. The accuracy of SVM and Ridge classifiers is generally lower than that of MMPerc, with one exception observed for SVM in the configuration with , , transformed to via RP, and .
In summary, the experiments on synthetic data confirm that the multiclass Perceptron with a multiplied margin is a compelling alternative to the standard Perceptron, as well as to SVM and Ridge classifiers under one-vs-all setup. With an appropriate choice of the margin threshold hyperparameter and a suitable bias term value (for unnormalized data), MMPerc can yield higher classification accuracy. However, the extent to which these design considerations and conclusions transfer to real datasets remains an open question. To address this, we therefore extend our evaluation of MMPerc to several real datasets, focusing on the impact of margin threshold selection and the use of a bias term.
Table 2: Classification accuracies of SVM, Ridge, Perc, MMPerc (for -values indicated in the top row). The corresponding class regions and decision boundaries are shown in Figure 2 and Figure 3. , .
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 3 | 5 | 0.8913 | 0.8660 | 0.7873 | 0.8307 | 0.9013 | 0.9260 | 0.8740 | 0.8927 | 0.9487 | 0.9320 | 0.9320 | 0.9260 | 0.9273 |
| 2 | 3 | 50 | 0.8729 | 0.8487 | 0.9273 | 0.9167 | 0.9327 | 0.9367 | 0.9427 | 0.9347 | 0.9613 | 0.9493 | 0.9407 | 0.9293 | 0.9246 |
| 2 | 3 | 500 | 0.8620 | 0.8347 | 0.9580 | 0.9900 | 0.9933 | 0.9927 | 0.9893 | 0.9807 | 0.9747 | 0.9667 | 0.9560 | 0.9473 | 0.9447 |
| d | C | S | SVM | Ridge | Perc | 0.02 | 0.04 | 0.06 | 0.08 | 0.1 | 0.12 | 0.14 | 0.16 | 0.18 | 0.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 10 | 5 | 0.5326 | 0.5194 | 0.7884 | 0.7874 | 0.7964 | 0.8726 | 0.8396 | 0.7834 | 0.8372 | 0.8378 | 0.7914 | 0.7956 | 0.8108 |
| 2 | 10 | 50 | 0.5306 | 0.5596 | 0.9128 | 0.9216 | 0.9354 | 0.9298 | 0.9532 | 0.9518 | 0.9178 | 0.9344 | 0.9196 | 0.9088 | 0.8934 |
| 2 | 10 | 500 | 0.6266 | 0.5600 | 0.9312 | 0.9662 | 0.9562 | 0.9632 | 0.9614 | 0.9596 | 0.9606 | 0.9534 | 0.9444 | 0.9326 | 0.9156 |
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 3 | 5 | 0.8133 | 0.7087 | 0.5207 | 0.5207 | 0.5207 | 0.7287 | 0.7553 | 0.7327 | 0.8067 | 0.8053 | 0.8140 | 0.8027 | 0.8160 |
| 10 | 3 | 50 | 0.8247 | 0.7973 | 0.6567 | 0.6733 | 0.6720 | 0.8380 | 0.8467 | 0.8387 | 0.8647 | 0.8353 | 0.8247 | 0.7860 | 0.7727 |
| 10 | 3 | 500 | 0.8107 | 0.7980 | 0.8260 | 0.8567 | 0.8407 | 0.8380 | 0.8193 | 0.8660 | 0.8760 | 0.9240 | 0.8547 | 0.8260 | 0.8127 |
| 10 | 3 | 5000 | 0.7987 | 0.7960 | 0.8667 | 0.8753 | 0.8787 | 0.8800 | 0.8753 | 0.8953 | 0.8860 | 0.8700 | 0.8500 | 0.8307 | 0.8227 |
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 10 | 5 | 0.6770 | 0.5462 | 0.5864 | 0.6136 | 0.5438 | 0.6224 | 0.6258 | 0.7292 | 0.7154 | 0.6992 | 0.6798 | 0.6776 | 0.6374 |
| 10 | 10 | 50 | 0.7344 | 0.5858 | 0.6530 | 0.7394 | 0.6942 | 0.7494 | 0.7660 | 0.7306 | 0.7558 | 0.7628 | 0.7574 | 0.7054 | 0.6660 |
| 10 | 10 | 500 | 0.7266 | 0.5864 | 0.7216 | 0.775 | 0.7858 | 0.773 | 0.7376 | 0.7860 | 0.8070 | 0.7878 | 0.7646 | 0.7012 | 0.6596 |
| 10 | 10 | 5000 | 0.7438 | 0.5972 | 0.8078 | 0.7912 | 0.7814 | 0.8226 | 0.8400 | 0.8208 | 0.8128 | 0.807 | 0.7774 | 0.7154 | 0.6742 |


(a)


(b)
Figure 2: Class regions (red, green, and blue for the three classes) and decision boundaries of the evaluated classifiers. Left: boundaries produced by SVM, Ridge, Perc, and the best MMPerc. Right: MMPerc boundaries for varying -values, with darker colors indicating larger . The corresponding -values and accuracies are reported in Table 2. C=3, d=2. (a) S=5; (b) S=500. .


(a)


(b)
Figure 3: . (a) ; (b) ; (c) . . Notations and layout are as in Figure 2.
4.4 Experiments with Real Datasets
We conducted experiments on both original and binarized versions of real datasets, along with their transformations into real-valued and binary hypervectors (section 4.2.3). Hypervector dimensionalities were chosen from . For MMPerc, was tuned by cross-validation from one of the following candidate ranges:
For Ridge, the regularization hyperparameter was selected from the range . Both MMPerc and Ridge used 5-fold cross-validation; SVM was evaluated with its default hyperparameters.
Training stopped after at most 100 epochs or earlier if the training accuracy reached 0.9999 per epoch, following (Rachkovskij, 2022) and recent studies of HDC classifiers with binary connections (Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025; Smets, Rachkovskij, Osipov, Volkov, et al., 2025). This contrasts with 2500-epoch schedule used in (Smets et al., 2023).
We report results for the setups listed in Table 3, where “best” refers to the hyperparameter value yielding the highest testing accuracy (for reference only), and “cv” denotes the value chosen by cross-validation. Here we present results for the CTG dataset; additional real datasets are reported in Supplementary Note 3.2.
Table 3: Classification setups evaluated in the experiments
| SVM | Support Vector Machine, one-vs-all (Matlab, default) |
|---|---|
| Ridge | Ridge Classifier, one-vs-all (sklearn, best ) |
| Ridge cv | Ridge Classifier one-vs-all (sklearn, cross-validated ) |
| Perc | Standard multiclass Perceptron |
| Perc bias | Standard multiclass Perceptron with bias |
| MMPerc | Multiclass Perceptron with the multiplicative margin, best |
| MMPerc cv | Perceptron with the multiplicative margin, cross-validated |
| MMPerc bias | Multiclass multiplicative margin Perceptron with bias, best |
| MMPerc bias cv | Multiclass multiplicative margin Perceptron with bias, cross-validated |
4.4.1 Result Example: CTG
For both the original and binarized versions of the CTG dataset (Figure 4 and Figure 5), MMPerc with the bias term achieves the highest classification accuracy. Notably, the accuracy with cross-validated -values matches that of the best-performing . As expected, binarization reduces accuracy vs the original version. Classification accuracies under RP are averaged over 30 RP matrix realizations. As shown in Figure 6, MMPerc () with bias, along with its cross-validated variant, outperforms the baselines. SVM and Perc with bias perform comparably, while bias-free variants of Perc and MMPerc show a noticeable drop in accuracy. Accuracy under RP remains stable across , attributable to the linearity of the RP transformation. An exception is SVM, with accuracy declining at higher , possibly due to suboptimality of its own hyperparameters in overparameterized regimes.
In contrast, in the RP+bin setting (Figure 7), accuracy varies with due to local nonlinear features introduced by binarization. Interestingly, at larger , classifiers trained on binary hypervectors outperform those trained on original or binarized CTG data (Figure 4 and Figure 5). However, this lies outside our focus on comparing the relative accuracy of the evaluated classifiers at each . To highlight this, we compute classifier ranks per and report the average rank (Figure 8). MMPerc () achieves the best (lowest) average rank, further improved by including the bias term (bias = normmax).

Figure 4: Classification accuracies for CTG orig. (a) ; (b) ; (c) ; (d) . .
Figure 5: Classification accuracies for CTG orig+bin. (a) ; (b) ; (c) ; (d) . .

Figure 6: Mean classification accuracies for CTG RP. .
Figure 7: Mean classification accuracies for CTG RP+bin. .

Figure 8: Average rank of classifiers operating on CTG RP+bin hypervectors, computed over . A lower average rank indicates better relative performance.
4.4.2 Selected Results, Comparison, and Discussion
Table 4 summarizes selected results from our real dataset experiments, along with prior studies using multi-epoch training. Most of those works employ variants of linear Perceptrons within the HDC framework, differing mainly in their learning rules. Only our MMPerc (the MMPerc-Abs variant tested here) and the Confidence Centroid (CCentr) (Smets et al., 2023) use large-margin Perceptrons. Unlike CCentr, which uses binarized class weights, our models operate with real-valued or integer weights.
Direct comparison with prior studies is not straightforward due to differing data formats (original vs hypervectors), hypervector transformations, and evaluation protocols (e.g., best-case vs cross-validated results). Dataset splits and even dataset versions may differ across studies. Nonetheless, Table 4 reports results that appear to be based on equivalent dataset versions. In contrast, our experiments are internally consistent, using identical data vectors (or hypervectors) and dataset splits, so performance differences arise from specified hyperparameters and design choices.
MMPerc achieves classification accuracies close to those of SVM and higher than most other classifiers. Across real datasets and their transformations (binarized, RP, and RP+bin, across a wide range of dimensionalities), several observations emerge. When the margin threshold is properly selected, MMPerc typically outperforms the standard Perceptron. On the HAND datasets with many training instances, both perform similarly, and cross-validation tends to select -values close to optimal.
Incorporating a bias term typically improves accuracy, particularly for non-binary data. This effect is weaker on binarized RP data, where class separation tends to align with hyperplanes passing through the origin. On UCIHAR, the bias-free variant even provides higher accuracy, though the difference is small.
Across the range of datasets and transformations tested, MMPerc with appropriately chosen -value and bias often outperforms both SVM and Ridge, all operating under the same memory budget of one prototype vector per class. These trends are consistent with the classifier rankings reported in Table 5 (excluding SVM's accuracy drop at higher RP dimensionalities).
In summary, our experiments on both synthetic and real datasets demonstrate that the multiclass Perceptron with a multiplied margin is a compelling alternative to the standard Perceptron and to classic linear classifiers such as SVM and Ridge.
5 Discussion
In this work, we presented a family of multiclass linear Perceptron classifiers based on a multiplicative margin mechanism applied to class scores, as an alternative to traditional additive margin based approaches. We proposed several architectural and algorithmic variants, introducing the corresponding learning rules, and examined key design considerations relevant to their practical deployment. We also developed a basic theoretical analysis, including the formulation of associated loss functions and the derivation of mistake bounds for both linearly separable and non-separable data.
This approach enforces not only correct classification of training instances, but also confidence in those classifications: during training, an instance is considered correctly classified only if the score of the true class exceeds that of the closest competitor by a margin. Unlike traditional additive margins, the multiplicative margin is defined as a fixed proportion of the winning class score. This formulation makes the margin invariant to the absolute magnitude of class scores, eliminating the need to explicitly account for the norms of class prototypes and data vectors when setting the margin threshold value, which is a common issue with additive margins.
Table 4: Selected testing set accuracies (%) on real datasets.
The CTG dataset
| Study | Description | Transformation | Vectors | Weights | d / D | Acc % |
|---|---|---|---|---|---|---|
| (Smets et al., 2023) | CCentr | Compositional | {0,1} | {0,1} | 10000 | 86.89 |
| (Duan, Xu, et al., 2022) | TinyLDC | Trained Compositional | {0,1} | {0,1} | 64 | 90.50 |
| Ours | SVM | none | real | real | 21 | 89.41 |
| Ours | MMPerc | none | real | real | 21 | 90.59 |
| Ours | SVM | RP with Gauss + bin | {0,1} | integer | 10000 | 91.99 |
| Ours | MMPerc | RP with Gauss + bin | {0,1} | integer | 10000 | 92.51 |
The UCIHAR dataset
| Study | Description | Transformation | Vectors | Weights | d / D | Acc % |
|---|---|---|---|---|---|---|
| (Smets et al., 2023) | CCentr | Compositional | {0,1} | {0,1} | 10000 | 94.33 |
| (Vergés, Givargis, et al., 2023) | SparseHDr | Compositional | {0,1} | integer | 10000 | 86.98 |
| (Imani, Morris, et al., 2019) | AdaptHD | Compositional | {0,1} | integer | 10000 | 96.20 |
| (Hernández-Cano et al., 2021) | OnlineHD | RP with {-1,+1} | real | real | 10000 | 96.50 |
| (Ponzina & Rosing, 2024) | OnlineHD | Compositional | {-1,+1} | integer | 10000 | 90.40 |
| (Ponzina & Rosing, 2024) | OnlineHD | RP 16 bit | integer | integer | 10000 | 91.31 |
| (Ponzina & Rosing, 2024) | MicroHD | Compositional | {-1,+1} | 3bit | 2000 | 89.48 |
| (Ponzina & Rosing, 2024) | MicroHD | RP 16 bit | integer | 4bit | 200 | 90.33 |
| (Duan, Liu, et al., 2022) | LeHDC | Compositional | {-1,+1} | {-1,+1} | 10000 | 95.23 |
| (Hsiao et al., 2021) | L-HDC | Trained Compositional | {-1,+1} | integer | 3000 | 95.54 |
| (Duan, Xu, et al., 2022) | TinyLDC | Trained Compositional | {0,1} | {0,1} | 128 | 92.56 |
| (Z. Yan et al., 2023) | EffHDC | Trained FCNN | {0,1} | {0,1} | 64 | 94.20 |
| (Z. Yan et al., 2023) | EffHDC | Trained FCNN | {0,1} | {0,1} | 128 | 94.81 |
| Ours | SVM | none | real | real | 561 | 96.26 |
| Ours | MMPerc | none | real | real | 561 | 95.72 |
| Ours | SVM | RP with Gauss + bin | {0,1} | integer | 10000 | 96.12 |
| Ours | MMPerc | RP with Gauss + bin | {0,1} | integer | 10000 | 95.76 |
The ISOLET dataset
| Study | Description | Transformation | Vectors | Weights | d / D | Acc % |
|---|---|---|---|---|---|---|
| (Smets et al., 2023) | CCentr | Compositional | {0,1} | {0,1} | 10000 | 94.30 |
| (Vergés, Heddes, et al., 2023) | RefineHD | Compositional | {0,1} | real | 10000 | 94.00 |
| (Imani, Morris, et al., 2019) | AdaptHD | Compositional | {0,1} | integer | 10000 | 92.24 |
| (Hernández-Cano et al., 2021) | OnlineHD | RP with {-1,+1} | real | real | 10000 | 94.60 |
| (Ponzina & Rosing, 2024) | OnlineHD | Compositional | {-1,+1} | integer | 10000 | 91.41 |
| (Ponzina & Rosing, 2024) | OnlineHD | RP 16 bit | integer | integer | 10000 | 93.39 |
| (Ponzina & Rosing, 2024) | MicroHD | Compositional | {-1,+1} | 3/16bit | 2000 | 90.45 |
| (Ponzina & Rosing, 2024) | MicroHD | RP 16 bit | integer | 4/16 bit | 200 | 92.51 |
| (Duan, Liu, et al., 2022) | LeHDC | Compositional | {-1,+1} | {-1,+1} | 10000 | 94.89 |
| (Hsiao et al., 2021) | L-HDC | Trained Compositional | {-1,+1} | integer | 3000 | 92.44 |
| (Duan, Xu, et al., 2022) | TinyLDC | Trained Compositional | {0,1} | {0,1} | 128 | 91.33 |
| (Z. Yan et al., 2023) | EffHDC | Trained FCNN | {0,1} | {0,1} | 64 | 91.40 |
| (Z. Yan et al., 2023) | EffHDC | Trained FCNN | {0,1} | {0,1} | 128 | 93.20 |
| Ours | SVM | none | real | real | 617 | 94.36 |
| Ours | MMPerc | none | real | real | 617 | 95.77 |
| Ours | SVM | RP with Gauss + bin | {0,1} | integer | 10000 | 95.88 |
| Ours | MMPerc | RP with Gauss + bin | {0,1} | integer | 10000 | 96.04 |
The HAND datasets
| Study | Description | Transformation | Vectors | Weights | d / D | Acc % |
|---|---|---|---|---|---|---|
| (Smets et al., 2023) HAND | CCentr iter | Compositional | {0,1} | {0,1} | 10000 | 96.31 |
| Ours HAND1 | SVM | none | real | real | 4 | 97.60 |
| Ours HAND1 | MMPerc | none | real | real | 4 | 97.85 |
| Ours HAND1 | SVM | RP with Gauss + bin | {0,1} | integer | 10000 | 99.63 |
| Ours HAND1 | MMPerc | RP with Gauss + bin | {0,1} | integer | 10000 | 99.58 |
| Ours HAND5 | SVM | none | real | real | 4 | 94.41 |
| Ours HAND5 | MMPerc | none | real | real | 4 | 94.62 |
| Ours HAND5 | SVM | RP with Gauss + bin | {0,1} | integer | 10000 | 98.77 |
| Ours HAND5 | MMPerc | RP with Gauss + bin | {0,1} | integer | 10000 | 98.73 |
Table 5: Classifier ranking on real datasets. Lower ranks indicate better performance
| orig | CTG | UCIHAR | ISOLET | HAND1 | HAND5 | Mean |
|---|---|---|---|---|---|---|
| SVM | 3 | 2 | 5 | 1 | 1 | 2.4 |
| Ridge | 7 | 1 | 8 | 8 | 5 | 5.8 |
| Ridge cv | 7 | 2 | 9 | 8 | 5 | 6.2 |
| Perc | 9 | 7 | 5 | 5 | 7 | 6.6 |
| Perc bias | 3 | 9 | 6 | 1 | 1 | 4.0 |
| MMPerc | 3 | 4 | 1 | 5 | 8 | 4.2 |
| MMPerc cv | 6 | 4 | 1 | 5 | 8 | 4.8 |
| MMPerc bias | 1 | 6 | 1 | 1 | 1 | 2.0 |
| MMPerc bias cv | 1 | 8 | 1 | 1 | 1 | 2.4 |
| orig+bin | CTG | UCIHAR | ISOLET | HAND1 | HAND5 | |
| SVM | 3 | 6 | 7 | 6 | 9 | 6.2 |
| Ridge | 3 | 7 | 8 | 4 | 1 | 4.6 |
| Ridge cv | 6 | 7 | 8 | 4 | 1 | 5.2 |
| Perc | 8 | 6 | 5 | 6 | 6 | 6.2 |
| Perc bias | 3 | 3 | 6 | 1 | 1 | 2.8 |
| MMPerc | 6 | 1 | 1 | 6 | 6 | 4.0 |
| MMPerc cv | 8 | 3 | 3 | 6 | 6 | 5.2 |
| MMPerc bias | 1 | 1 | 1 | 1 | 1 | 1.0 |
| MMPerc bias cv | 1 | 3 | 3 | 1 | 1 | 1.8 |
| RP | CTG | UCIHAR | ISOLET | HAND1 | HAND5 | |
| SVM | 2 | 3 | 7 | 4 | 4 | 4.0 |
| Ridge | 5 | 1 | 7 | 8 | 5 | 5.2 |
| Ridge cv | 6 | 1 | 7 | 8 | 5 | 5.4 |
| Perc | 9 | 6 | 6 | 7 | 9 | 7.4 |
| Perc bias | 4 | 9 | 5 | 1 | 3 | 4.4 |
| MMPerc | 7 | 4 | 1 | 5 | 7 | 4.8 |
| MMPerc cv | 8 | 4 | 1 | 5 | 8 | 5.2 |
| MMPerc bias | 1 | 6 | 1 | 1 | 1 | 2.0 |
| MMPerc bias cv | 2 | 8 | 1 | 1 | 1 | 2.6 |
| RP+bin | CTG | UCIHAR | ISOLET | HAND1 | HAND5 | |
| SVM | 6.9 | 6.0 | 6.4 | 3.8 | 4.1 | 5.4 |
| Ridge | 5.1 | 4.5 | 7.4 | 8.2 | 7.8 | 6.6 |
| Ridge cv | 5.7 | 5.4 | 7.8 | 8.8 | 8.6 | 7.2 |
| Perc | 6.6 | 8.6 | 6.4 | 4.9 | 5.2 | 6.3 |
| Perc bias | 6.0 | 7.6 | 6.9 | 6.3 | 6.4 | 6.6 |
| MMPerc | 4.0 | 2.2 | 3.1 | 2.0 | 2.3 | 2.7 |
| MMPerc cv | 5.2 | 4.6 | 3.1 | 2.4 | 2.5 | 3.5 |
| MMPerc bias | 2.1 | 1.8 | 1.9 | 4.2 | 4.1 | 2.8 |
| MMPerc bias cv | 3.4 | 4.4 | 1.9 | 4.4 | 4.1 | 3.7 |
| Overall mean | CTG | UCIHAR | ISOLET | HAND1 | HAND5 | |
| SVM | 3.7 | 4.3 | 6.4 | 3.7 | 4.5 | 4.5 |
| Ridge | 5.0 | 3.4 | 7.6 | 7.1 | 4.7 | 5.6 |
| Ridge cv | 6.2 | 3.8 | 8.0 | 7.2 | 4.9 | 6.0 |
| Perc | 8.2 | 6.9 | 5.6 | 5.7 | 6.8 | 6.6 |
| Perc bias | 4.0 | 7.1 | 6.0 | 2.3 | 2.9 | 4.5 |
| MMPerc | 5.0 | 2.8 | 1.5 | 4.5 | 5.8 | 3.9 |
| MMPerc cv | 6.8 | 3.9 | 2.0 | 4.6 | 6.1 | 4.7 |
| MMPerc bias | 1.3 | 3.7 | 1.2 | 1.8 | 1.8 | 2.0 |
| MMPerc bias cv | 1.9 | 5.9 | 1.7 | 1.8 | 1.8 | 2.6 |
For a representative variant of our large-margin Perceptron, we conducted extensive experiments on both synthetic and real datasets, including real-valued and binary data vectors across a wide range of dimensionalities. We evaluated and compared classification performance against the standard Perceptron, Ridge classifier, and Support Vector Machine classifiers, all under the same memory budget. Across the datasets, the multiplicative margin Perceptron achieved competitive accuracy and frequently outperformed the baselines when the bias and margin threshold were properly chosen. A noted limitation shared with other large-margin classifiers, but absent in the standard Perceptron, is the need to select hyperparameters; in this case, the margin threshold, which we addressed through cross-validation.
Compared to other large-margin and margin-free Perceptrons, the variants considered in this work are distinguished by their minimalistic design and simplicity, both in terms of computational complexity and operational requirements.
From a computational perspective, our models avoid several complexities common in alternative methods. They do not employ variable learning rates, weight decay, weight normalization, or weight projection (whether after each mistake or even after correct classification), all of which add overhead. Instead, we adopt the fixed unit learning rate of the standard Perceptron, thereby avoiding floating-point operations when processing integer/binary data vectors. Weight projection or normalization is not employed. Furthermore, training follows the conservative or ultraconservative paradigm (Crammer & Singer, 2003), where weight updates occur only upon mistakes and are restricted to the true and returned class prototypes (see also “Multiclass weight update” in section 5.1.3).
From an operational perspective, our models are well suited not only to floating-point data but even more so to integer and binary vectors, further reducing implementation cost. For integer-valued data, the algorithms can be implemented primarily with integer arithmetic; while for binary data, vector-matrix operations reduce to simple counting or addition. The approach is likewise efficient for sparse data vectors.
5.1 Future Research Directions
As this is the first work to systematically investigate multiclass linear Perceptron classifiers with a multiplicative margin, numerous avenues for future research arise. Below we outline several promising directions.
5.1.1 Theoretical Extensions
Further theoretical development of the proposed framework is a natural next step. This includes formal analysis of margin threshold selection, derivation of generalization bounds, and extension of the analysis to settings with quantized weights.
A particularly compelling line of work is to explore connections with recent theoretical advances that aim to explain surprising phenomena in modern machine learning with overparameterized models, including linear ones: implicit regularization bias (Soudry et al., 2018), (Schliserman & Koren, 2022), (Ravi et al., 2024); benign overfitting (K. Wang et al., 2023), (Wu & Sahai, 2024); double descent (Aubin et al., 2020), (Deng et al., 2022), (Lee & Cherkassky, 2024); and grokking (Levi et al., 2024), (Lyu et al., 2024). The HDC framework, with its inherently high-dimensional representations, naturally introduces overparameterization and provides a natural testbed for investigating these effects. Studying how large-margin Perceptrons interact with them could enhance our understanding of both linear models and DNNs.
5.1.2 Empirical Comparison of Large-Margin Perceptron Variants
Another important direction is a comprehensive experimental comparison of different large-margin Perceptron variants. Such work should include evaluation on large and diverse datasets, as well as systematic testing of extensions involving quantized and binary class weights. Such studies would build on and extend previous work, e.g., (Smets et al., 2023; Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025; Smets, Rachkovskij, Osipov, Volkov, et al., 2025).
A complementary line of experimentation is a systematic comparison with nonlinear baselines, such as Random Forests, evaluated on both original input features and hypervector representations, see also (Fernández-Delgado et al., 2014), (Pale et al., 2022), (Jeong et al., 2025).
5.1.3 Key Design Considerations
Two-class classification. Although this study focuses on multiclass classification, extending the proposed methods to the two-class setting is important for practical applications.
Margin threshold selection remains a key challenge. We used cross-validation over a predefined candidate set of -values, which may need to be tailored per dataset. For linearly separable datasets, the largest that still ensures separability can be found via binary search over the candidate range. Another practical approach could be to estimate using lower-dimensional hypervectors, where training is faster, and then refine the candidate range for higher dimensions. This is supported by the relative nature of the multiplicative margin and by our empirical observations that best-performing -values tend to remain stable across nearby dimensionalities. Relatedly, may be estimated from early-epoch performance. Additionally, training time could be reduced by initializing training at higher -values with weights obtained at lower -values, potentially reducing the number of required epochs. Furthermore, (Smets et al., 2023) proposed guiding selection by analyzing the empirical margin distribution of a margin-free classifier; a practical implementation of this idea would be valuable.
The current formulation uses single shared across all classes. A challenge is to support class-specific -values without incurring a significant increase in computational complexity of margin threshold selection.
Unlike additive margins, the effective multiplicative margin threshold does not decrease during training (section 3.4.2), which may hinder decision boundary stabilization in later stages. One way to address this is to reduce during training; however, this introduces additional hyperparameters to control the annealing schedule. On the other hand, the naturally decreasing effective learning rate (section 3.4.2) stabilizes training but also slows it down. If needed, scaling down the weights after a number of epochs could be used to restore a higher effective learning rate.
Finally, an implementation-related consideration is to increase the number of cross-validation folds to improve the stability and consistency of -value selection.
Multiclass weight update. Another direction is exploring weight update strategies in which not only the competitor class but all classes violating the margin threshold condition are updated. For additive margins, this includes all classes with ; for a multiplicative margins, those with . Such updates were considered for additive margins in, e.g., (Duda & Fossum, 1966) and for multiplicative margins in (Rachkovskij, 2007); see also the ultraconservative setting in (Crammer & Singer, 2003). Even more aggressive updates occur in softmax-based classifiers with cross-entropy loss, where the gradient for each class weight vector is , so that all class weights are updated since is generally nonzero. However, such multiclass updates are computationally expensive, especially with many classes, and typically require floating-point operations. In contrast, the two-class update used in this study is more efficient and better suited to resource-constrained and online settings. Still, further investigation of multiclass update rules remains promising, with potential to speed up training and improve generalization in specific scenarios.
Weight decay has been shown to approximate SVM solutions via stochastic subgradient descent (Shalev-Shwartz et al., 2007; Z. Wang et al., 2010), see also section 1.3. However, it introduces additional computational overhead: floating-point multiplications to compute the decay term, additions to apply it, and weight projections requiring norm computations. Research into lightweight integration of weight decay into large-margin Perceptrons is therefore a promising direction.
Selecting weights for classifier evaluation. In preliminary experiments, selecting Perceptron weights from the epoch with the highest training accuracy often yielded reasonable testing accuracy, but sometimes underperformed compared to the weights from the best epoch in hindsight. To address this gap (when it arises), it would be useful to identify dataset properties correlated with such behavior and to explore alternative strategies for weight selection. One direction is online-to-batch conversion techniques (Littlestone, 1989), (Cesa-Bianchi et al., 2004), (Shalev-Shwartz & Ben-David, 2014), (Mohri et al., 2018) which aggregate multiple hypotheses generated during training, e.g., via averaging or stability-based selection, see also (Gallant, 1990).
Restricting weights to be non-negative, as in the original multiplicative margin Perceptrons (Kussul et al., 2001; Kussul & Baidyk, 2004), helps mitigate issues with enforcing a margin between true and competitor class scores of small but opposite signs (see also section 3.4.2). These issues are fully avoided when input vector components are also non-negative. Moreover, non-negative weights support more interpretable models, especially when input vector components represent the presence or importance of features, where negative weights are ambiguous or counterintuitive, see also (Magri, 2015).
A further direction is exploring multiplicative margins together with multiplicative weight updates, exemplified by Cristianini et al. (1999) and Sha et al. (2003) in the dual/kernel setting for large-margin classification and by Littlestone (1987) in the primal and margin-free formulation. Unlike standard additive updates, which increment or decrement class weights, multiplicative updates rescale them. This naturally enforces non-negativity and can induce sparsity – properties desirable in certain applications. To our knowledge, such updates have not yet been explored in conjunction with multiplicative margin formulations. Investigating their interaction could lead to novel large-margin Perceptron variants.
Another promising avenue is to combine large-margin Perceptron training with complementary enhancements developed for Perceptron-like classifiers, particularly within the HDC framework, e.g., (Imani, Morris, et al., 2019), (Hernández-Cano et al., 2021), (Hsiao et al., 2021), (Ponzina & Rosing, 2024), (Vergés et al., 2025). Many of these enhancements are orthogonal to margin-related design considerations, making them natural candidates for integration. Such combinations may further improve classification accuracy, robustness, and computational efficiency.
5.1.4 IoT, TinyML, Edge Computing, EdgeAI, AIoT
The large-margin Perceptron classifiers explored in this work are extremely simple yet show strong potential for deployment in resource-constrained settings such as IoT, TinyML, Edge Computing, EdgeAI and AIoT (Xu et al., 2024). Their minimalist design leads to low computational and memory requirements for both training and inference, making them well-suited for embedded and edge devices. The large-margin mechanism also improves robustness and generalization, supporting high classification accuracy even under limited-resource conditions. This approach can also help mitigate certain limitations of cloud-based architectures, which require data transmission to remote servers for processing, incurring latency, high communication energy costs, and privacy concerns (Basaklar et al., 2021).
Our methods also extend naturally to Perceptron models with quantized class weights, including binary weights, which is a configuration particularly relevant in the HDC context (Duan, Liu, et al., 2022), (Duan, Xu, et al., 2022), (Z. Yan et al., 2023), (Smets et al., 2023), (Smets, Rachkovskij, Osipov, Volkov, et al., 2025), (Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025).
5.1.5 Other Tasks and Applications
Alternative learning tasks and settings. Future work could apply our large-margin Perceptrons to broader scenarios beyond standard multiclass classification, such as classification with partial or weak labels, multi-label classification, bandit feedback settings, selective classification or abstention-based scenarios, and integration with DNNs, among others.
Confidence in prediction. Another promising direction is to explicitly exploit classifier confidence at inference time, for example by abstaining (refusing to classify) when confidence is low. This approach has been studied, for example, in (Chuang et al., 2020), (Mao et al., 2024), see also (Chen et al., 2024), (Yi et al., 2025). Large-margin classifiers are naturally suited to such confidence-aware prediction, since the score margin provides a direct measure of prediction confidence. While in this work the margin is used during training, it could also guide abstention decisions at inference.
Classification of other data types. HDC provides principled methods for constructing similarity-preserving hypervectors from a variety of data types. By employing these representations within large-margin Perceptrons, classification can be naturally extended to complex structured data such as sequences, trees, and graphs.
6 Conclusion
This work presented and analyzed a family of multiclass linear Perceptron classifiers that incorporate a multiplicative margin mechanism. We developed their architectural formulations and associated learning algorithms, and provided a basic theoretical framework encompassing loss functions, weight update rules, and mistake bounds for both linearly separable and non-separable data. Compared to the existing large-margin methods, our models require no modifications or only minor ones to the standard Perceptron update rule with a fixed unit learning rate. This simplicity makes them computationally lightweight and adaptable to a variety of scenarios involving real-valued, quantized, or binary vector data, and applicable across diverse dimensionalities and dataset sizes.
We investigated key design considerations relevant to the practical deployment of our large-margin Perceptrons, including the role of the bias term, margin threshold selection, training regimes, epoch control, and the choice of classifier weights for inference. Extensive empirical evaluations were conducted on both synthetic and real datasets, using real-valued and binary input vector across a wide range of dimensionalities. Our results demonstrate that the MMPerc variant used in the experiments typically achieves higher classification accuracy than the standard Perceptron, as well as SVM and Ridge classifiers. This improvement, however, comes at the cost of selecting an appropriate margin threshold. In the absence of prior knowledge, this can be addressed via cross-validation, albeit at additional computational cost compared to the standard Perceptron. Nonetheless, the accuracy gains and implementation simplicity make multiplicative margin Perceptrons promising candidates for broader adoption in relevant resource-constrained and edge-oriented scenarios, in HDC contexts, and in linear evaluation of DNNs.
Finally, this study highlights promising directions for future research, including broader theoretical analysis and empirical comparisons, extended design considerations, and exploration of alternative tasks and applications.
Acknowledgments
The work of D.R. was supported in part by the Swedish Foundation for Strategic Research (SSF, grant nos. UKR22-0024, UKR24-0014), the National Research Fund of Ukraine (NRFU, grant no. 2023.04/0082), and LTU support grant. The work of E.O. and D.R. was supported in part by the Swedish Research Council (VR grant no. 2022-04657). The works of E.O. and D.S. were supported in part by STINT, the Swedish Foundation for International Cooperation in Research and Education (STINT, grant no. MG2020-8842) and Intel Neuromorphic Research Community Project: Unsupervised learning in NLP tasks on using vector-symbolic representations on phasor-based associative memory.
The work of D.S. was supported in part by the Department of Climate Change, Energy, the Environment and Water of Australian Federal Government, as part of the International Clean Innovation Researcher Networks (ICIRN) Program, under grant ICIRN000077.
D.K. acknowledges funding from the Swedish Strategic Research Foundation under the Future Research Leaders program (grant no. FFL24-0111) and the Swedish
Research Council under the Starting Grant program (grant no. 2025-05421). This work was supported in part by the AFOSR under award number FA8655-25-1-7007.
E.O. and D.R. acknowledge the computational resources provided by the National Academic Infrastructure for Supercomputing in Sweden, partially funded by the Swedish Research Council through grant agreement no. 2022-06725, as well as help and support of Tim Ufer and Philip Gard.
References
Anguita, D., Ghio, A., Oneto, L., Parra Perez, X., & Reyes Ortiz, J. L. (2013). A public domain dataset for human activity recognition using smartphones. 437–442. https://upcommons.upc.edu/handle/2117/20897
Aubin, B., Krzakala, F., Lu, Y., & Zdeborová, L. (2020). Generalization error in high-dimensional perceptrons: Approaching Bayes error with convex optimization. Advances in Neural Information Processing Systems, 33, 12199–12210. https://proceedings.neurips.cc/paper/2020/hash/8f4576ad85410442a74ee3a7683757b3-Abstract.html
Aygun, S., Moghadam, M. S., Najafi, M. H., & Imani, M. (2023). Learning from Hypervectors: A Survey on Hypervector Encoding (No. arXiv:2308.00685). arXiv. https://doi.org/10.48550/arXiv.2308.00685
Babadi, B., & Sompolinsky, H. (2014). Sparseness and Expansion in Sensory Representations. Neuron, 83(5), 1213–1226. https://doi.org/10.1016/j.neuron.2014.07.035
Bartlett, P. L., & Long, P. M. (2021). Failures of Model-dependent Generalization Bounds for Least-norm Interpolation. Journal of Machine Learning Research, 22(204), 1–15. http://jmlr.org/papers/v22/20-1164.html
Basaklar, T., Tuncel, Y., Narayana, S. Y., Gumussoy, S., & Ogras, U. Y. (2021). Hypervector Design for Efficient Hyperdimensional Computing on Edge... tinyML 2021 Research Symposium. https://doi.org/10.48550/arXiv.2103.06709
Beygelzimer, A., Orabona, F., & Zhang, C. (2017). Efficient Online Bandit Multiclass Learning with Regret. Proceedings of the 34th International Conference on Machine Learning, 488–497. https://proceedings.mlr.press/v70/beygelzimer17a.html
Beygelzimer, A., Pal, D., Szorenyi, B., Thiruvenkatachari, D., Wei, C.-Y., & Zhang, C. (2019). Bandit Multiclass Linear Classification: Efficient Algorithms for the Separable Case. Proceedings of the 36th International Conference on Machine Learning, 97, 624–633. https://proceedings.mlr.press/v97/beygelzimer19a.html
Brunel, N., Hakim, V., & Nadal, J.-P. (2025). From the perceptron to the cerebellum. arXiv. https://doi.org/10.48550/arXiv.2505.14355
Cervantes, J., Garcia-Lamont, F., Rodríguez-Mazahua, L., & Lopez, A. (2020). A comprehensive survey on support vector machine classification: Applications, challenges and trends. Neurocomputing, 408, 189–215. https://doi.org/10.1016/j.neucom.2019.10.118
Cesa-Bianchi, N., Conconi, A., & Gentile, C. (2004). On the generalization ability of on-line learning algorithms. IEEE Transactions on Information Theory, 50(9), 2050–2057. https://doi.org/10.1109/TIT.2004.833339
Charikar, M. S. (2002). Similarity estimation techniques from rounding algorithms. Proceedings of the Thirty-Fourth Annual ACM Symposium on Theory of Computing, 380–388. https://doi.org/10.1145/509907.509965
Chen, W.-C., Wong, H.-S. P., & Achour, S. (2024). Bitwise Adaptive Early Termination in Hyperdimensional Computing Inference. Proceedings of the
61st ACM/IEEE Design Automation Conference, 1–6. https://doi.org/10.1145/3649329.3656532
Christensen, R. (2019). Advanced linear modeling: Statistical learning and dependent data (3rd ed.). Springer. https://doi.org/10.1007/978-3-030-29164-8
Chuang, Y.-C., Chang, C.-Y., & Wu, A.-Y. A. (2020). Dynamic Hyperdimensional Computing for Improving Accuracy-Energy Efficiency Trade-Offs. 2020 IEEE Workshop on Signal Processing Systems (SiPS), 1–5. https://doi.org/10.1109/SiPS50750.2020.9195216
Clarkson, K. L., Ubaru, S., & Yang, E. (2023). Capacity Analysis of Vector Symbolic Architectures (No. arXiv:2301.10352). arXiv. https://doi.org/10.48550/arXiv.2301.10352
Crammer, K., Dekel, O., Keshet, J., Shalev-Shwartz, S., & Singer, Y. (2006). Online Passive-Aggressive Algorithms. J. Mach. Learn. Res., 7, 551–585.
Crammer, K., & Singer, Y. (2001). On the algorithmic implementation of multiclass kernel-based vector machines. The Journal of Machine Learning Research, 2, 265–292.
https://jmlr.csail.mit.edu/papers/volume2/crammer01a/crammer01a.pdf
Crammer, K., & Singer, Y. (2003). Ultraconservative Online Algorithms for Multiclass Problems. Journal of Machine Learning Research, 3(Jan), 951–991. https://jmlr.org/papers/v3/crammer03a.html
Cristianini, N., & Shawe-Taylor, J. (2000). An Introduction to Support Vector Machines and Other Kernel-based Learning Methods. Cambridge University Press. https://doi.org/10.1017/CBO9780511801389
Dasgupta, S., Sheehan, T. C., Stevens, C. F., & Navlakha, S. (2018). A neural data structure for novelty detection. Proceedings of the National Academy of Sciences, 115(51), 13093–13098. https://doi.org/10.1073/pnas.1814448115
Deng, Z., Kammoun, A., & Thrampoulidis, C. (2022). A model of double descent for high-dimensional binary linear classification. Information and Inference: A Journal of the IMA, 11(2), 435–495. https://doi.org/10.1093/imaiai/iaab002
Drori, Y., & Shamir, O. (2020). The Complexity of Finding Stationary Points with Stochastic Gradient Descent. Proceedings of the 37th International Conference on Machine Learning, 2658–2667. https://proceedings.mlr.press/v119/drori20a.html
Dua, D., & Graff, C. (2019). UCI Machine Learning Repository [Dataset]. https://archive.ics.uci.edu/
Duan, S., Liu, Y., Ren, S., & Xu, X. (2022). LeHDC: Learning-based hyperdimensional computing classifier. Proceedings of the 59th ACM/IEEE Design Automation Conference, 1111–1116. https://doi.org/10.1145/3489517.3530593
Duan, S., Xu, X., & Ren, S. (2022). A Brain-Inspired Low-Dimensional Computing Classifier for Inference on Tiny Devices. 1–8. https://doi.org/10.48550/arXiv.2203.04894
Duda, R. O., & Fossum, H. (1966). Pattern Classification by Iteratively Determined Linear and Piecewise Linear Discriminant Functions. IEEE Transactions on Electronic Computers, EC-15(2), 220–232. https://doi.org/10.1109/PGEC.1966.264302
Duda, R. O., & Hart, P. E. (1973). Pattern classification and scene analysis. Wiley.
Eldredge, K. R., Kamphoefner, F. J., & Wendt, P. H. (1956). Automatic input for business data-processing systems. Papers and Discussions Presented at the
December 10-12, 1956, Eastern Joint Computer Conference: New Developments in Computers, 69–73. https://doi.org/10.1145/1455533.1455551
Fainzilberg, L. S., & Matushevych, N. A. (2018). Comparative evaluation of convergence's speed of learning algorithms for linear classifiers by statistical experiments method. Cybernetics and Computer Engineering, 2, 6–22. https://doi.org/10.15407/kvt192.02.005
Fernández-Delgado, M., Cernadas, E., Barro, S., & Amorim, D. (2014). Do we Need Hundreds of Classifiers to Solve Real World Classification Problems? Journal of Machine Learning Research, 15, 3133–3181. http://jmlr.org/papers/v15/delgado14a.html
Fink, M., Shalev-Shwartz, S., Singer, Y., & Ullman, S. (2006). Online multiclass learning by interclass hypothesis sharing. Proceedings of the 23rd International Conference on Machine Learning, 313–320. https://doi.org/10.1145/1143844.1143884
Frady, E. P., Kleyko, D., & Sommer, F. T. (2018). A Theory of Sequence Indexing and Working Memory in Recurrent Neural Networks. Neural Computation, 30(6), 1449–1513. https://doi.org/10.1162/neco_a_01084
Franc, V., & Hlaváč, V. (2003). An iterative algorithm learning the maximal margin classifier. Pattern Recognition, 36(9), 1985–1996. https://doi.org/10.1016/S0031-3203(03)00060-8
Freund, Y., & Schapire, R. E. (1999). Large Margin Classification Using the Perceptron Algorithm. Machine Learning, 37(3), 277–296. https://doi.org/10.1023/A:1007662407062
Gallant, S. I. (1990). Perceptron-based learning algorithms. IEEE Transactions on Neural Networks, 1(2), 179–191. https://doi.org/10.1109/72.80230
Gastpar, M., Nachum, I., Shafer, J., & Weinberger, T. (2023, October 13). Fantastic Generalization Measures are Nowhere to be Found. The Twelfth International Conference on Learning Representations. https://openreview.net/forum?id=NkmJotfL42
Gayler, R. W. (2004). Vector Symbolic Architectures answer Jackendoff's challenges for cognitive neuroscience (No. arXiv:cs/0412059). arXiv. https://doi.org/10.48550/arXiv.cs/0412059
Ge, L., & Parhi, K. K. (2020). Classification Using Hyperdimensional Computing: A Review. IEEE Circuits and Systems Magazine, 20(2), 30–47. https://doi.org/10.1109/MCAS.2020.2988388
Gentile, C. (2001). A New Approximate Maximal Margin Classification Algorithm. Journal of Machine Learning Research, 2, 213–242. https://jmlr.csail.mit.edu/papers/v2/gentile01a.html
Gorbunov, E., Hanzely, F., & Richtarik, P. (2020). A Unified Theory of SGD: Variance Reduction, Sampling, Quantization and Coordinate Descent. Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, 680–690. https://proceedings.mlr.press/v108/gorbunov20a.html
Gower, R. M., Loizou, N., Qian, X., Sailanbayev, A., Shulgin, E., & Richtárik, P. (2019). SGD: General Analysis and Improved Rates. Proceedings of the 36th International Conference on Machine Learning, 5200–5209. https://proceedings.mlr.press/v97/qian19b.html
HaoChen, J. Z., Wei, C., Gaidon, A., & Ma, T. (2021). Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss. In M. Ranzato, A.
Beygelzimer, Y. Dauphin, P. S. Liang, & J. W. Vaughan (Eds.), Advances in Neural Information Processing Systems (Vol. 34, pp. 5000–5011). Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2021/file/27debb435021eb68b3965290b5e24c49-Paper.pdf
Har-Peled, S., Roth, D., & Zimak, D. (2002). Constraint Classification for Multiclass Classification and Ranking. In S. Becker, S. Thrun, & K. Obermayer (Eds.), Advances in Neural Information Processing Systems (Vol. 15). MIT Press. https://proceedings.neurips.cc/paper_files/paper/2002/file/16026d60ff9b54410b3435b403afd226-Paper.pdf
Hay, J. C., Lynch, B. E., Smith, D. R., & Murray, A. E. (1960). Mark I Perceptron Operators' Manual (Project PARA) (No. VG-1196-G-5; p. 59). Cornell Aeronautical Laboratory Inc. https://apps.dtic.mil/sti/tr/pdf/AD0236965.pdf
Hernández-Cano, A., Matsumoto, N., Ping, E., & Imani, M. (2021). OnlineHD: Robust, Efficient, and Single-Pass Online Learning Using Hyperdimensional System. 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), 56–61. https://doi.org/10.23919/DATE51398.2021.9474107
Hsiao, Y.-R., Chuang, Y.-C., Chang, C.-Y., & Wu, A.-Y. (2021). Hyperdimensional Computing with Learnable Projection for User Adaptation Framework. In I. Maglogiannis, J. Macintyre, & L. Iliadis (Eds.), Artificial Intelligence Applications and Innovations (Vol. 627, pp. 436–447). Springer International Publishing. https://doi.org/10.1007/978-3-030-79150-6_35
Huang, G.-B., Zhu, Q.-Y., & Siew, C.-K. (2006). Extreme learning machine: Theory and applications. Neurocomputing, 70(1), 489–501. https://doi.org/10.1016/j.neucom.2005.12.126
Imani, M., Bosch, S., Datta, S., Ramakrishna, S., Salamat, S., Rabaey, J. M., & Rosing, T. (2020). QuantHD: A Quantization Framework for Hyperdimensional Computing. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 39(10), 2268–2278. https://doi.org/10.1109/TCAD.2019.2954472
Imani, M., Kong, D., Rahimi, A., & Rosing, T. (2017). VoiceHD: Hyperdimensional Computing for Efficient Speech Recognition. 2017 IEEE International Conference on Rebooting Computing (ICRC), 1–8. https://doi.org/10.1109/ICRC.2017.8123650
Imani, M., Messerly, J., Wu, F., Pi, W., & Rosing, T. (2019). A Binary Learning Framework for Hyperdimensional Computing. 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE), 126–131. https://doi.org/10.23919/DATE.2019.8714821
Imani, M., Morris, J., Bosch, S., Shu, H., Micheli, G. D., & Rosing, T. (2019). AdaptHD: Adaptive Efficient Training for Brain-Inspired Hyperdimensional Computing. 2019 IEEE Biomedical Circuits and Systems Conference (BioCAS), 1–4. https://doi.org/10.1109/BIOCAS.2019.8918974
Jaeger, H. (2001). The “echo state” approach to analysing and training recurrent neural networks (No. 148). GMD - German National Research Institute for Computer Science. https://www.ai.rug.nl/minds/uploads/EchoStatesTechRep.pdf
Jeong, S., Barkam, H. E., Yun, S., Kim, Y., Angizi, S., & Imani, M. (2025). Exploiting Boosting in Hyperdimensional Computing for Enhanced Reliability in
Healthcare. 2025 Design, Automation & Test in Europe Conference (DATE), 1–7. https://doi.org/10.23919/DATE64628.2025.10993058
Kakade, S. M., Shalev-Shwartz, S., & Tewari, A. (2008). Efficient bandit algorithms for online multiclass prediction. Proceedings of the 25th International Conference on Machine Learning, 440–447. https://doi.org/10.1145/1390156.1390212
Kanerva, P. (2009). Hyperdimensional Computing: An Introduction to Computing in Distributed Representation with High-Dimensional Random Vectors. Cognitive Computation, 1(2), 139–159. https://doi.org/10.1007/s12559-009-9009-8
Khardon, R., & Wachman, G. (2007). Noise Tolerant Variants of the Perceptron Algorithm. Journal of Machine Learning Research, 8(8), 227–248. http://jmlr.org/papers/v8/khardon07a.html
Kim, M., & Heo, J. (2024). Study on applicable coverage extension of theory-based generalization errors bounds to the variants of RVFL network and ELM. Neurocomputing, 596, 127875.1-13. https://doi.org/10.1016/j.neucom.2024.127875
Kim, Y., Imani, M., & Rosing, T. S. (2018). Efficient human activity recognition using hyperdimensional computing. Proceedings of the 8th International Conference on the Internet of Things, 1–6. https://doi.org/10.1145/3277593.3277617
Kleyko, D., Osipov, E., Papakonstantinou, N., Vyatkin, V., & Mousavi, A. (2015). Fault detection in the hyperspace: Towards intelligent automation systems. 2015 IEEE 13th International Conference on Industrial Informatics (INDIN), 1219–1224. https://doi.org/10.1109/INDIN.2015.7281909
Kleyko, D., Rachkovskij, D. A., Osipov, E., & Rahimi, A. (2022). A Survey on Hyperdimensional Computing aka Vector Symbolic Architectures, Part I: Models and Data Transformations. ACM Comput. Surv., 55(6), 130:1-130:40. https://doi.org/10.1145/3538531
Kleyko, D., Rosato, A., Frady, E. P., Panella, M., & Sommer, F. T. (2024). Perceptron Theory Can Predict the Accuracy of Neural Networks. IEEE Transactions on Neural Networks and Learning Systems, 35(7), 9885–9899. https://doi.org/10.1109/TNNLS.2023.3237381
Kozinets, B. N. (1964). About a linear perceptron learning algorithm. In Computing Machines and Problems of Programming (Vol. 3, pp. 80–83).
Krauth, W., & Mezard, M. (1987). Learning algorithms with optimal stability in neural networks. Journal of Physics A: Mathematical and General, 20(11), L745–L752. https://doi.org/10.1088/0305-4470/20/11/013
Kussul, E. M., & Baidyk, T. N. (2004). Improved method of handwritten digit recognition tested on MNIST database. Image and Vision Computing, 22(12), 971–981. https://doi.org/10.1016/j.imavis.2004.03.008
Kussul, E. M., Baidyk, T. N., Kasatkina, L. M., & Lukovich, V. V. (2001). Rosenblatt perceptrons for handwritten digit recognition. IJCNN'01. International Joint Conference on Neural Networks. Proceedings (Cat. No.01CH37222), 2, 1516–1520. https://doi.org/10.1109/IJCNN.2001.939589
Kussul, E. M., Baidyk, T. N., Lukovich, V. V., & Rachkovskij, D. A. (1993). Adaptive neural network classifier with multifloat input coding. NEURO '93, 209–216.
Kussul, E. M., Baidyk, T. N., Lukovich, V. V., & Rachkovskij, D. A. (1994). Adaptive high performance classifier based on random threshold neurons. EMCSR '94, 1687–1694.
Lawal, I. A. (2019). Incremental SVM Learning: Review. In M. Sayed-Mouchaweh (Ed.), Learning from Data Streams in Evolving Environments: Methods and Applications (pp. 279–296). Springer International Publishing. https://doi.org/10.1007/978-3-319-89803-2_12
Lee, E. H., & Cherkassky, V. (2024). Understanding Double Descent Using VC-Theoretical Framework. IEEE Transactions on Neural Networks and Learning Systems, 35(12), 18838–18847. https://doi.org/10.1109/TNNLS.2024.3388873
Levi, N. I., Beck, A., & Bar-Sinai, Y. (2024). Grokking in Linear Estimators—A Solvable Model that Groks... https://openreview.net/forum?id=GH2LYb9XV0
Li, Y., & Long, P. M. (2002). The Relaxed Online Maximum Margin Algorithm. Machine Learning, 46(1), 361–387. https://doi.org/10.1023/A:1012435301888
Li, Y., Zaragoza, H., Herbrich, R., Shawe-Taylor, J., & Kandola, J. S. (2002). The Perceptron Algorithm with Uneven Margins. Proceedings of the Nineteenth International Conference on Machine Learning, 379–386. https://www.herbrich.me/papers/paum.pdf
Littlestone, N. (1989). From on-line to batch learning. Proceedings of the Second Annual Workshop on Computational Learning Theory, 269–284.
Lukoševičius, M., & Jaeger, H. (2009). Reservoir computing approaches to recurrent neural network training. Computer Science Review, 3(3), 127–149. https://doi.org/10.1016/j.cosrev.2009.03.005
Lyu, K., Jin, J., Li, Z., Du, S. S., Lee, J. D., & Hu, W. (2024). Dichotomy of early and late phase implicit biases can provably induce grokking. International Conference on Learning Representations. https://collaborate.princeton.edu/en/publications/dichotomy-of-early-and-late-phase-implicit-biases-can-provably-in
Maass, W., Natschläger, T., & Markram, H. (2002). Real-Time Computing Without Stable States: A New Framework for Neural Computation Based on Perturbations. Neural Computation, 14(11), 2531–2560. https://doi.org/10.1162/089976602760407955
Magri, G. (2015). How to keep the HG weights non-negative: The truncated Perceptron reweighing rule. Journal of Language Modelling, 3(2), Article 2. https://doi.org/10.15398/jlm.v3i2.115
Malik, A. K., Gao, R., Ganaie, M. A., Tanveer, M., & Suganthan, P. N. (2023). Random vector functional link network: Recent developments, applications, and future directions. Applied Soft Computing, 143, 110377. https://doi.org/10.1016/j.asoc.2023.110377
Malozemov, V. N., Solovyeva, N. A., & Tamasyan, G. S. (2025). On the Kozinec Algorithm. Vestnik St. Petersburg University, Mathematics, 58(1), Article 1. https://doi.org/10.1134/S1063454125700050
Mao, A., Mohri, M., & Zhong, Y. (2024). Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstention. Proceedings of The 27th International Conference on Artificial Intelligence and Statistics, 4753–4761. https://proceedings.mlr.press/v238/mao24a.html
Matloff, N. S. (2017). Statistical regression and classification: From linear models to machine learning (1st ed.). Chapman & Hall / CRC Press. https://doi.org/10.1201/9781315119588
Mays, C. H. (1964). Effects of Adaptation Parameters on Convergence Time and Tolerance for Adaptive Threshold Elements. IEEE Transactions on Electronic Computers, EC-13(4), 465–468. https://doi.org/10.1109/PGEC.1964.263850
McCulloch, W. S., & Pitts, W. (1943). A logical calculus of the ideas immanent in nervous activity. The Bulletin of Mathematical Biophysics, 5(4), 115–133. https://doi.org/10.1007/BF02478259
Mishchenko, K., Khaled, A., & Richtarik, P. (2020). Random Reshuffling: Simple Analysis with Vast Improvements. Advances in Neural Information Processing Systems, 33, 17309–17320. https://proceedings.neurips.cc/paper/2020/hash/c8cc6e90ccbff44c9cee23611711cdc4-Abstract.html
Mohri, M., & Rostamizadeh, A. (2013). Perceptron Mistake Bounds (No. arXiv:1305.0208). arXiv. https://doi.org/10.48550/arXiv.1305.0208
Mohri, M., Rostamizadeh, A., & Talwalkar, A. (2018). Foundations of machine learning (Second edition). MIT Press. https://cs.nyu.edu/~mohri/mlbook/
Nemirovski, A., Juditsky, A., Lan, G., & Shapiro, A. (2009). Robust Stochastic Approximation Approach to Stochastic Programming. SIAM Journal on Optimization, 19(4), 1574–1609. https://doi.org/10.1137/070704277. https://doi.org/10.1137/070704277
Neubert, P., Schubert, S., & Protzel, P. (2019). An Introduction to Hyperdimensional Computing for Robotics. KI - Künstliche Intelligenz, 33(4), Article 4. https://doi.org/10.1007/s13218-019-00623-z
Nguyen, T., & Sanner, S. (2013). Algorithms for Direct 0–1 Loss Optimization in Binary Classification. Proceedings of the 30th International Conference on Machine Learning, 1085–1093. https://proceedings.mlr.press/v28/nguyen13a.html
Nilsson, N. J. (1965a). Learning Machines: Foundations of Trainable Pattern-Classifying Systems. New York.
Nilsson, N. J. (1965b). Theoretical and Experimental Investigations in Trainable Pattern-Classifying Systems (No. RADC-TR-65-257; p. 103). https://apps.dtic.mil/sti/html/tr/AD0471810/index.html
Novikoff, A. B. (1962). On convergence proofs on perceptrons. 12, 615–622. https://apps.dtic.mil/sti/tr/pdf/AD0298258.pdf
Ortín, S., Soriano, M. C., Pesquera, L., Brunner, D., San-Martín, D., Fischer, I., Mirasso, C. R., & Gutiérrez, J. M. (2015). A Unified Framework for Reservoir Computing and Extreme Learning Machines based on a Single Time-delayed Neuron. Scientific Reports, 5(1), 14945. https://doi.org/10.1038/srep14945
Pale, U., Tejeiro, T., & Atienza, D. (2022). Exploration of Hyperdimensional Computing Strategies for Enhanced Learning on Epileptic Seizure Detection. 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 4076–4082. https://doi.org/10.1109/EMBC48229.2022.9870919
Pao, Y.-H., & Takefuji, Y. (1992). Functional-link net computing: Theory, system architecture, and functionalities. Computer, 25(5), 76–79. https://doi.org/10.1109/2.144401
Ponzina, F., & Rosing, T. (2024). MicroHD: An Accuracy-Driven Optimization of Hyperdimensional Computing Algorithms for TinyML systems (No. arXiv:2404.00039). arXiv. https://doi.org/10.48550/arXiv.2404.00039
Rachkovskij, D. A. (2007). Linear classifiers based on binary distributed representations. International Journal "Information Theories and Applications," 14(3), 270–274. http://www.foibg.com/ijita/vol14/ijita14-3-p12.pdf
Rachkovskij, D. A. (2015). Estimation of Vectors Similarity by Their Randomized Binary Projections. Cybernetics and Systems Analysis, 51(5), 808–818. https://doi.org/10.1007/s10559-015-9774-1
Rachkovskij, D. A. (2022). Representation of spatial objects by shift-equivariant similarity-preserving hypervectors. Neural Computing and Applications, 34(24), 22387–22403. https://doi.org/10.1007/s00521-022-07619-1
Rachkovskij, D. A. (2024). Shift-Equivariant Similarity-Preserving Hypervector Representations of Sequences. Cognitive Computation, 16(3), 909–923. https://doi.org/10.1007/s12559-024-10258-4
Rachkovskij, D. A., & Kussul, E. M. (1998). DataGen: A generator of datasets for evaluation of classification algorithms. Pattern Recognition Letters, 19(7), 537–544. https://doi.org/10.1016/S0167-8655(98)00053-1
Rachkovskij, D. A., Kussul, E. M., & Baidyk, T. N. (2013). Building a world model with structure-sensitive sparse binary distributed representations. Biologically Inspired Cognitive Architectures, 3, 64–86. https://doi.org/10.1016/j.bica.2012.09.004
Rahimi, A., Benatti, S., Kanerva, P., Benini, L., & Rabaey, J. M. (2016). Hyperdimensional biosignal processing: A case study for EMG-based hand gesture recognition. 2016 IEEE International Conference on Rebooting Computing (ICRC), 1–8. https://doi.org/10.1109/ICRC.2016.7738683
Rahimi, A., Kanerva, P., & Rabaey, J. M. (2016). A Robust and Energy-Efficient Classifier Using Brain-Inspired Hyperdimensional Computing. Proceedings of the 2016 International Symposium on Low Power Electronics and Design, 64–69. https://doi.org/10.1145/2934583.2934624
Rakhlin, A., Shamir, O., & Sridharan, K. (2012). Making gradient descent optimal for strongly convex stochastic optimization. Proceedings of the 29th International Conference on International Conference on Machine Learning, 1571–1578.
Ravi, H., Scott, C., Soudry, D., & Wang, Y. (2024). The Implicit Bias of Gradient Descent on Separable Multiclass Data. Advances in Neural Information Processing Systems, 37. https://proceedings.neurips.cc/paper_files/paper/2024/hash/942d5e890e4e0ab0e7a5f8cbcef5b9ff-Abstract-Conference.html
Raviv, N. (2024). Linear Codes for Hyperdimensional Computing. Neural Computation, 36(6), 1084–1120. https://doi.org/10.1162/neco_a_01665
Recht, B., & Ré, C. (2013). Parallel stochastic gradient algorithms for large-scale matrix completion. Mathematical Programming Computation, 5(2), 201–226. https://doi.org/10.1007/s12532-013-0053-8
Reimann, S. (2025). Memory States From Almost Nothing: Representing and Computing in a Nonassociative Algebra. Neural Computation, 37(6), 1154–1170. https://doi.org/10.1162/neco_a_01755
Robbins, H., & Monro, S. (1951). A Stochastic Approximation Method. The Annals of Mathematical Statistics, 22(3), 400–407. https://www.jstor.org/stable/2236626
Roberts, L. G. (1960). Pattern Recognition with an Adaptive Network. IRE International Convention Record, 8, Part 2, 66–70. Computer History Museum.
Rosenblatt, F. (1957). The Perceptron. A perceiving and recognizing automaton (Project PARA) (Nos. 85-460-1; p. II, 29). Cornell Aeronautical Laboratory, Inc. https://bpb-us-e2.wpmucdn.com/websites.umass.edu/dist/a/27637/files/2016/03/rosenblatt-1957.pdf
Rosenblatt, F. (1962). Principles of Neurodynamics: Perceptrons and the Theory of Brain Mechanisms. Spartan Books. https://hdl.handle.net/2027/mdp.39015039846566
Safran, I., & Shamir, O. (2020). How Good is SGD with Random Shuffling? Proceedings of Thirty Third Conference on Learning Theory, 3250–3284. https://proceedings.mlr.press/v125/safran20a.html
Saunshi, N., Plevrakis, O., Arora, S., Khodak, M., & Khandeparkar, H. (2019). A Theoretical Analysis of Contrastive Unsupervised Representation Learning. Proceedings of the 36th International Conference on Machine Learning, 97, 5628–5637. https://proceedings.mlr.press/v97/saunshi19a.html
Schlesinger, M. I., & Hlaváč, V. (2002). Ten Lectures on Statistical and Structural Pattern Recognition (Vol. 24). Springer Dordrecht. https://doi.org/10.1007/978-94-017-3217-8
Schliserman, M., & Koren, T. (2022). Stability vs Implicit Bias of Gradient Methods on Separable Data and Beyond. Proceedings of Thirty Fifth Conference on Learning Theory, 178, 3380–3394. https://proceedings.mlr.press/v178/schliserman22a.html
Schrauwen, B., Verstraeten, D., & Van Campenhout, J. (2007). An overview of reservoir computing: Theory, applications and implementations. Proceedings of the 15th European Symposium on Artificial Neural Networks. p. 471-482 2007, 471–482. http://hdl.handle.net/1854/LU-416607
Searle, S. R., & Gruber, M. H. J. (2016). Linear models (2nd ed.). Wiley. https://www.wiley.com/en-us/Linear+Models%2C+2nd+Edition-p-9781118952832
Shalev-Shwartz, S., & Ben-David, S. (2014). Understanding machine learning: From theory to algorithms. Cambridge university press. https://www.cs.huji.ac.il/~shais/UnderstandingMachineLearning/
Shalev-Shwartz, S., Singer, Y., & Srebro, N. (2007). Pegasos: Primal Estimated sub-GrAdient Solver for SVM. Proceedings of the 24th International Conference on Machine Learning, 807–814. https://doi.org/10.1145/1273496.1273598
Shalev-Shwartz, S., Singer, Y., Srebro, N., & Cotter, A. (2010). Pegasos: Primal estimated sub-gradient solver for SVM. Mathematical Programming, 127(1), Article 1. https://doi.org/10.1007/s10107-010-0420-4
Shor, N. Z. (1985). Minimization methods for non differentiable equations. Springer-Verl.
Smets, L., Rachkovskij, D., Osipov, E., Van Leekwijck, W., Volkov, O., & Latré, S. (2025). Margin-Based Training of HDC Classifiers. Big Data and Cognitive Computing, 9(3), Article 3. https://doi.org/10.3390/bdcc9030068
Smets, L., Rachkovskij, D., Osipov, E., Volkov, O., Van Leekwijck, W., & Latré, S. (2025). Classification Performance of Confidence-Driven Centroids. Cybernetics and Systems Analysis, 61(2), 289–304. https://doi.org/10.1007/s10559-025-00768-w
Smets, L., Van Leekwijck, W., Tsang, I. J., & Latré, S. (2023). Training a Hyperdimensional Computing Classifier Using a Threshold on Its Confidence. Neural Computation, 35(12), 2006–2023. https://doi.org/10.1162/neco_a_01618
Soudry, D., Hoffer, E., Nacson, M. S., Gunasekar, S., & Srebro, N. (2018). The Implicit Bias of Gradient Descent on Separable Data. Journal of Machine Learning Research, 19(70), 1–57. http://jmlr.org/papers/v19/18-188.html
Tanaka, G., Yamane, T., Héroux, J. B., Nakane, R., Kanazawa, N., Takeda, S., Numata, H., Nakano, D., & Hirose, A. (2019). Recent advances in physical reservoir computing: A review. Neural Networks, 115, 100–123. https://doi.org/10.1016/j.neunet.2019.03.005
Thomas, A., Dasgupta, S., & Rosing, T. (2021). A Theoretical Perspective on Hyperdimensional Computing. Journal of Artificial Intelligence Research, 72, 215–249. https://doi.org/10.1613/jair.1.12664
Thomas, A., Khaleghi, B., Jha, G. K., Dasgupta, S., Himayat, N., Iyer, R., Jain, N., & Rosing, T. (2023). Streaming Encoding Algorithms for Scalable Hyperdimensional Computing (No. arXiv:2209.09868). arXiv. https://doi.org/10.48550/arXiv.2209.09868
Tsampouka, P. (2007). Perceptron-Like Large Margin Classifiers [University of Southampton]. http://eprints.soton.ac.uk/id/eprint/264242
Tsampouka, P., & Shawe-Taylor, J. (2005). Analysis of Generic Perceptron-Like Large Margin Classifiers. In J. Gama, R. Camacho, P. B. Brazdil, A. M. Jorge, & L. Torgo (Eds.), Machine Learning: ECML 2005 (Vol. 3720, pp. 750–758). Springer Berlin Heidelberg. https://doi.org/10.1007/11564096_77
Tsampouka, P., & Shawe-Taylor, J. (2007). Approximate maximum margin algorithms with rules controlled by the number of mistakes. Proceedings of the 24th International Conference on Machine Learning, 903–910. https://doi.org/10.1145/1273496.1273610
Uhr, L., & Vossler, C. (1961). A pattern recognition program that generates, evaluates, and adjusts its own operators. Papers Presented at the May 9-11, 1961, Western Joint IRE-AIEE-ACM Computer Conference, 555–569. https://doi.org/10.1145/1460690.1460751
Vapnik, V. N., & Chervonenkis, A. Ya. (1964). On a class of perceptrons. Automation and Remote Control, 25(1), 103–112.
Vapnik, V. N., & Chervonenkis, A. Ya. (1974). Theory of pattern recognition. Nauka.
Vergés, P., Givargis, T., & Nicolau, A. (2023). RefineHD: Accurate and Efficient Single-Pass Adaptive Learning Using Hyperdimensional Computing. 2023 IEEE International Conference on Rebooting Computing (ICRC), 1–8. https://doi.org/10.1109/ICRC60800.2023.10386671
Vergés, P., Heddes, M., Nunes, I., Givargis, T., & Nicolau, A. (2023). Classification using Hyperdimensional Computing: A Review with Comparative Analysis. Research Square. https://doi.org/10.21203/rs.3.rs-3425561/v1
Vergés, P., Heddes, M., Nunes, I., Kleyko, D., Givargis, T., & Nicolau, A. (2025). Classification using hyperdimensional computing: A review with comparative analysis. Artificial Intelligence Review, 58(6), 1–41. https://doi.org/10.1007/s10462-025-11181-2
Wang, J., Lu, S., Wang, S.-H., & Zhang, Y.-D. (2022). A review on extreme learning machine. Multimedia Tools and Applications, 81(29), 41611–41660. https://doi.org/10.1007/s11042-021-11007-7
Wang, K., Muthukumar, V., & Throupoulidis, C. (2023). Benign Overfitting in Multiclass Classification: All Roads Lead to Interpolation. IEEE Transactions on Information Theory, 69(12), 7909–7952. https://doi.org/10.1109/TIT.2023.3320098
Wang, Z., Crammer, K., & Vucetic, S. (2010). Multi-class pegasos on a budget. Proceedings of the 27th International Conference on International Conference on Machine Learning, 1143–1150. https://icml.cc/Conferences/2010/papers/569.pdf
Wu, D., & Sahai, A. (2024). Precise asymptotic generalization for multiclass classification with overparameterized linear models. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, & S. Levine (Eds.), Advances in Neural Information Processing Systems (Vol. 36, pp. 42576–42622). Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2023/file/84f44b36ceb4fbc9bb269959f4796eed-Paper-Conference.pdf
Xu, Z., Zhang, F., Xie, E., Hou, C., Yin, L., Liu, H., Yin, M., Yin, L., Liu, X., & Huang, Y. (2024). A Flexible, Large-Scale Sensing Array with Low-Power In-Sensor Intelligence. Research, 7, 0497. https://doi.org/10.34133/research.0497
Yan, M., Huang, C., Bienstman, P., Tino, P., Lin, W., & Sun, J. (2024). Emerging opportunities and challenges for the future of reservoir computing. Nature Communications, 15(1), 2056. https://doi.org/10.1038/s41467-024-45187-1
Yan, Z., Wang, S., Tang, K., & Wong, W.-F. (2023, September 17). Efficient Hyperdimensional Computing. https://doi.org/10.1007/978-3-031-43415-0_9
Yi, P. (Luke), Yang, Y., Lee, C. Y., & Achour, S. (2025). Early Termination for Hyperdimensional Computing Using Inferential Statistics. Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1, 342–360. https://doi.org/10.1145/3669940.3707254
1 Supplementary Note 1: Related work
1.1 The Perceptrons of Rosenblatt
One of the earliest yet still influential paradigms in machine learning and neural networks is the Perceptron, originally proposed and implemented both as computer programs and hardware by Frank Rosenblatt in the 1950s (Rosenblatt, 1957), (Hay et al., 1960), (Rosenblatt, 1962), (Mays, 1964), (Duda & Hart, 1973). The Perceptron was composed of neural-like elements inspired by the McCulloch-Pitts logical threshold units (McCulloch & Pitts, 1943). Each element received multiple inputs, weighted by connection strengths, and produced a single output, typically a binary value, by applying a threshold to the weighted sum of input signals.
Rosenblatt, together with his research group and followers, developed various Perceptron variants, primarily aimed at pattern classification and regression tasks. These efforts led to more advanced designs, including multi-layer Perceptrons (now commonly known as feedforward neural networks and a foundational component of modern DNNs) and Perceptrons with feedback connections, intended to handle more complex computational problems and dynamic systems.
In Rosenblatt's version of the multi-layer Perceptron, the connection weights of the nonlinear units (neuron-like elements) in the initial layers were non-adaptive and often randomly assigned. The function of these initial layers was to perform a fixed, randomized, nonlinear transformation of the input data vectors into a higher-dimensional secondary feature space. In this transformed space, the target task such as classification could then be effectively addressed by a model that is linear in its parameters. For instance, the alpha Perceptron, exemplified by the hardware-implemented Mark I (Hay et al., 1960), comprised three layers: sensory units, association units, and response units. The sensory units were randomly connected to the association units via fixed weights, while the association units were connected to the response units through adjustable weights.
This linear model, implemented as the single output layer of the multilayer Perceptron, consists of parameters corresponding to the weights of the neurons in the final layer. These weights are adjusted during training to solve the target problem. Thus, the fixed Perceptron layers that perform input transformations can be naturally separated from the final, trainable output linear layer, or omitted entirely in inherently linear problems where they act as identity transformations. This output layer alone forms the simplest variant of the Perceptron: the single-layer Perceptron, or Rosenblatt's Perceptron, which includes only one layer of trainable connection weights, forming a model that is linear in its parameters.
Various versions of simple, incremental online training procedures based on error correction were proposed for Rosenblatt's Perceptrons. Many of these methods were proven to converge to a set of weights that correctly classify all vector data instances from linearly separable classes.
Over time, Rosenblatt's original framework has been reinvented and extended in multiple directions. Within the scope of this paper, multiclass and large-margin Perceptron constructions are most relevant.
1.2 Multiclass Linear Perceptrons
The multiclass linear Perceptron classifier (without margin) was first introduced in a non-adaptive setting by (Eldredge et al., 1956), with adaptive versions appearing later in (Roberts, 1960), (Uhr & Vossler, 1961). This model was referred to as a “linear machine” in (Nilsson, 1965a), (Nilsson, 1965b), (Duda & Hart, 1973).
As noted in (Nilsson, 1965a), (Nilsson, 1965b), (Duda & Hart, 1973), Carl Kesler proposed an equivalent representation of this model as a two-class classifier by concatenating the class weight vectors, see also (Har-Peled et al., 2002), (Crammer & Singer, 2003). This “Kesler construction” enables the use of an error-correcting learning rule and allows the application of two-class Perceptron analysis. It was used to establish convergence guarantees in the linear separable case in (Nilsson, 1965a).
The explicit (linear machine) multiclass linear Perceptron classifier is treated in, e.g., (Nilsson, 1965a), (Nilsson, 1965b), (Duda & Hart, 1973). Mistake bounds for the linearly separable case are presented in, e.g., (Crammer & Singer, 2003), (Beygelzimer et al., 2019). This multiclass construction remains widely used and continues to be analyzed under various loss functions, settings, and tasks. Recent examples include (Beygelzimer et al., 2017), (Soudry et al., 2018), (Beygelzimer et al., 2019), (K. Wang et al., 2023), (Ravi et al., 2024), (Wu & Sahai, 2024), among others.
1.3 Large Margin Perceptrons
Perceptrons with an additive margin were considered as early as (Mays, 1964) in the two-class case, and in the multiclass setting by (Nilsson, 1965b), (Duda & Fossum, 1966). Since then, many variants of Perceptron classifiers with additive margins have been proposed, exemplified by the following methods.
The two-class MinOver algorithm (Krauth & Mezard, 1987) updates only single instance with the minimum score in each epoch, provided that this score falls below the margin threshold . PAUM (Li et al., 2002) is an online two-class classifier that introduces an asymmetric margin to handle class imbalance. ROMMA (Li & Long, 2002) is another online two-class algorithm that, upon a mistake, updates the classifier to find a minimal-norm weight vector satisfying two linear constraints: to classify previous instances well, and to correctly classify the current instance. ROMMA detects mistakes using a zero margin threshold, while aggressive ROMMA (Li & Long, 2002) employs a margin of one. A multiclass extension of ROMMA is presented in (Crammer & Singer, 2003).
The Passive-Aggressive algorithm (Crammer et al., 2006) is an online multiclass method that updates the model only when the margin falls below one. The update is computed by solving a constrained optimization problem that balances enforcing a margin of at least 1 on the current instance with remaining close to the current weights. MIRA (Crammer & Singer, 2003) is another online multiclass algorithm that a -margin threshold to detect mistakes. Its update rule is based on a constrained optimization problem which coincides with Passive-Aggressive in the separable two-class case. Both ALMA (Gentile, 2001) and MICRA (Tsampouka & Shawe-Taylor, 2007) constrain the norm of the weight vector and adjust both the learning rate and the margin threshold as training proceeds.
The Support Vector Machine (SVM) (Vapnik & Chervonenkis, 1964), (Vapnik & Chervonenkis, 1974), (Cervantes et al., 2020) is a principled approach for large-margin classification. Its loss function combines the squared norm of the weight vector with the 1-hinge loss. Notably, replacing the latter with the squared error loss yields Tikhonov regularization (Ridge regression).
Pegasos (Shalev-Shwartz et al., 2007), (Shalev-Shwartz et al., 2010) aims to approximate SVM in the two-class offline and online settings. Stochastic subgradient descent is performed on randomly sampled training instance. If the margin is less than one (i.e., a mistake is made), a Perceptron-style update with weight decay is applied; otherwise, only weight decay is used. An optional step is to limit the norm of the weight vector. A multiclass extension of Pegasos was proposed in (Z. Wang et al., 2010).
Various incremental two-class SVMs are reviewed in (Lawal, 2019). A lesser-known geometric approach for iteratively finding the optimal separating hyperplane between two classes is that of Schlesinger-Kozinec (Kozinets, 1964), (Schlesinger & Hlaváč, 2002), (Franc & Hlaváč, 2003), (Fainzilberg & Matushevych, 2018), (Malozemov et al., 2025). The target hyperplane is defined to be perpendicular to the midpoint of the shortest line segment connecting two points, each belonging to the convex hull of the training instances of the respective classes. The approximate method described in (Schlesinger & Hlaváč, 2002), (Franc & Hlaváč, 2003) maintains a prototype weight vector for each of the two classes. At each epoch, it identifies the training instance closest to the current separating hyperplane and updates the corresponding class prototype using this instance along with weight decay. The learning rate is computed adaptively based on the current weight vector and the selected instance. Training proceeds until a well-defined, sophisticated stopping criterion is met.
In summary, all large-margin training methods described in this section require computations that are more complex than those used in the standard Perceptron and the large-margin Perceptron variants considered in this paper. Our models operate by computing the maximum of unnormalized class scores, obtained via dot products and margin-discounted for the true class during training. In the case of a mistake, the unmodified instance vector is added to the true class weight vector and subtracted from the weights of the incorrectly predicted class. Furthermore, some existing large-margin algorithms do not address extensions from the two-class case to the multiclass setting. Notably, multiplicative margin algorithms have not been explored in prior work of others.
1.4 Fixed Input Nonlinear Transformation
Linear classifiers built upon fixed, randomized nonlinear transformations have been widely studied and form an important class of neural network architectures. One well-known example is the Random Vector Functional-Link (RVFL) network (Pao &
Takefuji, 1992), (Malik et al., 2023), (M. Kim & Heo, 2024), as well as the related Extreme Learning Machine (ELM) (Huang et al., 2006), (Ortín et al., 2015), (J. Wang et al., 2022), both designed for vector-based input data. For data with sequential structure, similar ideas were developed under the framework of Reservoir Computing (RC) (Schrauwen et al., 2007), (Lukoševičius & Jaeger, 2009), (Tanaka et al., 2019) (M. Yan et al., 2024), which includes the Echo State Networks (ESN) (Jaeger, 2001) and Liquid State Machines (LSM) (Maass et al., 2002). These models often employ non-iterative, closed-form solutions based on the Least Squares Method, sometimes enhanced with Tikhonov regularization (i.e., Ridge regression). However, when such solutions rely on computationally intensive singular value decomposition (SVD), they do not natively support online or incremental training.
It is also worth noting the early research from the 1960s on potential functions (Aizerman et al., 1964, 1970). This work operated with the concept of a “linearization space” (also referred to as a “secondary feature” Hilbert space), which anticipates the kernel-based formulations later developed in SVM frameworks.
Biological perspective of Perceptron and expansion into high dimensional space is considered in (Babadi & Sompolinsky, 2014), (Brunel et al., 2025). Complementing analysis of (Babadi & Sompolinsky, 2014), (Frady et al., 2018) developed a theory of sequence indexing and working memory in recurrent networks that directly links echo-state networks to HDC superposition and retrieval. The later extensions in (Kleyko et al., 2024) linked the theory to linear Perceptrons.
1.5 HDC Classifiers
As noted in Introduction, HDC applications employ a variety of hypervector formats and dimensionalities. In classification tasks, this necessitates the use of appropriate efficient classifiers – typically linear, since the transformations used to construct hypervectors are already nonlinear.
The simplest linear multiclass HDC classifier is the prototype/centroid classifier, as described in (Kleyko et al., 2015), (Rahimi, Kanerva, et al., 2016). This method builds class prototypes by averaging the training hypervectors per class, with an option to quantize those prototypes. Although computationally efficient, this approach typically yields modest classification accuracy because it lacks a mechanism to correct misclassifications by updating the class prototypes.
Several "prototype refining" methods in the HDC literature effectively implement variants of the Perceptron algorithm. In VoiceHD (Imani et al., 2017), error correction is applied in a single pass over the training data, yielding integer-valued weights. In contrast, (Y. Kim et al., 2018) investigates models where weights are binarized after multiple training epochs. BinHD (Imani, Messerly, et al., 2019) uses binary prototypes for inference but updates underlying non-binary prototypes upon mistakes, with re-binarization after each update. QuantHD (Imani et al., 2020) similarly maintains both quantized and unquantized prototypes and applies quantization at the end of each epoch. This strategy is employed in other HDC studies, such as (Hsiao et al., 2021).
AdaptHD (Imani, Morris, et al., 2019) dynamically adjusts the learning rate based on the score difference between the true and predicted classes; binarization is performed after training. OnlineHD (Hernández-Cano et al., 2021) improves classification accuracy by using non-binary hypervectors and also adapts the learning rate based on prediction confidence. TD-HDC (Chuang et al., 2020) maintains integer prototypes that are updated upon misclassification by either the binary or integer classifier. Final binarized prototypes are obtained after training, and a "classification confidence" is used at inference to determine which classifier to apply.
Notably, none of these HDC classifiers employ a margin during training.
RefineHD (Vergés, Givargis, et al., 2023) introduces a heuristic that uses the score difference between the top two predicted classes to guide updates. The most relevant HDC approaches in the context of our work, beyond those covered in Section 2.4, are (Smets et al., 2023), (Smets, Rachkovskij, Osipov, Van Leekwijck, et al., 2025), and (Smets, Rachkovskij, Osipov, Volkov, et al., 2025). These models do consider margins between class scores during training, but maintain two sets of weights and use the binarized set to compute class predictions.
2 Supplementary Note 2: Proofs of Mistake Bounds
2.1 Proof of Theorem 1 (Mistake bounds for large margin Perceptrons in the linearly separable case)
The formulation of Theorem 1 is given in section 3.2.1.
Proof. Consider the update of the Perceptron weight matrix (Eq. W), starting from , in the case of a classification mistake at round , i.e., when . We analyze this update for the various versions of the multiclass Perceptron introduced above.
2.1.1 Lower Bound on
Let us obtain a lower bound on in terms of the number of mistakes. Consider the Frobenius dot product , where satisfies (3.11) and (3.12). Suppose a mistake occurs in round .
(1)-(3) For AMPerc, MMPerc, and MMPerc-Abs, using the Perceptron update rule (2.2)-(2.3) and taking -margin condition (3.11) into account, we obtain the following inequality:
Since we start from , it follows that after mistakes .
(4) For MMPerc-Asm, using the weight update rule (3.5), we obtain:
Applying the Cauchy–Schwarz inequality and (3.10): . Substituting this bound and using (3.11), we get . Thus, after mistakes: .
(5) For MMPerc-AbsAsm, using the weight update rule (3.9), we obtain:
Since , we get . Thus, after mistakes: , which matches the bound for MMPerc-Asm.
Using the Cauchy–Schwarz inequality and (3.12), . Thus, we get:
(1)-(3) For AMPerc, MMPerc, and MMPerc-Abs: .
(4)-(5) For MMPerc-Asm and MMPerc-AbsAsm: , with .
2.1.2 Upper Bound on
Let us now derive an upper bound on in terms of the number M of mistakes. In the case of a mistake, using the Perceptron update rule (2.2)-(2.3), which is employed in AMPerc, MMPerc, and MMPerc-Abs, we have:
Let us note that when , the norm of the weight matrix decreases after the update: . However, due to the lower bound of the previous section, we still have .
Now, we have:
(1) For AMPerc, a mistake occurs when . Taking into account that from (3.10), we obtain: , and after mistakes, we get: .
(2) For MMPerc, a mistake occurs when . This gives: . Using the Cauchy-Shwartz inequality: . By applying a (rather loose) upper bound (t-1), we get and (t-1) . Thus, after mistakes, we obtain: (M-1)/2 = (2 ).
(3) For MMPerc-Abs, a mistake occurs when . This gives: . After mistakes, similarly to MMPerc, we obtain: (2 ).
(4) For MMPerc-Asm, using the weight update rule (3.5), we get:
Since a mistake occurs when , we have:
After mistakes, we get: .
(5) For MMPerc-AbsAsm, using the weight update rule (3.9), we get:
Since and sign , we get . Thus, after mistakes, we get .
2.1.3 Combining the Lower and Upper Bounds on
By combining the derived lower and upper bounds on , we obtain the corresponding mistake bounds.
(1) AMPerc: . Solving for , we get:
(2)-(3) MMPerc and MMPerc-Abs: (2 ). Thus, (2 - ) / (2 - ) / (1 - ), where .
(4) MMPerc-Asm: . Thus,
(5) MMPerc-AbsAsm: . Thus, , where .
Q.E.D.
2.2 Proof of Theorem 2 (Mistake bounds for large margin Perceptrons in the linearly non-separable case)
The formulation of Theorem 2 is given in section 3.3.1.
Proof. We initialize all the Perceptron variants considered with . To derive the upper bound on the number of their mistakes, we analyze both a lower and an upper bound on the Frobenius dot product .
2.2.1 Lower Bound on
Let us derive a lower bound on . At round , when a mistake occurs on , a particular Perceptron variant updates its weight matrix using . This update changes as follows (where is the incorrectly predicted class):
(1)-(3) For the learning rule (2.2)-(2.3) used in AMPerc, MMPerc, and MMPerc-Abs:
Consider the term inside the square brackets. Since , we have: . Also, since , we get:
Therefore, in the case of a mistake . In the case of the correct classification (no mistake), , and therefore .
Since we initialize the weights as , then is equal to the sum of at mistakes. Thus, after mistakes in rounds, we have: , where and indexes the rounds on which the particular Perceptron variant made a mistake.
(4) For the learning rule of MMPerc-Asm (3.5):
Therefore, , taking into account . Thus, after mistakes:
(5) For the learning rule of MMPerc-AbsAsm (3.9):
Since sign , we obtain: . Thus, after mistakes, .
2.2.2 Upper Bound on
Using the Cauchy-Shwartz inequality: , and applying the upper bounds on after mistakes in rounds (as derived in section 2.1.2 for various large-margin Perceptron variants), we obtain the following bounds:
(1) AMPerc: .
(2) MMPerc: .
(3) MMPerc-Abs: .
(4) MMPerc-Asm: .
(5) MMPerc-AbsAsm: .
2.2.3 Combining the Lower and Upper Bounds on
By combining the derived lower and upper bounds on , we obtain the corresponding mistake bounds for the various large-margin multiclass Perceptron variants.
(1) For AMPerc with the additive margin (and therefore using the -hinge loss), and a competitor using the -hinge loss, we get: and .
Solving the quadratic inequality for , and focusing on the upper bound, we obtain: , where the discriminant is given by:
To obtain a simpler upper bound on , we observe that the summands inside the square root are non-negative. Thus, we apply the subadditivity property of the square root function (i.e., ) to get:
Substituting into the earlier expression yields the final mistake bound:
(2)-(3) For MMPerc and MMPerc-Abs, we begin with the inequality:
() , , which leads to the following quadratic inequality in : .
To find the upper bound, we solve this inequality using the root with the positive sign: , where the discriminant is:
Taking the square root of and applying the subadditivity property of square roots: .
Finally, we obtain the mistake bound:
(4) For MMPerc-Asm, we begin with the inequality: , which expands to:
Solving the quadratic inequality for M, we obtain:
where the discriminant is given by:
Using the subadditivity property of the square root function, the mistake bound becomes: .
(5) For MMPerc-AbsAsm, following the same derivation steps, we get:
Q.E.D.
3 Supplementary Note 3: Extended Experimental Results
3.1 Results on Synthetic DataGen Datasets
In addition to the results on the original DataGen data with configurations and , reported in section 4.3, here we present classification results after increasing the dimensionality of data vectors using random projection (RP). We further examine the effects of binarizing the RP vectors and varying the bias term.
3.1.1 Real-Valued Vectors after RP
In this setting, we apply a linear Gaussian RP to expand the original vectors with to (prior to appending the bias component). Note that RP also transforms the original unipolar input vectors into bipolar hypervectors.
Overall, the trends in classification accuracy remain similar to those without RP, although some differences emerge. For example, in the configuration , Perc achieves nearly the same accuracy as the best-performing MMPerc (0.9900 vs 0.9927). Also, SVM accuracy improves: 0.9500 vs 0.8620 without RP.
For the case , SVM outperforms the best-performing MMPerc (0.8253 vs 0.8113). This may be attributed to the one-vs-all strategy of SVM, which can offer better separability in low-sample regimes.
Table 6: Classification accuracy of SVM, Ridge, Perc, MMPerc (for -values indicated in the top row of each table section). Settings: , transformed to via RP. Corresponding class regions and decision boundaries are shown in Figure 9 and Figure 10.
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 3 | 5 | 0.8420 | 0.8647 | 0.8340 | 0.8687 | 0.8767 | 0.8953 | 0.8953 | 0.9447 | 0.9380 | 0.9180 | 0.9300 | 0.9267 | 0.9167 |
| 2 | 3 | 50 | 0.8987 | 0.8493 | 0.874 | 0.8507 | 0.9327 | 0.9193 | 0.9233 | 0.938 | 0.9607 | 0.95 | 0.94 | 0.9293 | 0.9247 |
| 2 | 3 | 500 | 0.9500 | 0.8347 | 0.9900 | 0.9720 | 0.9927 | 0.9887 | 0.9887 | 0.9793 | 0.9713 | 0.9653 | 0.9567 | 0.948 | 0.944 |
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 10 | 5 | 0.6052 | 0.5178 | 0.7658 | 0.8292 | 0.7762 | 0.7454 | 0.7016 | 0.685 | 0.6752 | 0.634 | 0.6324 | 0.6044 | 0.5934 |
| 2 | 10 | 50 | 0.5426 | 0.5590 | 0.9406 | 0.9516 | 0.8934 | 0.7954 | 0.7480 | 0.7072 | 0.6764 | 0.6474 | 0.6104 | 0.6200 | 0.6078 |
| d | C | S | SVM | Ridge | Perc | 0.02 | 0.04 | 0.06 | 0.08 | 0.1 | 0.12 | 0.14 | 0.16 | 0.18 | 0.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 10 | 5 | 0.6052 | 0.5178 | 0.7658 | 0.8700 | 0.8576 | 0.7766 | 0.8146 | 0.8292 | 0.7818 | 0.784 | 0.801 | 0.8218 | 0.7762 |
| 2 | 10 | 50 | 0.5426 | 0.5590 | 0.9406 | 0.942 | 0.9214 | 0.9494 | 0.9466 | 0.9516 | 0.9244 | 0.9336 | 0.9164 | 0.901 | 0.8934 |
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
| 10 | 3 | 5 | 0.8253 | 0.7393 | 0.5220 | 0.5220 | 0.5220 | 0.7053 | 0.7453 | 0.7787 | 0.7853 | 0.7940 | 0.8000 | 0.8040 | 0.8113 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 3 | 50 | 0.7707 | 0.7933 | 0.6853 | 0.7073 | 0.7040 | 0.7120 | 0.8293 | 0.8527 | 0.8660 | 0.8453 | 0.8220 | 0.7880 | 0.7787 |
| 10 | 3 | 500 | 0.7653 | 0.7987 | 0.8060 | 0.8173 | 0.8160 | 0.7513 | 0.8720 | 0.8540 | 0.8713 | 0.9220 | 0.8520 | 0.8213 | 0.8047 |
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 10 | 500 | 0.6266 | 0.5868 | 0.7486 | 0.7492 | 0.7612 | 0.7606 | 0.7434 | 0.7922 | 0.8082 | 0.7916 | 0.7642 | 0.693 | 0.6512 |
| 10 | 10 | 5000 | 0.6828 | 0.5972 | 0.7638 | 0.8086 | 0.7860 | 0.8262 | 0.8388 | 0.8230 | 0.8138 | 0.8052 | 0.7784 | 0.7128 | 0.6684 |

(a)


(b)

Figure 9: Class regions and decision boundaries for classification on synthetic data. C=3, d=2 data transformed to D=1000 via RP. . (a) S=5; (b) S=50.

(a)


(b)

Figure 10: Class regions and decision boundaries for classification on synthetic data. C=10, d=2 data transformed to D=1000 via RP. . (a) S=5; (b) S=50.
3.1.2 Binarized Data after RP
This experiment demonstrates that, in contrast to standard RP, the binarized RP transformation (RP+bin) alters the structure of the data and disrupts the original class regions generated by DataGen. While RP approximately preserves vector norms, dot products, and Euclidean distances, RP+bin retains only vector directions (angles), while discurding norms and distances. As a consequence, vectors that originally belonged to different DataGen class regions due to their norm differences may be mapped to similar hypervectors after RP+bin. This is visible in the decision boundaries learned by linear classifiers trained on RP+bin data: the boundaries radiate from the origin, mimicking bias-free classification (see Figure 11 and Table 7).


Figure 11: Class regions and decision boundaries for classification on synthetic data. , , transformed to via RP followed by binarization. . .
Table 7: Classification results for data transformed via RP followed by binarization (RP+bin). , transformed to .
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 3 | 5 | 0.6253 | 0.6433 | 0.6293 | 0.6213 | 0.6413 | 0.6393 | 0.6340 | 0.6327 | 0.6340 | 0.6307 | 0.6287 | 0.6380 | 0.6387 |
bias:
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 3 | 5000 | 0.8180 | 0.7327 | 0.7960 | 0.7920 | 0.7833 | 0.7793 | 0.7640 | 0.7980 | 0.8107 | 0.8220 | 0.8367 | 0.8300 | 0.8067 |
no bias:
| d | C | S | SVM | Ridge | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 3 | 5000 | 0.8180 | 0.7327 | 0.7853 | 0.7800 | 0.7393 | 0.7367 | 0.7647 | 0.8107 | 0.8193 | 0.8320 | 0.8340 | 0.8140 | 0.8167 |
3.1.3 Bias Term after RP
This experiment investigates the role of the bias term. While omitting the bias may be acceptable for certain vector datasets (such as hypervectors that are implicitly normalized, see section 4.1.1), it proves inadequate for other types of vector data. We also examine how the magnitude of the bias term affects performance of classifiers, in line with the discussion in section 4.1.1.
We revisit the benchmark configuration with , after RP into . This high-dimensional case yields substantial bias component magnitudes if set to bias (the maximum norm of vectors in the dataset). Specifically, we obtain: ; ; . We also test with bias and bias . The resulting classification accuracies and decision boundaries are given in Table 8 and Figure 12.
As expected, the case bias = 0 performs poorly, with the decision boundaries radiating from the coordinate origin, clearly illustrating the impact of the missing bias term. Setting bias = 1 improves accuracy relative to the zero-bias case, but remains inferior to bias = norm_max. Although setting bias = 1 shifts MMPerc decision boundaries in the “proper” direction (away from the origin), the shift proceeds much more slowly compared to bias = norm_max.
To better illustrate this effect, we increased nepoch_max from 1000 to 10000 and recorded the epoch at which training converged (i.e., when training accuracy reached 1). For example, with and bias = norm_max, convergence occurred between epochs 2 and 38 as increased. In contrast, with bias = 1, convergence was delayed (e.g., epoch 465 for ), and did not occur within 10000 epochs for .
Accross the tested setups, bias = norm_max consistently outperformed both bias = 0 and bias = 1. We therefore recommend using bias = norm_max as a default choice for new datasets, especially when the data vectors are known to be unnormalized.
Table 8: Classification accuracies for , , transformed to by RP. Varied values of the bias component. The decision boundaries are shown in Figure 12.
| bias | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 32 | 100 | 0.8340 | 0.8687 | 0.8767 | 0.8953 | 0.8953 | 0.9447 | 0.9380 | 0.9180 | 0.9300 | 0.9267 | 0.9167 |
| Convergence epoch | 100 | 2 | 6 | 8 | 8 | 8 | 4 | 10 | 8 | 8 | 26 | 38 | |
| 50 | 38 | 0.8740 | 0.8507 | 0.9327 | 0.9193 | 0.9233 | 0.9380 | 0.9607 | 0.9500 | 0.9400 | 0.9293 | 0.9247 | |
| 50 | 38 | 0.8740 | 0.8507 | 0.9527 | 0.9527 | 0.9607 | 0.9527 | 0.9647 | 0.9527 | 0.9433 | 0.9300 | 0.9260 | |
| Convergence epoch | 190 | 246 | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | |
| 500 | 41 | 0.9900 | 0.9720 | 0.9927 | 0.9887 | 0.9887 | 0.9793 | 0.9713 | 0.9653 | 0.9567 | 0.9480 | 0.9440 | |
| 500 | 41 | 0.9900 | 0.9913 | 0.9947 | 0.9840 | 0.9833 | 0.9807 | 0.9667 | 0.9667 | 0.9567 | 0.9480 | 0.9433 | |
| Convergence epoch | 314 | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg |
| bias | nep | Perc | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.95 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 0 | 0.6540 | 0.6607 | 0.6440 | 0.6547 | 0.6733 | 0.6847 | 0.6847 | 0.6913 | 0.6840 | 0.6733 | 0.6580 | |
| 5 | 1 | 0.7007 | 0.7547 | 0.7407 | 0.7300 | 0.7093 | 0.7307 | 0.7200 | 0.7160 | 0.7100 | 0.6867 | 0.6747 | |
| 5 | 1 | 0.7007 | 0.7320 | 0.7920 | 0.8407 | 0.8213 | 0.7387 | 0.7553 | 0.7187 | 0.7107 | 0.6893 | 0.682 | |
| Convergence epoch | 465 | 1154 | 2567 | 5808 | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | |
| 50 | 0 | 0.6740 | 0.6173 | 0.6487 | 0.6387 | 0.6293 | 0.6380 | 0.6560 | 0.6747 | 0.6840 | 0.6820 | 0.6713 | |
| 50 | 1 | 0.8387 | 0.9140 | 0.9120 | 0.8867 | 0.7680 | 0.6867 | 0.6827 | 0.6980 | 0.7060 | 0.6953 | 0.6827 | |
| 50 | 1 | 0.8387 | 0.9140 | 0.8940 | 0.9333 | 0.9267 | 0.7480 | 0.6847 | 0.6967 | 0.7080 | 0.6967 | 0.6833 | |
| Convergence epoch | 750 | 2251 | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | |
| 500 | 0 | 0.5760 | 0.5633 | 0.5920 | 0.6027 | 0.6180 | 0.6273 | 0.6413 | 0.6540 | 0.6660 | 0.6827 | 0.6800 | |
| 500 | 1 | 0.9627 | 0.9300 | 0.9593 | 0.9713 | 0.9333 | 0.8893 | 0.6767 | 0.6727 | 0.6853 | 0.6920 | 0.6847 | |
| 500 | 1 | 0.9627 | 0.9633 | 0.9540 | 0.9613 | 0.9413 | 0.9007 | 0.6813 | 0.6733 | 0.6847 | 0.6927 | 0.6853 | |
| Convergence epoch | 918 | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg | no cvg |
S=50, bias = 0,

S=500, bias = 0,

S=50, bias = 1,

S=500, bias = 1,


S=50, bias = 1,


S=500, bias = 1,


(a)


(b)

Figure 12: Class regions (red, green, and blue for the three classes) and decision boundaries of the evaluated classifiers. Bias , max number of epochs . Left: boundaries produced by SVM, Ridge, Perc, and the best MMPerc. Right: MMPerc boundaries for varying -values, with darker colors indicating larger . The corresponding values and accuracies are reported in Table 8. C=3, d=2. (a) S=50; (b) S=500.
3.2 Results on Real Datasets
3.2.1 UCIHAR
For the original UCIHAR dataset (Figure 13), both MMPerc and Perc with a bias term achieve slightly lower classification accuracy than their bias-free counterparts. Still, MMPerc outperforms Perc. SVM and Ridge achieve slightly higher accuracy than MMPerc.
On the binarized original UCIHAR data (Figure 14), MMPerc surpasses the accuracy of Perc, SVM, and Ridge. The inclusion of a bias term has little impact on performance. While the accuracy obtained with the cross-validated -value is slightly lower than that achieved with the best-performing , MMPerc still maintains its advantage over Perc.
The RP-based results (averaged over 10 RP realizations; Figure 15) follow the pattern of the original data. Accuracy is stable across classifiers for , which is expected given the linearity of RP, and consistent with the CTG RP results. However, accuracy declines noticeably for . We attribute this to the original data dimensionality being , so that RP to lower dimensions distorts the data's similarity structure. Again, MMPerc () outperforms Perc. However, Ridge achieves the highest accuracy, followed by SVM.
With RP+bin data (Figure 16), classification accuracy improves as increases, similar to CTG. The classifier ranks averaged across values (Figure 17) shows that MMPerc () achieves the lowest (best) average rank. The use of the bias term (bias = norm) leads to modest accuracy improvements. Using cross-validated -values yields slightly lower accuracy than using the best-performing -values.
Overall, UCIHAR displays a somewhat different pattern compared to other datasets: the bias term does not improve results (however, this difference is small), and for non-binary data, both Ridge and SVM outperform MMPerc.

Figure 13: UCIHAR orig. .
(a) ; (b) ; (c) ; (d)
Figure 14: UCIHAR orig+bin. .
(a) ; (b) ; (c) ; (d)

Figure 15: UCIHAR RP.
Figure 16: UCIHAR RP+bin.

Figure 17: Average rank (across values of ) of classifiers operating on the RP+bin hypervectors of UCIHAR. . A lower average rank corresponds to better relative classification performance
3.2.2 ISOLET
For the original ISOLET dataset (Figure 18), both MMPerc and Perc with a bias term perform comparably to their bias-free counterparts. However, MMPerc outperforms Perc, SVM, and Ridge. A similar pattern of classification accuracy is observed on the binarized ISOLET (Figure 19), albeit with lower classification accuracy due to binarization.
The accuracies with RP (averaged over 10 RP realizations; Figure 20) follow the pattern of ISOLET orig. As with the CTG RP and UCIHAR RP cases, classification accuracy remains approximately constant across classifiers when , which is expected given the linearity of RP. For , accuracy declines due to the original data dimensionality being . Again, MMPerc () outperforms Perc, as well as SVM and Ridge. For RP+bin, classification accuracy increases with (Figure
21), as observed for CTG and UCIHAR. Figure 22 shows that MMPerc () achieves the lowest average rank across , outperforming Perc, SV, Ridge.
Across all ISOLET configurations, the inclusion of the bias term (bias = norm) has little effect on accuracy Furthermore, the accuracy obtained using cross-validation remains close to that achieved with the best-performing -values, indicating that cross-validation is effective for ISOLET.

Figure 18: ISOLET orig. .
(a) ; (b) ; (c) ; (d)

Figure 19: ISOLET orig+bin. .
(a) ; (b) ; (c) ; (d)

Figure 20: ISOLET RP.
Figure 21: ISOLET RP bin.

Figure 22: Average (across ) rank of the classifiers operating on RP+bin hypervectors of ISOLET.
3.2.3 HAND1
For both the HAND1 orig (Figure 23) and HAND1 orig+bin (Figure 24) datasets, MMPerc achieves classification accuracy that is equal to or very close to that of Perc. In both cases, incorporating a bias term improves accuracy relative to the bias-free variant. On HAND1 orig, both MMPerc and Perc perform on par with SVM and outperform Ridge. On HAND1 orig+bin, MMPerc and Perc surpass both Ridge and SVM. As expected, classification accuracies are substantially lower on the binarized data compared to the original. Notably, the accuracy obtained using cross-validated -values is very close to that achieved with the best-performing .
On the HAND1 RP dataset (Figure 25), the accuracy values and trends mirror those observed for HAND1 orig across all tested values. While SVM performs comparably to MMPerc and Perc at lower , its accuracy degrades at higher , which can be attributed to suboptimal SVM hyperparameter settings. Ridge shows the lowest accuracy in this setup. For HAND1 RP+bin (Figure 26), Ridge again underperforms, while the other classifiers achieve similar accuracy. Interestingly, the bias-free variant outperforms the one with a bias term in this case. Accuracy improves with increasing ; and RP+bin achieves higher accuracy than both HAND1 orig and all values of tested in the HAND1 RP setting, including the lowest values. Figure 27 shows that MMPerc () without bias achieves the lowest average rank across , followed by SVM and MMPerc with bias.

Figure 23: HAND1 orig. . (a) ; (b) 0.10; (c) 0.07; (d) 0.01
Figure 24: HAND1 orig+bin. . (a) ; (b) 0.01; (c) 0.0; (d) 0.0

Figure 25: HAND1 RP.
Figure 26: HAND1 RP+bin.

Figure 27: Average (across ) rank of the classifiers operating on RP+bin hypervectors of HAND1.
3.2.4 HAND2
For both the HAND2 orig (Figure 28) and HAND2 orig+bin (Figure 29) datasets, MMPerc achieves classification accuracy comparable to that of Perc. The accuracy obtained using cross-validated -values is close to that achieved with the best-performing . On HAND2 orig, incorporating the bias term into MMPerc and Perc has little effect. In contrast, on HAND2 orig+bin, the inclusion of a bias term yields a noticeable improvement in classification accuracy.
On HAND2 orig, SVM achieves a slightly lower accuracy than both MMPerc and Perc, but performs noticeably better than Ridge. For HAND2 orig+bin, SVM performs slightly better than Ridge; however, both fall well below MMPerc and Perc.

Figure 28: HAND2 orig. .
(a) ; (b) ; (c) ; (d)
Figure 29: HAND2 orig+bin. .
(a) ; (b) ; (c) ; (d)
3.2.5 HAND3
For both HAND3 orig (Figure 30) and HAND3 orig+bin (Figure 31) datasets, the accuracy of MMPerc is comparable to that of Perc. The MMPerc accuracy obtained using cross-validated -values is close to that with the best-performing (though slightly worse in the case of MMPerc valid). For HAND3 orig, incorporating the bias term into MMPerc and Perc results in substantially improved performance, whereas for HAND3 orig+bin, including the bias term results in approximately the same accuracy as without bias.
For HAND3 orig, SVM achieves slightly lower accuracy than MMPerc and Perc with bias, and slightly outperforms Ridge. In contrast, for HAND3 orig+bin, SVM performs substantially worse than Ridge, while Ridge itself remains somewhat below MMPerc and Perc.

Figure 30: HAND3 orig. .
(a) ; (b) ; (c) ; (d)
Figure 31: HAND3 orig+bin. .
(a) ; (b) ; (c) ; (d)
3.2.6 HAND4
For both HAND4 orig (Figure 32) and HAND4 orig+bin (Figure 33) datasets, the accuracy of MMPerc is comparable to that of Perc. The MMPerc accuracy obtained using cross-validated values is close to that with the best-performing when using the bias term, and is slightly lower in the case without bias. For both HAND4 orig and for HAND4 orig+bin, incorporating the bias term into MMPerc and Perc leads to substantially improved performance.
For HAND4 orig, SVM achieves slightly lower accuracy than MMPerc and Perc (both with bias), but outperforms Ridge. In contrast, for HAND4 orig+bin, SVM performs worse than Ridge, while Ridge remains slightly below MMPerc and Perc in classification accuracy.

Figure 32: HAND4 orig. .
(a) ; (b) 0.06; (c) 0.09; (d) 0.0
Figure 33: HAND4 orig+bin. .
(a) ; (b) 0.0; (c) 0.0; (d) 0.0
3.2.7 HAND5
For both HAND5 orig (Figure 34) and HAND5 (Figure 35) orig+bin datasets, the accuracy of MMPerc is again very close to that of Perc. The accuracy obtained by MMPerc using cross-validated -values closely matches that achieved with the best-performing when a bias term is used, and is slightly lower in the case without bias. In both datasets, incorporating a bias term into MMPerc and Perc substantially improves performance. On HAND5 orig, SVM performs slightly worse than MMPerc and Perc (both with bias), but still outperforms Ridge. In contrast, for HAND5 orig+bin, SVM underperforms compared to Ridge, which performs on par with MMPerc and Perc with bias.
For HAND5 RP (Figure 36), the accuracy values and their pattern mirror those observed for HAND5 orig across all values of . While the SVM accuracy is close to that of MMPerc and Perc with bias at lower , it declines at higher , which can be attributed to suboptimal SVM hyperparameter settings. MMPerc and Perc without bias perform substantially worse than their biased counterparts, while Ridge accuracy lies between the two.
For HAND5 RP+bin (Figure 37), Ridge shows the lowest performance, while the other classifiers achieve rather close accuracies. Accuracy consistently increases with ; notably, RP+bin outperforms both HAND5 orig and HAND5 RP, starting with . Figure 38 shows that MMPerc () without bias attains the lowest average rank across , followed by SVM and MMPerc with bias, Perc, and Ridge.

Figure 34: HAND5 orig. .
(a) ; (b) ; (c) ; (d)
Figure 35: HAND5 orig+bin. .
(a) ; (b) ; (c) ; (d)

Figure 36: HAND5 RP.
Figure 37: HAND5 RP+bin.

Figure 38: Average (across ) rank of the classifiers operating on RP+bin hypervectors of HAND5.
Overall, across the HAND1–HAND5 datasets (both original and original with binarization), MMPerc consistently achieves classification accuracy comparable to that of the standard Perceptron (Perc), generally showing a slight advantage. The inclusion of a bias term (bias = norm) leads to substantial performance improvements in most cases, particularly for the original datasets, except for HAND2 orig and HAND3 orig+bin, where the results are on par. Cross-validated -values for MMPerc yield accuracies close to those achieved with the best-performing , especially when the bias term is used.
SVM typically performs slightly below MMPerc and Perc with bias on the original datasets but often outperforms Ridge. However, on the binarized original datasets, SVM's performance declines noticeably, falling below that of Ridge (except for HAND2, where Ridge performs slightly worse than SVM), which in turn is generally less accurate than MMPerc and Perc (both with bias).
Notably, for HAND1–HAND5, classification accuracies on the original data are substantially higher than those on the binarized original data. This is due to the very low dimensionality () of the original data in all five datasets, where binarization severely limits representational capacity and reduces class separability.
For HAND1 and HAND5, MMPerc without bias attains the lowest average rank across (and so is the best), followed by SVM and MMPerc with bias, Perc, and Ridge.