arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2504.12948cs.CGcs.CR
收藏

二维格中短向量问题算法再探

Algorithms for the Shortest Vector Problem in $2$-dimensional Lattices, Revisited

College of Computer Science and Technology, Qingdao University(青岛大学计算机科学与技术学院);State Key Laboratory of Cryptography and Digital Economy Security, Shandong University(山东大学密码与数字经济安全国家重点实验室);School of Cyberspace Security, Beijing University of Posts and Telecommunications(北京邮电大学网络空间安全学院);School of Cyber Science and Technology, Shandong University (Qingdao)(山东大学(青岛)网络科学学院)

Lihao Zhao, Chengliang Tian, Jingguo Bi, Guangwu Xu, Jia Yu

AI总结:

本文提出二维格短向量问题的新约化基定义及 CrossEuc、HVec 算法,并基于 HVec 迭代设计 HVecSBP,在 O(log n M(n)) 时间内求解一般形式输入格,无需预转换为 HNF,实验显示效率提升至少 13.5 倍。

摘要:

高效求解二维格中的短向量问题(SVP)在密码学与计算几何中具有重要的实际意义。虽然二维短向量问题比高维情形更简单,但它为高维格的可扩展求解提供了动机,并有益于涉及大整数的序列密码分析等应用。在本文中,我们首先提出一种新的约化基定义,并开发了一种高效的自适应格约化算法 CrossEuc,该算法策略性地在不同维度上应用欧几里得算法。在此框架基础上,我们引入 HVec,这是最初为整数定义的 Half-GCD 算法的向量化推广,它能够高效地将两个向量的位长减半,并可能具有独立的研究价值。通过迭代调用 HVec,我们的优化算法 HVecSBP 对于位长为 n 的任意输入基,能够在 O(log n M(n)) 时间内得到约化基,其中 M(n) 表示两个 n 位整数相乘的代价。与现有算法相比,我们的设计适用于一般形式的输入格,消除了将输入基预先转换为 Hermite 标准形(HNF)的代价。全面的实验结果表明,对于 HNF 形式的输入格基,优化算法 HVecSBP 与现有方法相比至少实现了 13.5 倍的效率提升。对于一般形式的输入格基,在应用 HVecSBP 之前先将其转换为 HNF 仅在两个基向量几乎退化的极端情况下具有微弱优势。然而,随着输入基向量之间线性相关性的降低,直接使用 HVecSBP 会带来越来越显著的效率增益,优于依赖预先 HNF 转换的混合方法。

英文摘要:

Efficiently solving the Shortest Vector Problem (SVP) in two-dimensional lattices holds practical significance in cryptography and computational geometry. While simpler than its high-dimensional counterpart, two-dimensional SVP motivates scalable solutions for high-dimensional lattices and benefits applications like sequence cipher cryptanalysis involving large integers. In this work, we first propose a novel definition of reduced bases and develop an efficient adaptive lattice reduction algorithm \textbf{CrossEuc} that strategically applies the Euclidean algorithm across dimensions. Building on this framework, we introduce \textbf{HVec}, a vectorized generalization of the Half-GCD algorithm originally defined for integers, which can efficiently halve the bit-length of two vectors and may have independent interest. By iteratively invoking \textbf{HVec}, our optimized algorithm \textbf{HVecSBP} achieves a reduced basis in $O(\log n M(n) )$ time for arbitrary input bases with bit-length $n$, where $M(n)$ denotes the cost of multiplying two $n$-bit integers. Compared to existing algorithms, our design is applicable to general forms of input lattices, eliminating the cost of pre-converting input bases to Hermite Normal Form (HNF). The comprehensive experimental results demonstrate that for the input lattice bases in HNF, the optimized algorithm \textbf{HVecSBP} achieves at least a $13.5\times$ efficiency improvement compared to existing methods. For general-form input lattice bases, converting them to HNF before applying \textbf{HVecSBP} offers only marginal advantages in extreme cases where the two basis vectors are nearly degenerate. However, as the linear dependency between input basis vectors decreases, directly employing \textbf{HVecSBP} yields increasingly significant efficiency gains, outperforming hybrid approaches that rely on prior \textbf{HNF} conversion.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑