Next Article in Journal
Performance Analysis of Sigmoid-Enhanced OSPF for Risk-Aware Adaptive Routing in Secure Networks
Previous Article in Journal
Federated Learning over 5G/6G Networks: Dynamic Client Selection and Resource Allocation for Heterogeneous Edge Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Scheduling Optimization for Isogeny Mapping in SQIsign Based on Lightweight Learning to Rank

1
School of Cyber Engineering, Xidian University, 266 Xinglong Section of Xifeng Road, Xi’an 710126, China
2
School of Electronic Engineering, Xidian University, 266 Xinglong Section of Xifeng Road, Xi’an 710126, China
*
Author to whom correspondence should be addressed.
Network 2026, 6(3), 51; https://doi.org/10.3390/network6030051
Submission received: 26 May 2026 / Revised: 29 June 2026 / Accepted: 30 June 2026 / Published: 7 July 2026
(This article belongs to the Special Issue Advances in AI-Powered Cybersecurity)

Abstract

The post-quantum signature scheme SQIsign achieves extremely compact public keys and signatures, making it attractive for bandwidth-constrained environments. However, its signing efficiency is limited by the high random failure rate of the ideal-to-isogeny mapping procedure and the substantial cost of each retry. Existing optimizations mainly reduce the number or cost of isogeny computations, while overlooking how to schedule commitment retries when multiple candidate ideals are available. We formulate commitment-stage scheduling as a lightweight learning-to-rank problem and provide an instrumented scheduling framework for SQIsign signing only. The pipeline uses two features, trains a weighted logistic regression scorer offline by maximum likelihood with class weighting, and deploys the same scorer online in Rank-ML mode. Live instrumentation on Apple M2 (n = 20,000 candidate attempts at NIST-I) quantifies the commitment bottleneck (86.4% failure; 7.36 mean attempts per session) and shows constant features at a fixed commitment degree (live AUC = 0.50 ). Synthetic training supports the scorer when feature variance is present (test AUC 0.634 ). A remeasured four-way ablation with Batch-only control ( n = 100 , seed 42) separates batch overhead from learned ordering: Rank-ML is indistinguishable from Batch-only at deployment, while Baseline remains fastest for its wall-clock signing time at batch size 10. These results clarify when lightweight ML scheduling applies in SQIsign and provide a reproducible evaluation template separating live, synthetic, remeasured, and proxy evidence.

1. Introduction

In 1994, Shor proposed polynomial-time quantum algorithms for integer factorization and discrete logarithms, theoretically shaking the security foundations of RSA [1] and ECC [2]. With the continuous advancement of quantum hardware, the standardization and deployment of post-quantum cryptography (PQC [3]) have shifted from a long-term vision to an urgent imperative. NIST launched a global call for proposals in 2016 and released their first batch of standardized schemes in 2024: the key encapsulation mechanism ML-KEM (FIPS 203) [4] and the digital signature schemes ML-DSA (FIPS 204) [5] and SLH-DSA (FIPS 205) [6], with HQC [3] subsequently incorporated into the supplementary round as well.
In the current round of the post-quantum signature competition, SQIsign [7] has attracted considerable attention because of its extremely compact public key and signature sizes, making it particularly suitable for bandwidth-constrained scenarios. Proposed by De Feo et al. in 2022, the scheme is based on the Deuring correspondence [8], and its security relies on the computational hardness of the supersingular isogeny problem [9]. However, a fundamental bottleneck in the signing process remains unresolved. The ideal-to-isogeny mapping exhibits a random failure rate of up to approximately 85%, while each mapping attempt incurs a high computational cost. As a result, in a typical signing process, more than eight out of ten attempts consume substantial computational resources without producing a valid result. Existing protocol-level optimization approaches, including ApresSQIsign [10] and the SQIsign2D series [11], primarily reduce either the frequency or the cost of isogeny computations, thereby addressing the questions of “when to compute” and “how to compute.” However, they largely overlook a more fundamental question: “which candidate should be computed first?” When multiple candidate ideals are available, an effective strategy should prioritize the candidates that are more likely to succeed, rather than allocating expensive computations uniformly across candidates with a high probability of failure.
Motivated by this gap, we formulate candidate scheduling during the commitment stage of signing as a lightweight learning-to-rank problem and propose an adaptive scheduling framework that applies exclusively to the signature generation process of SQIsign, rather than to key generation. Our study integrates (i) an open instrumented pipeline, (ii) live characterization of retry behavior, and (iii) a controlled four-way ablation study that isolates the effects of batch scheduling and learned ranking. Simple number-theoretic features are used as candidate predictors, and their effectiveness in practice depends on the insertion point of the commitment stage. We evaluate their discriminative capability on synthetic data (AUC 0.634 ) and further report the deployment performance under a fixed commitment degree (live AUC = 0.50 ). Offline training is performed using weighted logistic MLE, whereas online deployment ranks candidates with Rank-ML using the same scoring function. No pairwise ranking loss is introduced during training. The inference overhead is approximately 10 2 CPU cycles per candidate, whereas a single failed isogeny construction may require up to 10 6 CPU cycles. The implications for timing side-channel security are analyzed explicitly rather than being ignored.
The main contributions of this work are summarized as follows:
1.
Commitment scheduling formulation and instrumented framework. We formulate SQIsign commitment retry as a lightweight learning-to-rank scheduling problem and provide an instrumented signing pipeline with live logging, synthetic training, and four scheduler modes (Baseline, Binary-ML, Batch-only, Rank-ML).
2.
Live empirical characterization of the commitment bottleneck. On Apple M2, we collect 20,000 live candidate attempts at NIST-I, reporting 86.4% failure, 7.36 mean attempts per session, and alignment with remeasured prime trial counts (≈146–172 per sign).
3.
Deployment mismatch and degeneracy diagnosis. We show that at the default post-RandomIdealGivenNorm insertion point, norm bit length and trace parity are constant (live AUC = 0.50 ), the deployed scorer outputs identical probabilities (unique_probs = 1 ), and Rank-ML degenerates to the batch-internal FIFO order.
4.
Controlled scheduler ablation. A remeasured four-way comparison separates batch overhead from learned ordering: Rank-ML is indistinguishable from Batch-only under a fixed degree, while synthetic data (AUC 0.634 ) demonstrates that the scorer works when feature variance exists.
The experiments are conducted on Apple M2 under the NIST-I parameter set and are organized into four categories of evidence: live, synthetic, remeasured, and proxy. Live experiments quantify the bottleneck of the commitment stage, revealing an approximately 86% failure rate and an average of 7.36 attempts per signing session, while also confirming that the evaluated features remain constant in practice (AUC = 0.50 ). Synthetic experiments produce an AUC of approximately 0.634 under controlled feature variation. The remeasured four-way scheduler ablation demonstrates that Rank-ML achieves performance comparable to Batch-only under fixed-degree deployment, whereas Baseline provides the lowest execution time at a batch size of 10.
The remainder of this paper is organized as follows. Section 1 introduces the post-quantum background, the commitment-stage efficiency bottleneck of SQIsign, the learning-to-rank scheduling formulation, and the main contributions of this work. Section 2 reviews existing isogeny-based SQIsign optimizations and the gap in candidate ordering, thereby motivating the proposed ML scheduling framework. Section 3 outlines the SQIsign signing workflow, analyzes the Commitment retry mechanism, and describes how the Rank-ML scheduler is integrated between RandomIdealGivenNorm and RandomEquivalentPrimeIdeal. Section 4 presents the key algorithms and optimization techniques, including failure analysis of RandomEquivalentPrimeIdeal and IdealToIsogeny, the shift from binary classification to learning-to-rank, lightweight feature engineering, the weighted logistic regression model, the online scheduling workflow, and complexity analysis. Section 5 details the experimental design and result analysis on Apple M2, covering the four comparison schemes (Baseline, Binary-ML, Batch-only, and Rank-ML), the training and reproducibility protocol, and four categories of evidence—live, synthetic, remeasured, and proxy—including live bottleneck characterization, synthetic feature validation, the remeasured four-way scheduler ablation, Monte Carlo proxy ablation, limitations, and timing side-channel discussion. Finally, Section 6 summarizes the established results and explicit non-claims, discusses the relation to existing SQIsign optimizations, and outlines future research directions.

2. Related Work

2.1. Performance Optimization of Isogeny-Based Cryptography

In recent years, existing optimization work on SQIsign has mainly focused on two directions: low-level arithmetic acceleration and IdealToIsogeny algorithm improvements.
On the arithmetic side, several studies have achieved substantial speedups through optimized finite-field implementations, SIMD/vectorized instructions [12], and hardware acceleration. For example, optimized assembly implementations significantly reduced SQIsign verification latency on modern CPUs, while FPGA-based accelerators demonstrated [13] that isogeny computations can be greatly accelerated at the hardware level. These works successfully improved the efficiency of individual cryptographic operations, especially during verification.
On the algorithmic side, Lin et al. [14] improved the IdealToIsogeny procedure by exploiting relationships between elliptic-curve discrete logarithm problems and reduced Tate pairings [15]. Their method replaces part of the expensive elliptic-curve [16] computation with finite-field operations, reducing the overall cost of each IdealToIsogeny invocation and achieving measurable speedups in key generation, signing, and verification.
However, despite these advances, an important efficiency bottleneck remains unresolved. Existing methods mainly optimize how fast a single attempt can be executed, but they do not address a more fundamental question: which candidate ideal should be attempted first. In practice, the RandomEquivalentPrimeIdeal and IdealToIsogeny stages exhibit a very high failure rate, meaning that most expensive isogeny computations are ultimately wasted on unsuccessful candidates.
Moreover, prior approaches still suffer from several limitations. Arithmetic-level acceleration reduces the runtime of each computation, but cannot avoid unnecessary failed attempts. Algorithmic improvements inside IdealToIsogeny similarly accelerate every invocation equally, regardless of whether the candidate ideal will eventually succeed. As a result, a large amount of computational effort is still spent exploring low-quality candidates.
This unresolved inefficiency directly motivates our work. Instead of further optimizing the internal implementation of IdealToIsogeny, we introduce a lightweight ranking-based scheduling strategy before expensive isogeny computations begin. When features vary across candidates at the deployment insertion point, inexpensive numerical features and a lightweight scorer can guide attempt order; our live and ablation study identifies when this signal is absent under a fixed commitment degree. Existing protocol-level schemes such as ApresSQIsign and SQIsign2D address complementary bottlenecks (faster or fewer isogeny calls), whereas our focus is candidate ordering within the commitment retry loop; these two lines of work are potentially composable but are not jointly benchmarked in this revision.

2.2. ML Applied to SQIsign Signature Optimization

In the signature generation process of SQIsign, the combined random failure rate of RandomEquivalentPrimeIdeal and IdealToIsogeny reaches approximately 85%. Consequently, the probability that a candidate ideal successfully completes the subsequent isogeny mapping process [17] is below 15%. As a result, more than eight out of every ten expensive algebraic computations fail to produce a valid outcome. Existing protocol-level optimization approaches reduce the overall frequency of isogeny computations but continue to evaluate candidate ideals in a uniformly random order, thereby distributing computational resources evenly across computation paths with a high probability of failure. Low-level implementation optimizations reduce the cost of individual isogeny computations but likewise cannot distinguish the quality of candidate ideals. Consequently, these optimizations accelerate both successful and unsuccessful computations equally. In summary, neither line of research provides an effective mechanism for estimating the quality of candidate ideals before isogeny construction. A substantial fraction of CPU cycles during signing is therefore consumed by algebraic transformations that ultimately fail, rather than by successful isogeny computations.
Motivated by this observation, this paper formulates candidate scheduling during the Commitment stage of SQIsign as a lightweight learning-to-rank problem and proposes an adaptive scheduling framework. Observable number-theoretic features exhibit a predictive capability only when feature variance is present, achieving a synthetic AUC of approximately 0.634. However, at the default insertion point immediately after RandomIdealGivenNorm under a fixed commitment degree, the discriminative capability disappears, resulting in a live AUC of 0.50 . A weighted logistic regression model is trained offline, and the resulting scoring function is used online to rank candidate ideals according to their predicted success probabilities before sequential evaluation until the first successful candidate is identified. The inference overhead is approximately 10 2 CPU cycles per candidate, whereas a single failed isogeny construction may require up to 10 6 CPU cycles. The proposed framework does not modify any cryptographic component and is fully orthogonal to existing protocol-level and implementation-level optimization approaches.
Although the proposed framework can be integrated into the signing pipeline without modifying the underlying cryptographic procedure and can improve candidate ordering when informative online features are available, the current deployment with two features under a fixed commitment degree does not produce measurable latency improvements. At present, the framework relies only on two coarse-grained features, namely norm bit length and trace parity. Although this design keeps the inference overhead extremely low, it does not exploit richer algebraic information from ideal class groups and therefore provides a limited discriminative capability at the current insertion point. Furthermore, the model parameters remain fixed after offline training and are not updated according to runtime statistics. These limitations motivate the future research directions discussed in Section 6.

3. Overall System Framework

The SQIsign system comprises three functional modules: key generation, signature generation, and signature verification. The optimization proposed in this paper is integrated into the Commitment stage of the signature generation process (Figure 1). Specifically, it is inserted between RandomIdealGivenNorm and RandomEquivalentPrimeIdeal, as illustrated in Figure 2.
The key generation and signature verification modules follow the standard SQIsign workflow and are not affected by the proposed scheduler. All ML experiments presented in this paper are conducted exclusively on the Commitment stage of the signature generation process. Therefore, the following section provides only a brief overview of the signature generation process to establish the context in which the proposed scheduler is integrated.
The SQIsign signing algorithm is essentially a non-interactive zero-knowledge proof obtained through the Fiat–Shamir transformation. Its procedure can be divided into three stages: Commitment, Challenge, and Response. In the following, we analyze the cryptographic operations involved in each stage, explain the random failure and retry mechanism in the Commitment stage, and clarify how the lightweight learning-to-rank scheduler is integrated into this mechanism.

3.1. Commitment Phase

The objective of the Commitment phase is to generate a random curve E com while preserving, for the prover, a secret isogeny ϕ com from the fixed public curve E 0 to E com .
1.
Sampling the initial commitment ideal: Invoke RandomIdealGivenNorm ( D mix , true ) , where D mix denotes the smallest prime greater than 2 4 λ . This algorithm outputs a left O 0 -ideal I com with norm D mix . The choice of D mix ensures that the distribution of E com is statistically close to uniform, thereby preventing leakage of private-key information.
2.
Ideal normalization: The norm of I com is excessively large and therefore unsuitable for efficient isogeny computation. To address this issue, RandomEquivalentPrimeIdeal ( I com ) is invoked to transform it into an equivalent ideal with a small prime norm while preserving the ideal equivalence class. This algorithm constructs candidate elements β I com through randomized sampling over an LLL-reduced basis and checks whether nrd ( β ) / nrd ( I com ) is prime. In essence, this process searches for prime values in the value set of a high-dimensional quadratic form. Owing to the restricted candidate space, this step exhibits a non-negligible probability of failure.
3.
Ideal-to-isogeny conversion: The small-norm ideal obtained in the previous step is then passed to IdealToIsogeny , which constitutes the most computationally intensive module in the entire signing procedure. It first invokes SuitableIdeals to search, among several precomputed special maximal orders, for short element pairs satisfying coprimality conditions. Subsequently, FixedDegreeIsogeny and the two-dimensional ( 2 , 2 ) -isogeny chain Isogeny 22 Chain are used to explicitly construct the isogeny mapping ϕ com : E 0 E com and to compute the images of the basis points ( P 0 , Q 0 ) . This module also contains multiple sources of random failure, including norm equation-solving failures and intermediate splitting failures within the ( 2 , 2 ) -isogeny chain. Once a failure occurs, all intermediate computational results are discarded.
4.
Retry loop and integration point of the ML scheduler: Both Step 2 and Step 3 involve relatively high random failure probabilities, resulting in an overall success rate of only approximately 15 % . Consequently, the entire Commitment phase is enclosed within a while true loop. If either RandomEquivalentPrimeIdeal or IdealToIsogeny returns failure, the algorithm executes continue and immediately jumps back to the beginning of the loop, where RandomIdealGivenNorm is invoked again to generate a completely new candidate I com . In other words, a single failure causes the current ideal to be discarded and the entire process to restart, rather than retrying locally at the failure point.
The lightweight learning-to-rank scheduler proposed in this paper is integrated at the entry point of the retry loop, immediately after RandomIdealGivenNorm and before RandomEquivalentPrimeIdeal. At this point, a new candidate ideal I com has been generated, whereas the computationally expensive ideal normalization and isogeny construction procedures have not yet begun. Consequently, feature extraction and score computation introduce only negligible overhead. The scheduler extracts two lightweight features, namely the norm bit length and trace parity, evaluates them using a pretrained logistic regression model, and ranks candidate ideals according to their predicted success probabilities before they are processed by RandomEquivalentPrimeIdeal and IdealToIsogeny. The candidates are then evaluated sequentially in the resulting order until one successfully completes the entire signing procedure, at which point the current retry process terminates.
The norm bit length feature is motivated by the variability introduced during RandomEquivalentPrimeIdeal. However, in the current deployment, feature extraction is performed immediately after RandomIdealGivenNorm, where COM _ DEGREE fixes the value of log 2 nrd ( I ) . Consequently, live execution logs exhibit constant feature values, resulting in no discriminative signal for online ranking at the current insertion point. Improving online ranking performance therefore requires either an alternative insertion point or more informative features.

3.2. Challenge Phase

Once the Commitment phase succeeds, the commitment curve E com and the corresponding images of the basis points are obtained. The Challenge phase is then initiated, during which the challenge value is generated using a hash function as follows:
chl = HASH ( pk j ( E com ) msg )
where pk denotes the public key and msg denotes the message to be signed. The hash function HASH is implemented through multiple iterations of SHAKE 256 (grinding technique), ensuring that the security level still reaches λ bits even when the challenge space 2 e chl is slightly smaller than the security parameter λ .

3.3. Response Phase

The Response phase uses the knowledge of End ( E pk ) contained in the private key to generate an isogeny ϕ rsp from E com to the challenge curve E chl , thereby proving possession of the private key. This phase can be decomposed into the following steps:
1.
Construction of the challenge ideal. Using the private-key basis transformation matrix M sk , the challenge value chl is mapped to a kernel point on E 0 . The corresponding left O 0 -ideal I chl is then obtained through KernelDecomposedToIdeal . Subsequently, the ideal pushforward operation [ I sk ] * is applied to derive the challenge ideal I chl defined over the endomorphism ring of the private-key curve.
2.
Sampling the response isogeny. Compute the intersection ideal I com ¯ ( I sk · I chl ) , which corresponds to all isogenies from E com to E chl . A quaternion α rsp satisfying the norm bound is then sampled from this ideal using lattice-basis sampling via RandomEquivalentQuaternion , thereby determining the response isogeny ϕ rsp .
3.
Decomposition and representation. The quaternion α rsp is processed by ComputeBacktrackingAndNormalize to remove the common prefix shared with the challenge isogeny, yielding the backtracking length n bt . Subsequently, the response isogeny degree d rsp is decomposed into an odd component q rsp and an even component 2 r rsp .
  • The odd component ϕ rsp odd is embedded into a two-dimensional ( 2 e rsp , 2 e rsp ) -isogeny. To achieve this, an auxiliary isogeny I aux is sampled, and IdealToIsogeny , together with SplitAuxiliaryIsogeny , is used to construct the four points ( P chl , P aux ) and ( Q chl , Q aux ) defining the kernel of this two-dimensional isogeny.
  • If the even component is nontrivial ( r rsp > 0 ), the kernel point is extracted through IdealToKernel , and the corresponding isogeny is explicitly computed using the short 2-isogeny chain TwoIsogenyChainSmall .
4.
Signature generation. The challenge isogeny is computed and the curves are unified through ComputeChallengeIsogeny , while SetChangeOfBasisMatrix outputs the basis transformation matrix and auxiliary hints. The final signature is encapsulated as
σ = ( E aux , n bt , r rsp , M chl , chl , hint aux , hint chl )
The complete signing procedure shows that the frequent random retries in the Commitment stage constitute the primary performance bottleneck. The proposed ML scheduler follows the principle of “low-cost prediction guiding high-cost decisions.” During each Commitment attempt, the system first generates a set of candidate ideals, denoted by I = { I 1 , , I k } . The scheduler then extracts lightweight features from each candidate, computes a predicted success score using a pretrained model, and ranks the candidates in descending order of the predicted scores. The ranked candidates are subsequently processed by RandomEquivalentPrimeIdeal and IdealToIsogeny in sequence. As soon as one candidate successfully completes the entire procedure, the current retry round terminates, and the protocol proceeds to the subsequent Challenge and Response stages. When informative feature variation exists across candidates, this ranking strategy can reduce the number of attempts compared with blind search. However, under the current deployment with a fixed commitment degree, the remeasured ablation results indicate that no measurable improvement is achieved.

4. Key Algorithms and Optimization Techniques

The signing procedure of SQIsign can be viewed as the transformation of a left ideal I into an isogeny mapping ϕ I : E 0 E I . This transformation consists of two stages: equivalent ideal normalization and isogeny construction. The first stage transforms the input ideal I into an equivalent ideal J with a small prime norm, thereby reducing the computational cost of the subsequent isogeny construction. The second stage constructs the explicit isogeny mapping from J, including fixed-degree isogeny computation and two-dimensional isogeny chain evaluation. Together, these two stages dominate both the computational cost and the reliability of the signing process while introducing two fundamental challenges:
  • High computational cost: Both subprocedures involve complex algebraic operations, including LLL reduction, norm computation, norm equation solving, and isogeny chain evaluation in θ -coordinates. Consequently, the cost of a single attempt is substantial, requiring approximately 10 6 CPU cycles.
  • Random failures and retries: Due to the randomness inherent in ideal sampling, the above procedures do not always succeed. A failure in either stage requires the current ideal to be discarded and a new one to be resampled, resulting in repeated executions within the main signing loop and significantly increasing both the average latency and runtime variance.
From a system-level perspective, the primary performance bottleneck arises not from the cost of an individual computation but from the large number of unsuccessful attempts caused by low-quality candidate ideals. Therefore, if candidate ideals can be evaluated at a negligible cost before entering the computationally expensive stages, candidates with higher predicted success probabilities can be prioritized for evaluation. Such a strategy has the potential to transform a purely random retry process into a data-driven scheduling process, thereby reducing the expected computational cost. This observation provides the primary motivation for the lightweight ML scheduler proposed in this paper.

4.1. Algorithm Analysis

Before constructing the prediction model, we provide a more comprehensive analysis of the two algorithms, Algorithms 1 and 2, thereby establishing the theoretical foundation for subsequent feature selection and the ranking strategy design.

4.1.1. RandomEquivalentPrimeIdeal

The RandomEquivalentPrimeIdeal algorithm transforms an input ideal I into an equivalent ideal J with a small prime norm. Its mathematical principle is based on the Deuring correspondence: Through the mapping
χ I ( β ) = I · β nrd ( I ) ,
an element β I is converted into an equivalent ideal. If nrd ( β ) / nrd ( I ) is prime, then the target ideal J is obtained.
Algorithm 1 RandomEquivalentPrimeIdeal(I).
Require: I, a left O -ideal
Ensure:  J I of small prime norm, or failure
  1:
counter 0
  2:
Compute LLL-reduced basis α 1 , , α 4
  3:
while  counter < ( 2 B + 1 ) 4  do
  4:
       counter counter + 1
  5:
      Sample c i [ B , B ]
  6:
       β i c i α i
  7:
       J χ I ( β )
  8:
      if  nrd ( J ) is prime then
  9:
         return J
10:
      end if
11:
end while
12:
return failure
The failure of this procedure arises from two primary factors. First, the quality of the LLL-reduced basis determines the achievable norm range of β , which directly influences the probability of obtaining a prime norm. Second, the search space is bounded by ( 2 B + 1 ) 4 . When the value of B is fixed or constrained, some ideals may not admit any suitable β within the bounded search space.

4.1.2. IdealToIsogeny

After obtaining a small prime-norm ideal, the IdealToIsogeny algorithm constructs the corresponding isogeny mapping. Using the “two-dimensional isogeny embedding” technique, it transforms an arbitrary odd-degree isogeny into a sequence of ( 2 , 2 ) -isogeny chains. The procedure can be divided into three stages:
  • SuitableIdeals: Select short elements β 1 , β 2 such that the corresponding degrees d 1 , d 2 are coprime and satisfy u d 1 + v d 2 = 2 e .
  • FixedDegreeIsogeny: Construct the u-isogeny and v-isogeny, which relies on solving norm equations.
  • Isogeny22Chain: Combine the above results into a ( 2 e , 2 e ) two-dimensional isogeny and compute the final mapping.
Algorithm 2 RandomEquivalentPrimeIdeal(I).
Require: I, a left O -ideal
Ensure:  J I of small prime norm, or failure
  1:
counter 0
  2:
Compute the LLL-reduced basis α 1 , , α 4
  3:
while  counter < ( 2 B + 1 ) 4  do
  4:
       counter counter + 1
  5:
      Sample coefficients
       c i [ B , B ]
  6:
      Compute
       β i c i α i
  7:
      Construct
       J χ I ( β )
  8:
      if  nrd ( J ) is prime then
  9:
         return J
10:
      end if
11:
end while
12:
return failure
This algorithm contains multiple sources of failure (see Figure 3), including failures in the SuitableIdeals search, failures in FixedDegreeIsogeny, and intermediate splitting failures in Isogeny22Chain (with probability O ( 1 / p ) ). All these failure points are closely related to the algebraic structure of the input ideal I.

4.2. Optimization Motivation and Paradigm Shift

4.2.1. From Binary Classification to Learning-to-Rank

The preceding failure analysis raises a fundamental question: can the likelihood of success for a candidate ideal be estimated before entering the computationally expensive stages? The most direct approach is to train a binary classification model that makes a hard “valid/invalid” decision for each candidate ideal, thereby filtering out candidates with a high probability of failure before expensive computations are performed. However, experimental results reveal two fundamental limitations of this approach:
1.
Cost imbalance: Even if the model correctly identifies a candidate with a high probability of failure, the inference cost c has already been incurred. Improving prediction accuracy typically requires more informative features and more complex models, causing c to increase and potentially approach or even exceed the computation cost C of processing some successful candidates. Under such conditions, the prediction stage itself becomes a performance bottleneck, which contradicts the fundamental objective of using low-cost prediction to guide high-cost computation.
2.
Objective mismatch: The objective of this task is not to assign accurate labels to every candidate ideal but to identify a feasible candidate from a candidate set as quickly as possible. A binary classification model attempts to answer the question “Is this candidate valid?” In contrast, the practical objective is to determine “Which candidate should be evaluated first?” Learning-to-rank directly optimizes the relative ordering of candidates and therefore is better aligned with the objective of the scheduling task.
Based on these observations, this work shifts the deployment paradigm from absolute classification to relative ranking. During offline training, a weighted logistic regression model is fitted using binary success labels, whereas during online deployment, the resulting scores are used to rank candidate ideals (Rank-ML) without optimizing a pairwise ranking loss. Candidate ideals with the highest predicted scores are evaluated first. Once a candidate successfully completes the procedure, the retry process terminates immediately, and the remaining lower-ranked candidates are not evaluated.

4.2.2. Theoretical Foundation for Machine Learning Integration

The introduction of ML into isogeny mapping scheduling is based on two key observations. First, when feature variation exists across candidate ideals, observable number-theoretic features can correlate with the outcome of isogeny construction and therefore serve as low-cost proxy variables. This observation is validated on synthetic data, whereas under a fixed commitment degree, the live deployment exhibits no discriminative capability (AUC = 0.50 ). Second, the cost of feature extraction and model inference, denoted by c, is approximately 10 2 CPU cycles per candidate, which is substantially lower than the cost of a single IdealToIsogeny attempt, denoted by C, at approximately 10 6 CPU cycles. Therefore, the proposed framework satisfies the principle of “low-cost prediction guiding high-cost decisions.”
When an informative online ranking signal is available and the expected reduction in retry cost exceeds the inference overhead, the scheduling strategy can provide a positive net performance benefit. However, under the current deployment with a fixed commitment degree, the remeasured ablation results show that learned candidate ordering does not produce measurable performance improvements.

4.3. Scheme Design and Feature Engineering

Based on the preceding analysis, this paper proposes a lightweight learning-to-rank scheduling framework. The design is guided by two fundamental constraints. First, the overhead of feature extraction and model inference must satisfy c C , where c denotes the prediction cost and C denotes the cost of a single isogeny attempt. Second, the scheduling strategy is designed to prioritize candidates with higher predicted success probabilities so as to reduce the expected cumulative computational cost by minimizing unsuccessful attempts.

4.3.1. Feature Selection

To ensure extremely low inference overhead, this work employs only two lightweight number-theoretic features that can be extracted in O ( 1 ) time from the ideal structure (Table 1):
  • Norm bit length l = log 2 ( nrd ( I ) ) : This feature measures the magnitude of the ideal norm. Values that are excessively small or large may reduce the probability of obtaining an equivalent prime-norm ideal within the bounded search space, thereby affecting the success rate of RandomEquivalentPrimeIdeal.
  • Trace parity tr ( I ) mod 2 : In the arithmetic of quaternion orders, trace parity is associated with the structural properties of quaternion elements, including invertibility and membership in particular sublattices. These properties may influence the selection of short elements during the execution of SuitableIdeals.
The final feature vector is defined as x = [ x 1 , x 2 , 1 ] , where x 1 denotes the normalized norm bit length and x 2 denotes trace parity (Table 1). No additional features, including kernel-order parity, val 2 ( nrd ( I ) ) , or any other engineered feature, are used during either training or deployment.
The statistical correlation analysis and AUC results are obtained from the synthetic feature-learning dataset, in which norm bit length and trace parity are intentionally varied across candidate ideals. In contrast, under instrumented live SQIsign execution with a fixed commitment degree, both features remain nearly constant, resulting in a live logistic regression AUC of 0.50 . Therefore, these two features should be regarded as candidate predictors whose effectiveness depends on the feature variation introduced by the commitment sampling stage. They are validated under controlled offline conditions with engineered feature variation but do not provide a discriminative capability for live candidate ideals generated under a fixed COM _ DEGREE .

4.3.2. Learning-to-Rank Model

The model adopts logistic regression to map Z-score-normalized feature vectors into success-probability scores, prob [ 0 , 1 ] . Offline training uses weighted maximum-likelihood estimation on binary success labels as follows:
L ( w ) = i = 1 N α y i log p ( x i ) + ( 1 y i ) log ( 1 p ( x i ) ) ,
where y i { 0 , 1 } denotes whether candidate I i completes the commitment attempt (RandomEquivalentPrimeIdeal followed by IdealToIsogeny), p ( x i ) = σ ( w x i ) , and α = N neg / N pos balances the heavily imbalanced dataset. At signing time, the same scorer is deployed as a learning-to-rank scheduler: candidates are sorted by p ( x i ) and attempted sequentially until the first success.
During training, the model optimizes a weighted binary logistic objective using maximum likelihood estimation (MLE) on commitment success labels. During deployment, the learned scores are used exclusively for relative ordering: candidate ideals are ranked according to their predicted success scores and evaluated sequentially until the first successful candidate is found (Rank-ML). No pairwise ranking loss is used during training. Therefore, the term “learning-to-rank” refers exclusively to the online scheduling strategy rather than to the training objective.
The linear structure of the logistic regression model ensures that online inference requires only two multiplications and one addition, thereby satisfying the inference overhead budget of approximately 10 2 CPU cycles.
The model parameters are optimized offline using L-BFGS. The learned parameters, together with the feature normalization parameters, are then embedded directly into the signing implementation as C-language macros, ensuring that online inference introduces neither external dependencies nor additional runtime initialization overhead.

4.4. Workflow Analysis

The optimized Deuring-correspondence workflow is illustrated in Figure 4. The proposed learning-to-rank scheduler is inserted after RandomIdealGivenNorm and before the computationally expensive RandomEquivalentPrimeIdealIdealToIsogeny pipeline, where it ranks candidate ideals before the expensive algebraic computations begin.
During the random sampling stage, candidate ideals are first generated by RandomIdealGivenNorm. Rather than forwarding each candidate immediately to the subsequent expensive procedures, the scheduler first extracts two lightweight features, namely the norm bit length and trace parity, and computes a predicted success score using the pretrained logistic regression model.
The candidate ideals are then ranked in descending order of their predicted scores and processed sequentially. Each candidate is first passed to RandomEquivalentPrimeIdeal and, if successful, subsequently to IdealToIsogeny for isogeny construction. As soon as one candidate successfully completes the entire procedure, the current retry round terminates, and the remaining candidates are discarded without further evaluation.
When informative feature variation exists during online deployment, this integration strategy provides two potential advantages. First, it can reduce unnecessary high-cost computations by postponing the evaluation of lower-ranked candidates. Second, ranking-based sequential evaluation can shorten the expected search path within a candidate batch compared with random ordering. However, under the current deployment with a fixed commitment degree, the remeasured ablation results show that learned candidate ordering does not produce measurable performance improvements. Nevertheless, the framework integrates cleanly into the existing signing pipeline and is validated on synthetic data with engineered feature variation.

4.5. Online Scheduling and Complexity Analysis

The formal objective of the scheduling strategy is to minimize the expected cumulative computational cost. Let C denote the computational cost of a complete IdealToIsogeny attempt, and let c denote the cost of feature extraction and model inference, where c C . Define the success efficiency per unit cost of a candidate ideal as
U ( I ) = P ( Y = 1 I ) C ( I ) .
The scheduler should therefore prioritize candidates with larger values of U ( I ) .
Since C ( I ) is approximately constant within the same stage, the problem reduces to learning a ranking over P ( Y = 1 I ) , as follows:
f ( I i ) > f ( I j ) U ( I i ) > U ( I j ) .
Assume that the average success probability of the candidates under the original random strategy is p. After introducing ranking-based scheduling, let the average success probability of the top-k candidates satisfy p top > p . Then, the expected number of attempts and the expected execution time become
E [ τ ] = 1 p top < 1 p , E [ T ] = C p top .
In each round, the system generates K candidate ideals, extracts features, computes ranking scores, and then sequentially invokes IdealToIsogeny according to the resulting priority order. Once a candidate succeeds, the algorithm immediately returns the result.
Inference overhead analysis: The cost of a single feature extraction and model inference is approximately 10 2 CPU cycles. Therefore, the total inference overhead for K candidates is approximately
K · c 10 3 cycles ,
which remains substantially lower than the cost of a single failed IdealToIsogeny attempt ( C 10 6 cycles). Setting K = 10 matches the batch size used in Rank-ML and Batch-only ablation.

5. Experimental Design and Result Analysis

5.1. Signing Commitment Scheduling

To reduce the computational cost of the subsequent ideal-equivalence transformation and isogeny construction during signing, this work introduces a candidate-ideal scheduling framework based on lightweight features and learning-to-rank in the Commitment stage. When informative feature variation exists across the candidate ideals, the framework evaluates each initial candidate at a negligible cost and prioritizes candidates according to their predicted success probabilities. Under the current deployment with a fixed commitment degree, this discriminative signal disappears. The overall procedure is summarized as follows:
1.
Feature extraction: For each sampled commitment candidate ideal I com , two lightweight number-theoretic features are extracted: the norm bit length ( nrd ( I com ) ) and the trace parity tr ( I com ) mod 2 . Both features can be computed in O ( 1 ) time.
2.
Ranking prediction: The extracted features are provided as input to a pretrained weighted logistic regression model, which produces a predicted success score p [ 0 , 1 ] . This score estimates the probability that the candidate ideal will successfully complete the subsequent RandomEquivalentPrimeIdeal and IdealToIsogeny procedures.
3.
Adaptive scheduling: In Rank-ML, a batch of candidate ideals is ranked according to p and evaluated sequentially until the first successful candidate is found. In Binary-ML, candidate ideals with p < τ (typically τ = 0.5 ) are discarded before entering the computationally expensive stages.
The optimized Commitment workflow follows the principle of using low-cost prediction to guide computationally expensive decisions. A single model inference requires only approximately 10 2 CPU cycles, whereas one failed ideal-to-isogeny conversion incurs a computational cost of approximately 10 5 10 6 CPU cycles.
When informative feature variation exists across candidate ideals, the probability of successful isogeny construction can correlate with the norm bit length and trace parity. Under the current deployment with a fixed commitment degree, however, these features remain constant across candidates, and this relationship cannot be identified from live execution data. Formally, we model
Pr [ IdealToIsogeny ( I ) succeeds ] = f ( nrd ( I ) ) , tr ( I ) mod 2
and fit f on synthetic data where variance is engineered.
The pipeline is validated through the following steps:
1.
Live instrumentation records commitment retry statistics (failure rates and attempt counts per signing session). When live features lack variance, a synthetic session-structured dataset supplies supervised labels for offline training.
2.
A weighted logistic regression model is trained on the synthetic dataset D such that successful samples receive higher predicted probabilities than failed samples on the held-out test split.
3.
During online deployment, a priority-queue scheduling strategy computes scores for a batch of candidate ideals and attempts them sequentially in descending score order until the first success.
The evaluation is organized into three complementary components: live bottleneck characterization, synthetic feature validation, and a remeasured four-way scheduler ablation. Under the current deployment with a fixed commitment degree, the remeasured signing experiments show that learned candidate ordering does not reduce either the number of unsuccessful attempts or the end-to-end signing latency. The Baseline configuration remains the fastest at a batch size of 10.
The proposed model does not modify the underlying cryptographic algorithms. Instead, it changes only the order in which candidate ideals are evaluated when informative score differences exist across candidates. Because such reordering may alter the timing distribution of the signing procedure, the associated timing side-channel implications are analyzed explicitly in Section 5.3.8 rather than being excluded by assumption.

5.2. Comparison Schemes and Evaluation Metrics

To fairly evaluate the incremental benefits introduced by ML-based scheduling, all schemes are tested under the same hardware and compilation environment as follows:
  • Baseline (Random): The original blind-search strategy, which randomly samples ideals until success without applying any filtering mechanism.
  • Binary-ML: Uses the same logistic regression model to output a probability p, with a threshold τ = 0.5 . Candidates satisfying p < τ are discarded directly. This scheme represents the conventional binary-classification approach.
  • Batch-only ( K = 10 ): Pre-samples a batch of ten candidates per round and attempts them in generation (FIFO) order without score-based reordering. This control isolates batch overhead from learned ordering.
  • Rank-ML (Ours): The learning-to-rank and priority-queue scheduling method proposed in this work.
Evaluation metrics include wall-clock signing time, prime-trial counts, commit rounds, and candidate attempts.

5.3. Offline Training Pipeline

To enable the scheduling model to produce reproducible estimates of the success probability of each candidate ideal, this work adopts an offline supervised learning approach to train a lightweight logistic regression model. The training pipeline consists of four stages: data collection, feature processing, model training, and parameter export.

5.3.1. Data Collection

We distinguish four experimental data categories in this revision, each with an explicit label in the text and tables: live (instrumented SQIsign running on Apple M2), synthetic (session-structured CSV generated for feature learning when live features lack variance), measured (historical end-to-end signing benchmarks on Apple M2), and proxy (Monte Carlo ablation calibrated to measured baseline cost). The live and measured results must not be numerically compared to the proxy simulations.
Two datasets feed the training pipeline.
(i) Live commitment-statistics logs (live). We instrument the SQIsign Commitment loop on Apple M2 and record one row per candidate ideal attempt (sample → RandomEquivalentPrimeIdealIdealToIsogeny). During instrumentation only, primality search is bounded by a trial cap of 22 so that candidate-level failures are observable; this cap is not used in the signing benchmarks. This reproduces the heavy-tailed retry statistics of the Commitment loop on Apple M2. At NIST-I, 20,000 live rows (seed 42) yield an 86.4% candidate failure rate and 7.36 mean attempts per session; at NIST-III, 5000 supplementary rows (same cap and seed) yield 91.0% failure and 11.06 attempts per session. In both parameter sets, IdealToIsogeny failures are not observed under this instrumentation, and norm bit length and trace parity remain nearly constant within each level because the commitment degree is fixed per security level. Rank-ML signing was functionally verified at NIST-I and NIST-III before benchmarking; historical Mcycle comparisons are reported in Appendix B only.
(ii) Feature-learning dataset (synthetic). Because live logs at a fixed commitment degree lack feature variance, supervised feature validation uses a session-structured synthetic dataset (20,000 rows, 10% positive rate on the train split after session-wise 80/20 partitioning, seed 42) fitted with weighted logistic regression. Table 2 summarizes live retry statistics. For each commitment attempt, the logged fields are summarized in Table 3.
Table 2. Live commitment candidate statistics (live data; instrumented collection, trial cap 22, seed 42, Apple M2).
Table 2. Live commitment candidate statistics (live data; instrumented collection, trial cap 22, seed 42, Apple M2).
MetricNIST-I (lvl1)NIST-III (lvl3)Reference
Rows collected20,0005000
Candidate failure rate86.4%91.0%≈85%
Mean attempts per session7.3611.06
Norm bit length (unique values)512 (1)768 (1)
Trace parity (unique values)0 only0 only
IdealToIsogeny failures00discussed theoretically
Live logistic AUC0.500.50
Notes: All entries are live measurements from instrumented commitment logging on Apple M2. Mean attempts per session counts candidate rows under instrumentation trial cap 22; remeasured ablation “candidate attempts” in Table 4 uses a different end-to-end signing counter and is not directly comparable. Lvl3 confirms the same constant-feature behavior as lvl1. Measured signing latencies: primary remeasured ablation in Table 4; historical Mcycles in Appendix B.
Table 3. Summary of candidate-ideal log fields.
Table 3. Summary of candidate-ideal log fields.
Feature NameSymbolExtraction Method
Attempt index a t t e m p t _ i d Identified during each signing attempt
Norm bit length l = log 2 ( nrd ( I ) ) Read after ideal generation
Trace parity tr ( I ) mod 2 Read after ideal generation
Success flag s u c c e s s Indicates whether the candidate completes both RandomEquivalentPrimeIdeal and IdealToIsogeny in one attempt (label used for offline training)
Table 4. Remeasured four-way scheduler ablation (NIST-I, Apple M2, n = 100 , seed 42). Wall-clock signing time uses CLOCK_MONOTONIC; Mcycle counters are unavailable without elevated privileges on this platform. “Candidate attempts” counts successful commitment batches per signing session in the benchmark build (no instrumentation trial cap); the live “attempts per session” in Table 2 uses a different counting protocol.
Table 4. Remeasured four-way scheduler ablation (NIST-I, Apple M2, n = 100 , seed 42). Wall-clock signing time uses CLOCK_MONOTONIC; Mcycle counters are unavailable without elevated privileges on this platform. “Candidate attempts” counts successful commitment batches per signing session in the benchmark build (no instrumentation trial cap); the live “attempts per session” in Table 2 uses a different counting protocol.
MethodSign Time (ms)Prime TrialsCommit RoundsCandidate Attempts
Baseline (Random) 75.8 ± 14.5 145.5 ± 147.2 1.0 ± 0.0 1.0 ± 0.0
Binary-ML 79.2 ± 18.6 171.6 ± 176.7 1.0 ± 0.0 1.0 ± 0.0
Batch-only ( K = 10 ) 104.1 ± 14.2 167.8 ± 170.1 1.0 ± 0.0 1.0 ± 0.0
Rank-ML (Ours) 104.2 ± 19.9 156.0 ± 134.6 1.0 ± 0.0 1.0 ± 0.0
Figure 5 visualizes the live failure rate and retry count differences between NIST-I and NIST-III.
Table 5 presents an illustrative fragment of the live commitment log, containing both failed and successful candidate attempts within one signing session. Supervised model fitting uses the synthetic feature-learning dataset described in part (ii); live logs validate retry statistics rather than feature discriminability.
Live statistics (Table 2 and Figure 5) show that most candidate failures originate from RandomEquivalentPrimeIdeal under bounded primality search, while the overall retry rate matches the ≈85% candidate failure level discussed in Section 2 at both NIST-I and NIST-III. Table 5 illustrates the resulting class imbalance through mixed success/fail rows at NIST-I. The feature-learning metrics (Table 6) are synthetic; the live logs at either security level are insufficient for logistic feature learning because norm bit length and trace parity are nearly constant when the commitment degree is fixed. In the subsequent training stage, success labels from the synthetic dataset are used to fit the weighted logistic scorer that guides the online Rank-ML scheduling strategy.

5.3.2. Feature Preprocessing

The two raw features exhibit different scales and distributions. This work applies Z-score normalization to the norm bit length feature as follows:
x 1 = l μ l σ l ,
where μ l and σ l denote the mean and standard deviation of the norm bit length in the training dataset, respectively.
The trace parity is a discrete binary variable in { 0 , 1 } and is directly used as the feature x 2 . The final feature vector is therefore defined as
x = [ x 1 , x 2 , 1 ]
where the constant term 1 corresponds to the bias term.

5.3.3. Model Training

This work adopts a linear logistic regression model whose output probability is given by
p ( x ) = 1 1 + e w x ,
where w R 3 denotes the learnable weight vector.
The training objective is to maximize the log-likelihood function as follows:
L ( w ) = i = 1 N α y i log p ( x i ) + ( 1 y i ) log ( 1 p ( x i ) ) ,
where y i { 0 , 1 } denotes the ground-truth label of the i-th sample.
The optimal weight vector w is obtained using the L-BFGS optimization algorithm. To address the class-imbalance issue, a weighting factor
α = N neg N pos
is assigned to positive samples so as to balance the contributions of the two classes to the loss function.

5.3.4. Weight Export

After training is completed, the learned weights w together with the normalization parameters ( μ l , σ l ) are hard-coded into the SQIsign source code in the form of C-language macros. During online inference, for each newly generated candidate ideal, the corresponding features are extracted and the score is computed according to the following equations:
score = w 0 · log 2 ( norm ) μ σ + w 1 · ( trace mod 2 ) + w 2 , prob = 1 1 + exp ( score ) .
The resulting probability value prob is then used as the scheduling priority for candidate ideals during the online ranking process.

5.3.5. Feature Predictive Validation

To verify that the two selected features carry a predictive signal rather than random noise, we report point-biserial correlations on the training split, test set AUC, and success rates by predicted-probability quantile on the synthetic feature-learning dataset (part (ii) above). The results are summarized in Table 6 and Figure 6. Although the features are coarse, they exhibit a statistically meaningful correlation with commitment success and produce monotonic top-k success rates after ranking.

5.3.6. Reproducibility Protocol

Our experimental design separates four stages with distinct evidential roles: live retry-statistics collection, synthetic feature learning and model fitting, measured signing benchmarks, and Monte Carlo ablation proxies. Table 7 and Table 8 summarize each stage together with its random seed, sample size, platform, and the table or figure where the results are reported. Live and proxy results are never numerically compared to measured signing latencies.
Live data collection. On Apple M2, we enable commitment-stage instrumentation and log every candidate ideal attempt together with its norm bit length, trace parity, and success label. At NIST-I, we collect 20,000 attempts (seed 42); at NIST-III, we collect 5000 supplementary attempts under the same settings. The resulting failure rates and mean attempts per session are summarized in Table 2 and Figure 5.
Synthetic training and deployment. When live features lack variance, model training and feature validation rely on the synthetic pipeline in Table 6 and Table 7. The fitted coefficients used in this revision are w 0 = 0.418 , w 1 = 0.465 , w 2 = 0.321 , μ l = 61.520 , and σ l = 1.236 , and are hard-coded into the Rank-ML signing implementation.
Benchmarks and ablation. Table 4 reports the primary remeasured four-way ablation under the current implementation, including a Batch-only control with an identical batch size but no score-based ordering. Historical end-to-end Mcycle measurements from an earlier integration pass are relegated to Appendix B and are explicitly labeled as not reproduced. Monte Carlo ablation in Table 9 reports proxy scheduling behavior metrics only and must not be compared numerically to remeasured signing latency.
Deployment degeneracy check. On 1000 commitment ideals sampled at NIST-I, the deployed scorer assigns a single distinct success probability (unique_probs = 1 , prob_stddev = 0 ), confirming that online ranking collapses when norm bit length and trace parity are constant.
Scope and limitations. Measured latency claims must distinguish historical Mcycle tables from remeasured wall-clock ablation; live data establish retry statistics but not feature discriminability; and synthetic data support feature validation only under engineered variance. Extension to richer features, different insertion points, additional parameter sets, and constant-time side-channel hardening are left for future work.

5.3.7. Limitations

1.
Fixed commitment degree. SQIsign samples commitment ideals at a protocol-fixed norm, so the selected features are constant in live deployment and provide no online ranking signal (live AUC = 0.50 ).
2.
Training–deployment mismatch. Model weights are fit on synthetic feature distributions ( μ l 61.5 ) that do not match the live norm bit length (512 at NIST-I). With live features ( l , tr ) = ( 512 , 0 ) and deployed coefficients ( w 0 = 0.418 , w 1 = 0.465 , w 2 = 0.321 , μ l = 61.520 , σ l = 1.236 ), the normalized input is x 1 = ( 512 μ l ) / σ l 364.4 and x 2 = 0 , yielding an identical score 0.418 × 364.4 0.321 for every candidate; qsort then breaks ties via generation index (FIFO within each batch).
3.
Batch overhead. Rank-ML and Batch-only pre-sample ten candidates per round; under degenerate ranking, this adds wall-clock overhead relative to Baseline without demonstrating a learned ordering benefit.
4.
Historical vs. remeasured benchmarks. Appendix B and Table A2 document three incompatible Mcycle protocols (121.623/≈127.5/189.2 Mc); Table 4 is the primary remeasured scheduler comparison.

5.3.8. Security Discussion

Signature semantics. The scheduler does not modify SQIsign signature semantics: verification equations, message hashing, and key material are unchanged. Only the order in which commitment candidates are attempted may change.
Public versus secret-dependent variables. The scheduling features (norm bit length and trace parity) are computed from pseudorandomly sampled commitment ideals and their observable number-theoretic invariants, not directly from private-key bits. Nevertheless, failure events in RandomEquivalentPrimeIdeal and IdealToIsogeny depend on the sampled ideal and on protocol randomness, so total signing time can correlate with unobservable outcomes even when individual feature values appear public.
Timing and side-channels. Reordering, filtering, and early termination change runtime distributions, branch behavior, and memory-access patterns in the Commitment loop. Rank-ML early termination may leak which candidate index first succeeds through timing; Binary-ML hard filtering may leak discard decisions when candidates are skipped before expensive stages. We therefore treat timing side-channel resistance as an open engineering question rather than as a property inherited from unchanged verification logic. Both Rank-ML and Binary-ML would require constant-time scheduling engineering in high-assurance deployments; a formal constant-time analysis remains future work.

5.4. Experimental Setup

The proposed implementation is evaluated end-to-end on a 64-bit ARM platform. The test environment comprises an Apple M2 CPU (nominal frequency 3.5 GHz) running macOS 15.6. All schemes are compiled with Clang 17 using optimization flags -O3 -march = native. To fairly evaluate the incremental benefits introduced by machine learning-based scheduling, all schemes are tested under the same hardware and compilation environment. In addition, all underlying arithmetic operations are accelerated using NEON vectorization.
The following comparison schemes are included in the evaluation:
  • Baseline (Random): The original blind-search strategy, which randomly samples candidate ideals until success without introducing any filtering or ranking mechanism.
  • Binary-ML: Uses the same logistic regression model as Rank-ML to predict success probabilities, with a threshold τ = 0.5 . Candidates with predicted probabilities below the threshold are discarded directly. This scheme represents the conventional binary-classification approach.
  • Batch-only ( K = 10 ): Pre-samples ten candidates per round and attempts them in generation (FIFO) order without score-based reordering, isolating batch overhead from learned ordering.
  • Rank-ML (Ours): The learning-to-rank and priority-queue scheduling strategy proposed in this work. In each round, a batch of candidate ideals is generated, ranked in descending order according to their predicted scores, and then attempted sequentially until a successful candidate is found.

5.4.1. Baseline Performance Evaluation

Figure 7 presents a visual summary of the computational costs of key generation, signing, and verification under the three NIST parameter sets (reported for standard SQIsign context only; the proposed scheduler is evaluated only on Commitment-stage scheduling during signing, not on key generation). The corresponding numerical results are reported in Table 10.

5.4.2. Remeasured Scheduler Ablation (Primary Results)

Table 4 and Figure 8 report the primary remeasured four-way scheduler comparison at NIST-I on Apple M2 ( n = 100 signing runs, seed 42, batch size 10). Under the current fixed-commitment-degree deployment, all modes complete signing in a single commitment round on average ( commit _ rounds ¯ = 1.0 ), so the historical attempt reduction from 6.8 to 3.1 documented in Appendix B is not reproduced and must not be interpreted as a consequence of the live feature AUC.
The remeasured ablation shows three consistent patterns. First, Rank-ML is statistically indistinguishable from Batch-only in wall-clock signing time (104.2 ms vs. 104.1 ms) and in mean candidate attempts ( 1.0 ), confirming that online ranking adds no measurable benefit once deployment scores collapse to a constant (unique_probs = 1 ). Second, Baseline remains fastest (75.8 ms ± 14.5 ms) because its batch pre-sampling of ten candidates per round introduces overhead that outweighs any benefit from learned ordering. Third, the prime-trial counts (≈146–172 per signing session) align with live instrumentation (≈151), validating that the benchmark captures the same retry-heavy commitment path even when ML ranking is inactive.
Historical Mcycle measurements from an earlier integration pass (Appendix B) are retained for transparency only; Table A2 explains why 189.2 Mc, ≈127.5 Mc, and 121.623 Mc must not be treated as one consistent baseline.

5.4.3. Monte Carlo Proxy Ablation

To reveal behavioral differences among scheduling strategies along the retry path under simulated feature variance, this work constructs a Monte Carlo simulation framework anchored to an earlier Baseline cost estimate. Table 4 reports remeasured end-to-end signing behavior on Apple M2, whereas Table 9 reports Monte Carlo proxy metrics only; the two tables must not be read as directly comparable latency numbers. Historical Mcycle values in Appendix B are likewise not reproduced under fixed-degree deployment. The proxy ablation results are summarized in Table 9, while the scheduling behavior comparison is presented in Table 11.
The Monte Carlo ablation (Table 9 and Table 11) illustrates proxy behavioral differences between Binary-ML and Rank-ML under simulated feature variance. These proxy dynamics are not observed in the remeasured fixed-degree deployment, where Rank-ML ≈ Batch-only.
1.
Significant compression of outer retry rounds: Binary-ML reduces the average number of commitments per round through hard-threshold filtering (1.384 versus 3.511 for the Baseline). However, due to the rigidity of threshold-based filtering, the overall signing process still requires more outer retry rounds, with substantial variance (mean rounds = 4.387; std rounds = 3.818).
In contrast, Rank-ML replaces hard rejection with ranking-based scheduling. By sequentially attempting candidates within the same round, it achieves more forward progressions (mean forwards = 10.355) and fewer outer retry rounds (mean rounds = 1.036) in the proxy model only; these dynamics are not observed under fixed-degree remeasured deployment (Table 4).
2.
Structural improvement in tail latency: Both ML-based strategies significantly improve the P90 latency compared with the Baseline (412.865 Mc) in the proxy model. Rank-ML achieves a slightly lower P90 latency (118.210 Mc) than Binary-ML (118.235 Mc). More importantly, although the proxy mean latency of Rank-ML (92.247 Mc) is higher than that of Binary-ML (81.746 Mc) within the simulation, this ordering compares proxy values only and must not be extrapolated to remeasured wall-clock signing (Table 4). The relevant takeaway is that Rank-ML exhibits a smaller relative gap between its proxy P90 and proxy mean, suggesting milder tail behavior under the simulated scheduling dynamics.
The reason lies in the “ranking-first, sequential-attempt” strategy of Rank-ML, which avoids the “all-or-nothing” effect inherent in threshold-based filtering. Even low-score candidates retain a chance to be attempted, thereby preventing additional retry overhead caused by mistakenly discarding valid candidates.

5.5. Result Analysis

Based on the remeasured ablation and live/synthetic evidence, we analyze three aspects: deployment degeneracy, batch overhead, and what each evidence type supports.
1.
Deployment degeneracy: Live logs show a constant norm bit length (512) and trace parity (0) at the NIST-I fixed commitment degree, yielding live logistic AUC = 0.50 . A dedicated deployment check on 1000 commitment ideals confirms that the hard-coded scorer outputs a single distinct probability (unique_probs = 1 ). Consequently, Rank-ML online ordering collapses to generation order within each batch and is empirically indistinguishable from Batch-only (Table 4).
2.
Batch overhead vs. learned ordering: Batch pre-sampling ( K = 10 ) increases wall-clock signing time relative to Baseline (≈104 ms vs. ≈76 ms) without reducing mean candidate attempts below 1.0 in the remeasured runs. Binary-ML sits between the Baseline and batch modes in latency while incurring higher prime-trial variance. These results isolate scheduling overhead from any hypothetical ML benefit and explain why historical Mcycle gains (Appendix B) cannot be treated as causal under the current feature design.
3.
Evidence composition: The live data establish retry statistics and prime-trial scale; the synthetic data support feature validation when variance is engineered; remeasured ablation confirms functional integration and degenerate ranking; and the proxy Monte Carlo results in Table 9 illustrate relative tail behavior under simulated scheduling dynamics only. Together, they demonstrate the feasibility of the scheduling framework while clarifying that the present two-feature deployment does not yet deliver a measurable learned ordering benefit.

6. Conclusions and Future Work

This work addresses the high random failure rate in the ideal-to-isogeny conversion process of SQIsign and provides the first reproducible instrumented study of commitment-stage scheduling with explicit separation of live, synthetic, remeasured, and proxy evidence.

6.1. Summary of Contributions

6.1.1. What We Establish

(i) Live bottleneck characterization: At NIST-I, 86.4% candidate failure and 7.36 mean attempts per session are achieved (Table 2). (ii) Integratable framework: Weighted logistic MLE offline training and Rank-ML/Binary-ML/Batch-only scheduler modes function correctly at NIST-I and NIST-III. (iii) Deployment diagnosis: At the default post-RandomIdealGivenNorm insertion point, features are constant, the scorer degenerates (unique_probs = 1 ), and Rank-ML is empirically indistinguishable from Batch-only (Table 4). (iv) Conditional feasibility: On synthetic data with engineered variance, the same scorer achieves AUC 0.634 (Table 6).

6.1.2. What We Do Not Claim

We do not claim live feature ranking, historical 6.8→3.1 attempt reductions, or 35.7% Mcycle speedups as consequences of the current two-feature deployment. The historical Mcycle measurements are documented in Appendix B for transparency only.

6.1.3. Takeaway for Practitioners

ML scheduling for SQIsign requires (a) feature extraction at a point where protocol-fixed parameters do not collapse variance and (b) batch-only controls in any benchmark protocol. Table 8 is intended as a reusable template for future ML-for-cryptography scheduling studies on Apple M2 at NIST-I within our reported data budget.

6.2. Relation to Existing SQIsign Optimizations

Our scheduler is orthogonal to protocol-level accelerators such as ApresSQIsign and dimension-reduction variants such as SQIsign2D. These approaches primarily reduce the cost or invocation pattern of individual isogeny computations, whereas our study examines whether lightweight ordering can reduce wasted commitment work before the expensive RandomEquivalentPrimeIdeal and IdealToIsogeny stages where an online feature signal exists. We therefore view the methods as complementary rather than competing. This revision intentionally isolates the scheduling mechanism through Baseline, Binary-ML, Batch-only, and Rank-ML comparisons on a common SQIsign lvl1 implementation. We additionally verify that the same instrumented commitment pipeline and Rank-ML signing path function correctly at NIST-III, with supplementary live retry statistics reported in Table 2. We do not claim that remeasured latency ordering would automatically persist when stacked on top of every existing optimized baseline or at every NIST parameter set; such combined evaluation requires unified integration engineering and is left for future work.

6.3. Future Research Directions

The framework is integratable, but the present deployment point yields no live ranking signal; we prioritize the following directions.
First, relocate feature extraction to stages where norm bit length varies (e.g., after prime-norm reduction), and re-run Rank-ML versus Batch-only ablation before making any performance claim. Second, extend the expressive power of feature representations while maintaining low inference overhead, including structural statistics of ideal generators or compact nonlinear scorers, evaluated only under documented live variance. Third, explore constant-time scheduling engineering and side-channel validation for Rank-ML early termination and Binary-ML filtering in high-assurance deployments. Fourth, extend the evidence map evaluation template to additional platforms, parameter sets, and combined stacks with ApresSQIsign or SQIsign2D implementations.

Author Contributions

Conceptualization, X.Z.; methodology, X.Z. and Y.Z.; software, Y.Z.; validation, Y.Z. and S.H.; formal analysis, X.Z. and Y.Z.; investigation, Y.Z.; resources, X.Z.; data curation, Y.Z.; writing—original draft preparation, X.Z.; writing—review and editing, X.Z., Y.Z. and S.H.; visualization, Y.Z.; supervision, X.Z.; project administration, X.Z.; funding acquisition, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

    The following abbreviations are used in this manuscript:
LLLLenstra–Lenstra–Lovász
MLMachine Learning
NISTNational Institute of Standards and Technology
PQCPost-Quantum Cryptography
SQIsignShort Quaternion and Isogeny Signature

Appendix A. Main Notations and Parameters Used in SQIsign

Table A1. Main notations and parameters used in SQIsign.
Table A1. Main notations and parameters used in SQIsign.
Scheme Parameters
λ Security parameter, typically chosen as 128, 192, or 256.
pBase field characteristic, usually a prime of the form c · 2 f 1 .
fThe 2-adic valuation of p + 1 , typically satisfying f 2 λ .
Basic Mathematical Structures
Z / d Z Ring of integers modulo d.
F p Finite field with p elements.
F p 2 Quadratic extension field with p 2 elements.
F p ¯ Algebraic closure of F p .
GL n ( q ) General linear group of invertible n × n matrices over F q .
Elliptic Curves and Isogenies
EAn elliptic curve defined over F q .
E [ n ] The n-torsion subgroup of E.
j ( E ) The j-invariant of elliptic curve E.
φ : E E An isogeny between elliptic curves E and E .
End ( E ) Endomorphism ring of elliptic curve E.
B p , Quaternion algebra ramified at p and .
O An order in the quaternion algebra B p , .
O L ( I ) , O R ( I ) Left and right orders of ideal I.
tr ( α ) Reduced trace of quaternion element α .
nrd ( α ) Reduced norm of quaternion element α .
nrd ( I ) Norm of ideal I.
[ I ] , [ I ] Pullback and pushforward operations induced by ideal I.
Signature Protocol Variables
pk Public key containing curve E pk and auxiliary hint information.
sk Secret key containing secret ideal I sk and basis transformation matrix.
msg Message to be signed.
HASH Hash function constructed from SHAKE256.
chl Challenge value generated from ( pk , E com , msg ) .
E aux Auxiliary curve used in the response phase.
n bt Number of backtracking steps.
r rsp 2-adic valuation of the response isogeny degree.
σ Final signature output.
D mix Degree of the commitment isogeny, chosen as the smallest prime greater than 2 4 λ .
D resp Degree of the response isogeny.
D chl Degree of the challenge isogeny, defined as 2 f .
e chl Size of the challenge space satisfying e chl = f e resp .

Appendix B. Historical Mcycle Benchmarks

Table A3 and Figure A1 report historical end-to-end signing measurements from an earlier Apple M2 integration pass (Baseline/Binary-ML/Rank-ML; 10 runs; Clang 17; -O3). They are not reproduced in the remeasured four-way ablation (Table 4): under a fixed commitment degree, mean candidate attempts equal 1.0 for all modes, live logistic AUC is 0.50 , and Rank-ML is indistinguishable from Batch-only.

Appendix B.1. Measurement Baseline Reconciliation

Several Mcycle figures appear in this revision under different benchmark protocols. They must not be read as a single consistent time series. Table A2 summarizes the three baselines relevant to reviewer questions about 127.5 Mc, 189.2 Mc, and 121.623 Mc.
Table A2. Reconciliation of NIST-I signing Mcycle figures (Apple M2). Each row uses a different benchmark protocol; cross-row numerical comparison is invalid unless explicitly remeasured under one protocol.
Table A2. Reconciliation of NIST-I signing Mcycle figures (Apple M2). Each row uses a different benchmark protocol; cross-row numerical comparison is invalid unless explicitly remeasured under one protocol.
LabelTableSign (Mc)Protocol Summary
BTable 10121.623Standard SQIsign ref signing: benchmark_lvl1, no ML scheduler, perf counter (sudo), n = 10 . Contextual platform baseline only.
CEng. note127.464 (Baseline)/121.635 (Rank)Paired ML-integration builds on the same branch: Baseline vs. Rank-ML scheduler mode, benchmark_lvl1, sudo perf counter, n = 10 , seed documented in repository note. Internally pairwise comparable; ≈4.6% gap, not 35.7%.
ATable A3189.2 (Baseline)/121.6 (Rank)Early scheduler-comparison campaign: reports mean attempts (6.8/3.1) alongside Mcycles; build and averaging path differ from Protocols B–C (instrumentation/integration snapshot). Retained for transparency only; not reproduced and not numerically comparable to 127.5 or 121.6 Mc rows without remeasurement.
Primary (2025)Table 475.8–104.2 (ms)Remeasured four-way ablation: wall-clock (CLOCK_MONOTONIC), n = 100 , seed 42; Mcycles unavailable without sudo on remeasure host.
Notes: (1) 121.623 Mc (B) matches standard optimized SQIsign signing and is almost identical to historical Rank-ML 121.6 Mc (A), reinforcing that Table A3 must not be read as isolated ML speedup over an optimized baseline. (2) 189.2 Mc (A) and 127.5 Mc (C) differ because they come from different integration snapshots and benchmark definitions, not because the same binary was re-run. (3) Live retry collection reports 7.36 mean attempts per session; Table A3 attempt columns (6.8/3.1) use yet another counting protocol and are likewise not reproduced in Table 4.

Appendix B.2. Rationale for Retaining Table A3

We keep Table A3 only to document what the original scheduler-comparison manuscript reported, together with the explicit warning that its baseline Mc (189.2) is not the same measurement as either standard SQIsign signing (121.623 Mc) or the paired internal Baseline build (≈127.5 Mc). No main-text conclusion depends on numerically aligning these rows.
Table A3. Historical Mcycle comparison from an earlier scheduler-comparison integration pass (NIST-I, Apple M2). Protocol A (Table A2): Not numerically comparable to standard SQIsign 121.623 Mc (Protocol B) or internal paired Baseline ≈127.5 Mc (Protocol C). Not reproduced under the current fixed-degree deployment; primary evidence is Table 4.
Table A3. Historical Mcycle comparison from an earlier scheduler-comparison integration pass (NIST-I, Apple M2). Protocol A (Table A2): Not numerically comparable to standard SQIsign 121.623 Mc (Protocol B) or internal paired Baseline ≈127.5 Mc (Protocol C). Not reproduced under the current fixed-degree deployment; primary evidence is Table 4.
MethodAverage AttemptsSigning Latency (Mc)Latency Std. Dev. (Mc)
Baseline (Random)6.8189.245.3
Binary-ML5.2152.132.7
Rank-ML (Ours)3.1121.618.9
Figure A1. Historical Mcycle scheduling comparison (Table A3). Retained for transparency; not used for causal claims in the main text.
Figure A1. Historical Mcycle scheduling comparison (Table A3). Retained for transparency; not used for causal claims in the main text.
Network 06 00051 g0a1

Appendix C. Artificial Intelligence (AI) Statement

During the preparation of this work, the author(s) used GPT-4o and DeepSeek-v3 to assist in code debugging and optimizing algorithmic pseudocode structures. The author(s) have thoroughly verified the correctness of the generated suggestions in this paper.

References

  1. Milanov, E. The RSA Algorithm; RSA Laboratories: Burlington, MA, USA, 2009. [Google Scholar]
  2. Li, V.C. On engineered cementitious composites (ECC) a review of the material and its applications. J. Adv. Concr. Technol. 2003, 1, 215–230. [Google Scholar] [CrossRef]
  3. Melchor, C.A.; Aragon, N.; Bettaieb, S.; Bidoux, L.; Blazy, O.; Deneuville, J.C.; Gaborit, P.; Persichetti, E.; Zémor, G.; Bourges, I. Hamming quasi-cyclic (HQC). NIST PQC Round 2018, 2, 13. [Google Scholar]
  4. Abdulrahman, A.; Oberhansl, F.; Pham, H.N.H.; Philipoom, J.; Schwabe, P.; Stelzer, T.; Zankl, A. Towards ml-kem & ml-dsa on opentitan. In Proceedings of the 2025 IEEE Symposium on Security and Privacy (SP); IEEE: New York, NY, USA, 2025; pp. 1–19. [Google Scholar]
  5. Shen, S.; Yang, H.; Li, W.; Zhao, Y. cuml-dsa: Optimized signing procedure and server-oriented gpu design for ml-dsa. IEEE Trans. Dependable Secur. Comput. 2024, 22, 2295–2307. [Google Scholar]
  6. Saarinen, M.J.O. Accelerating SLH-DSA by two orders of magnitude with a single hash unit. In Proceedings of the Annual International Cryptology Conference; Springer: Berlin/Heidelberg, Germany, 2024; pp. 276–304. [Google Scholar]
  7. De Feo, L.; Kohel, D.; Leroux, A.; Petit, C.; Wesolowski, B. SQISign: Compact post-quantum signatures from quaternions and isogenies. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security; Springer: Berlin/Heidelberg, Germany, 2020; pp. 64–93. [Google Scholar]
  8. Feo, L.D.; Leroux, A.; Longa, P.; Wesolowski, B. New algorithms for the Deuring correspondence: Towards practical and secure SQISign signatures. In Annual International Conference on the Theory and Applications of Cryptographic Techniques; Springer Nature Switzerland: Cham, Switzerland, 2023. [Google Scholar]
  9. Basso, A.; Borin, G.; Castryck, W.; Corte-Real Santos, M.; Invernizzi, R.; Leroux, A.; Maino, L.; Vercauteren, F.; Wesolowski, B. PRISM: Simple and compact identification and signatures from large prime degree isogenies. In Proceedings of the IACR International Conference on Public-Key Cryptography; Springer: Berlin/Heidelberg, Germany, 2025; pp. 300–332. [Google Scholar]
  10. Aardal, M.A.; Adj, G.; Alblooshi, A.; Aranha, D.F.; Canales-Martínez, I.A.; Chávez-Saab, J.; Gazzoni Filho, D.L.; Reijnders, K.; Rodríguez-Henríquez, F. Optimized one-dimensional sqisign verification on intel and cortex-m4. IACR Trans. Cryptogr. Hardw. Embed. Syst. 2025, 2025, 497–522. [Google Scholar]
  11. Xu, Z.; Lin, K.; Zhao, C.A.; Ouyang, Y. SQIsign2D 2: New SQIsign2D Variant by Leveraging Power Smooth Isogenies in Dimension One. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security; Springer: Berlin/Heidelberg, Germany, 2025; pp. 341–371. [Google Scholar]
  12. Mitra, G.; Johnston, B.; Rendell, A.P.; McCreath, E.; Zhou, J. Use of SIMD vector operations to accelerate application code performance on low-powered ARM and Intel platforms. In Proceedings of the 2013 IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum; IEEE: New York, NY, USA, 2013; pp. 1107–1116. [Google Scholar]
  13. Su, G.; Bai, G. Towards high-performance supersingular isogeny cryptographic hardware accelerator design. Electronics 2023, 12, 1235. [Google Scholar] [CrossRef]
  14. Lin, K.; Wang, W.; Xu, Z.; Zhao, C.A. A faster software implementation of SQISign. IEEE Trans. Inf. Theory 2024, 70, 6679–6689. [Google Scholar] [CrossRef]
  15. Galbraith, S.D.; Harrison, K.; Soldera, D. Implementing the Tate pairing. In Proceedings of the International Algorithmic Number Theory Symposium; Springer: Berlin/Heidelberg, Germany, 2002; pp. 324–337. [Google Scholar]
  16. Koblitz, N.; Menezes, A.; Vanstone, S. The state of elliptic curve cryptography. Des. Codes Cryptogr. 2000, 19, 173–193. [Google Scholar] [CrossRef]
  17. Fouquet, M.; Morain, F. Isogeny volcanoes and the SEA algorithm. In Proceedings of the International Algorithmic Number Theory Symposium; Springer: Berlin/Heidelberg, Germany, 2002; pp. 276–291. [Google Scholar]
Figure 1. SQIsign signing workflow, divided into Commitment, Challenge, and Response. The proposed Rank-ML scheduler is integrated in the Commitment phase only.
Figure 1. SQIsign signing workflow, divided into Commitment, Challenge, and Response. The proposed Rank-ML scheduler is integrated in the Commitment phase only.
Network 06 00051 g001
Figure 2. Overall SQIsign system framework on Apple M2. Key generation and verification follow the standard protocol; the proposed Rank-ML scheduler optimizes candidate ordering inside the Commitment sub-phase of signing only.
Figure 2. Overall SQIsign system framework on Apple M2. Key generation and verification follow the standard protocol; the proposed Rank-ML scheduler optimizes candidate ordering inside the Commitment sub-phase of signing only.
Network 06 00051 g002
Figure 3. Failure-prone modules in IdealToIsogeny: SuitableIdeals, FixedDegreeIsogeny, and Isogeny22Chain. Red branches indicate algorithmic failure exits, including splitting failures in Isogeny22Chain with probability O ( 1 / p ) .
Figure 3. Failure-prone modules in IdealToIsogeny: SuitableIdeals, FixedDegreeIsogeny, and Isogeny22Chain. Red branches indicate algorithmic failure exits, including splitting failures in Isogeny22Chain with probability O ( 1 / p ) .
Network 06 00051 g003
Figure 4. ML-optimized Deuring-correspondence workflow.
Figure 4. ML-optimized Deuring-correspondence workflow.
Network 06 00051 g004
Figure 5. Live commitment candidate statistics for NIST-I and NIST-III (live data; instrumented collection, trial cap 22, seed 42, Apple M2). (a) reports candidate failure rates; (b) reports mean attempts per signing session.
Figure 5. Live commitment candidate statistics for NIST-I and NIST-III (live data; instrumented collection, trial cap 22, seed 42, Apple M2). (a) reports candidate failure rates; (b) reports mean attempts per signing session.
Network 06 00051 g005
Figure 6. Quantile success rates on the synthetic feature-learning test split (session-wise 80/20 split, seed 42). Green bars show observed success rates; the red curve shows mean predicted probabilities within each quantile.
Figure 6. Quantile success rates on the synthetic feature-learning test split (session-wise 80/20 split, seed 42). Green bars show observed success rates; the red curve shows mean predicted probabilities within each quantile.
Network 06 00051 g006
Figure 7. SQIsign performance on Apple M2 at three NIST security levels (two megacycles; standard baseline, not Rank-ML). Key generation and verification are shown as bars; signing is shown as the red curve (right axis).
Figure 7. SQIsign performance on Apple M2 at three NIST security levels (two megacycles; standard baseline, not Rank-ML). Key generation and verification are shown as bars; signing is shown as the red curve (right axis).
Network 06 00051 g007
Figure 8. Remeasured scheduler ablation at NIST-I on Apple M2 (Table 4). (a) reports wall-clock signing time; (b) reports mean prime-reduction trials per signing session.
Figure 8. Remeasured scheduler ablation at NIST-I on Apple M2 (Table 4). (a) reports wall-clock signing time; (b) reports mean prime-reduction trials per signing session.
Network 06 00051 g008
Table 1. Lightweight number-theoretic features adopted in practice.
Table 1. Lightweight number-theoretic features adopted in practice.
Feature NameSymbolExtraction Method
Norm bit length l = log 2 ( nrd ( I ) ) Read after ideal generation
Trace parity tr ( I ) mod 2 Read after ideal generation
Table 5. Illustrative live commitment log at NIST-I.
Table 5. Illustrative live commitment log at NIST-I.
Session_IdAttempt_IdNorm_BitlengthTrace_ParitySuccess
1051200
1151200
1251200
1351200
1451200
1551201
2051201
Notes: Each row denotes one candidate ideal attempt within a signing session. success = 1 indicates that the candidate completes both RandomEquivalentPrimeIdeal and IdealToIsogeny in that attempt; success = 0 indicates failure at the commitment-candidate level (predominantly during bounded primality search during data collection).
Table 6. Predictive validation of commitment ideal features (synthetic dataset, test split; session-wise 80/20 split, seed 42).
Table 6. Predictive validation of commitment ideal features (synthetic dataset, test split; session-wise 80/20 split, seed 42).
MetricValueInterpretation
Distribution and basic correlations
Positive rate (train)0.100Class imbalance in commitment attempts
Norm bit length correlation0.122Point-biserial correlation with success
Trace parity correlation0.066Point-biserial correlation with success
Predictive performance
Test AUC0.634Discrimination of weighted logistic scorer
Top-quantile success rate0.179Success rate in highest-score quantile (Q5)
Low-quantile success rate0.051Success rate in lowest-score quantile (Q1)
Table 7. Four-layer experimental evidence framework used throughout this study. Each layer serves a distinct evidential purpose: live data characterize deployment behavior, synthetic data validate feature predictiveness, measured experiments evaluate implementation performance, and proxy analysis isolates scheduling effects. Results from different layers are reported separately and are not compared numerically across layers.
Table 7. Four-layer experimental evidence framework used throughout this study. Each layer serves a distinct evidential purpose: live data characterize deployment behavior, synthetic data validate feature predictiveness, measured experiments evaluate implementation performance, and proxy analysis isolates scheduling effects. Results from different layers are reported separately and are not compared numerically across layers.
Evidence LayerPurposeMethodConfiguration
LiveCharacterize deployment behavior.Instrumented SQIsign commitment logging; collected retry counts, failure rates, and feature distributions.Apple M2; trial cap 22; NIST-I: 20,000 attempts; NIST-III: 5000 attempts; seed 42.
SyntheticValidate feature predictiveness under controlled feature variance.Session-structured dataset generation; weighted logistic regression training; feature validation.20,000 samples; 10% train-split positive rate; session-wise 80/20 split; seed 42.
MeasuredEvaluate implementation-level performance.Historical signing benchmarks; remeasured scheduler ablation (Baseline, Binary-ML, Batch-only, Rank-ML).Apple M2; Clang 17 (-O3); 10 benchmark runs; ablation n = 100 sessions.
ProxyAnalyze scheduling effects independently of implementation artifacts.Monte Carlo simulation calibrated to measured baseline costs.Baseline anchor cost: 207.085 Mc.
Table 8. Mapping of experimental evidence to claims (live, synthetic, remeasured, proxy).
Table 8. Mapping of experimental evidence to claims (live, synthetic, remeasured, proxy).
StageTypeWhat Varies?Supported Claim
Live collectionliveRetry counts; constant norm/traceFailure rate ≈86%; AUC = 0.50
Synthetic trainingsyntheticEngineered feature varianceAUC 0.634 ; quantile monotonicity
Rank-ML binaryremeasuredReal scheduler code + synthetic weightsFunctional signing; degenerate ranking at fixed degree
Four-way ablationremeasuredBaseline/Binary/Batch/RankRank ≈ Batch; Baseline fastest (ms)
Historical benchmarkmeasured (historical)Earlier Mcycle integrationRetained in Appendix B only
MC ablationproxySimulated scheduling dynamicsRelative tail behavior only
Table 9. Ablation results of different scheduling strategies.
Table 9. Ablation results of different scheduling strategies.
MethodCommit & Latency MetricsScheduling Behavior
Mean
Commits
Std
Commits
Mean
Forwards
Proxy
(Mc)
Std
(Mc)
P90
(Mc)
Mean
Rounds
Std
Rounds
Baseline (Random)3.5112.9780207.085175.648412.8653.5112.978
Binary-ML ( τ = 0.5 )1.3840.7304.38781.74643.089118.2354.3873.818
Rank-ML (Ours, K = 10 )1.5602.06010.35592.247121.553118.2101.0360.192
Remark: The Binary-ML and Rank-ML rows are obtained through Monte Carlo simulation (proxy) and calibrated using an earlier Baseline signing-cost anchor (207.085 Mc). The proxy column models relative scheduling cost under the simulation assumptions; it is not a remeasurement of Table 4 and must not be read as evidence for live deployment ranking benefit.
Table 10. Performance of SQIsign on Apple M2 (Megacycles). Protocol B in Appendix B (Table A2): standard benchmark_lvl1, no ML scheduler, Apple perf counter with elevated privileges, 10 runs, Clang 17, -O3. Not comparable to historical 189.2 Mc baseline in Table A3.
Table 10. Performance of SQIsign on Apple M2 (Megacycles). Protocol B in Appendix B (Table A2): standard benchmark_lvl1, no ML scheduler, Apple perf counter with elevated privileges, 10 runs, Clang 17, -O3. Not comparable to historical 189.2 Mc baseline in Table A3.
Parameter SetKey Generation (Mc)Signing (Mc)Verification (Mc)
NIST-I52.021121.6238.488
NIST-III159.550329.94423.874
NIST-V246.784601.63048.598
Table 11. Comparison of scheduling behaviors between Binary-ML and Rank-ML.
Table 11. Comparison of scheduling behaviors between Binary-ML and Rank-ML.
MetricBinary-MLRank-ML (Ours)
Average commit count1.3841.560
Average forward progressions4.3871.036
P90 latency (Mc)118.235118.210
Scheduling strategyThreshold filteringPriority ranking
Search behaviorDiscard low-score candidatesSequential attempts by priority
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhuang, X.; He, S.; Zhang, Y. Adaptive Scheduling Optimization for Isogeny Mapping in SQIsign Based on Lightweight Learning to Rank. Network 2026, 6, 51. https://doi.org/10.3390/network6030051

AMA Style

Zhuang X, He S, Zhang Y. Adaptive Scheduling Optimization for Isogeny Mapping in SQIsign Based on Lightweight Learning to Rank. Network. 2026; 6(3):51. https://doi.org/10.3390/network6030051

Chicago/Turabian Style

Zhuang, Xinyi, Shiyang He, and Yuxin Zhang. 2026. "Adaptive Scheduling Optimization for Isogeny Mapping in SQIsign Based on Lightweight Learning to Rank" Network 6, no. 3: 51. https://doi.org/10.3390/network6030051

APA Style

Zhuang, X., He, S., & Zhang, Y. (2026). Adaptive Scheduling Optimization for Isogeny Mapping in SQIsign Based on Lightweight Learning to Rank. Network, 6(3), 51. https://doi.org/10.3390/network6030051

Article Metrics

Back to TopTop