<p>The <i>k</i>-XOR problem introduced by Wagner in 2002 is to find <i>k</i> elements <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq1.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="46" /> </InlineMediaObject> <EquationSource Format="TEX">\(e_i \in l_i\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msub> <mi>e</mi> <mi>i</mi> </msub> <mo>∈</mo> <msub> <mi>l</mi> <mi>i</mi> </msub> </mrow> </math></EquationSource> </InlineEquation> such that <InlineEquation ID="IEq2"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq2.gif" Format="GIF" Height="23" Rendition="HTML" Resolution="72" Type="Linedraw" Width="88" /> </InlineMediaObject> <EquationSource Format="TEX">\(\bigoplus _{i=0}^{k-1} e_i = 0\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msubsup> <mo>⨁</mo> <mrow> <mi>i</mi> <mo>=</mo> <mn>0</mn> </mrow> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> </msubsup> <msub> <mi>e</mi> <mi>i</mi> </msub> <mo>=</mo> <mn>0</mn> </mrow> </math></EquationSource> </InlineEquation>, where <InlineEquation ID="IEq3"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq3.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="13" /> </InlineMediaObject> <EquationSource Format="TEX">\(l_i\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>l</mi> <mi>i</mi> </msub> </math></EquationSource> </InlineEquation> is a list of elements drawn at random from <InlineEquation ID="IEq4"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq4.gif" Format="GIF" Height="19" Rendition="HTML" Resolution="72" Type="Linedraw" Width="52" /> </InlineMediaObject> <EquationSource Format="TEX">\(\{0, 1\}^n\)</EquationSource> <EquationSource Format="MATHML"><math> <msup> <mrow> <mo stretchy="false">{</mo> <mn>0</mn> <mo>,</mo> <mn>1</mn> <mo stretchy="false">}</mo> </mrow> <mi>n</mi> </msup> </math></EquationSource> </InlineEquation>. How to design a <i>k</i>-XOR algorithm with an efficient Time-Memory Tradeoff (TMTO) formula remains an open problem. The current method involves first applying a preparation algorithm to generate the initial lists of the <i>k</i>-XOR algorithm with partial collisions, followed by running a <i>k</i>-XOR algorithm. In this paper, we focus on designing an efficient <i>k</i>-XOR algorithm after the preparation phase through a <Emphasis FontCategory="SansSerif">decomposition-and-reconstruction</Emphasis> strategy. The main idea of our strategy is to consider all possible decompositions of <i>k</i>, i.e. <InlineEquation ID="IEq5"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq5.gif" Format="GIF" Height="21" Rendition="HTML" Resolution="72" Type="Linedraw" Width="118" /> </InlineMediaObject> <EquationSource Format="TEX">\(k = \sum _{0 \le i \le r-1} k_i\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>k</mi> <mo>=</mo> <msub> <mo>∑</mo> <mrow> <mn>0</mn> <mo>≤</mo> <mi>i</mi> <mo>≤</mo> <mi>r</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <msub> <mi>k</mi> <mi>i</mi> </msub> </mrow> </math></EquationSource> </InlineEquation> (<InlineEquation ID="IEq6"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq6.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="107" /> </InlineMediaObject> <EquationSource Format="TEX">\(1 \le k_i \le k-1\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mn>1</mn> <mo>≤</mo> <msub> <mi>k</mi> <mi>i</mi> </msub> <mo>≤</mo> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> </math></EquationSource> </InlineEquation>, <InlineEquation ID="IEq7"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq7.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="102" /> </InlineMediaObject> <EquationSource Format="TEX">\(2 \le r \le k-1\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mn>2</mn> <mo>≤</mo> <mi>r</mi> <mo>≤</mo> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> </math></EquationSource> </InlineEquation>), and then use the <InlineEquation ID="IEq8"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq8.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="16" /> </InlineMediaObject> <EquationSource Format="TEX">\(k_i\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>k</mi> <mi>i</mi> </msub> </math></EquationSource> </InlineEquation>-XOR algorithms and the <i>r</i>-XOR algorithm to reconstruct the <i>k</i>-XOR algorithm. Our design strategy has two improvements. On the one hand, we consider all possible decompositions of <i>k</i>, which is equivalent to exploring all potential designs of the <i>k</i>-XOR algorithms. On the other hand, in the reconstruction of the <i>k</i>-XOR algorithms, we utilize the <Emphasis FontCategory="NonProportional">on-the-fly</Emphasis> technique and the <Emphasis FontCategory="NonProportional">layered</Emphasis> technique to improve the merging efficiency of lists and balance the time complexity of each component as much as possible, aiming to decrease the total time complexity of the <i>k</i>-XOR algorithm. As a result, the <i>k</i>-XOR algorithms we designed have the current most effective TMTO formulas. For example, the TMTO formula for the 8-XOR algorithm is <InlineEquation ID="IEq9"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq9.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="75" /> </InlineMediaObject> <EquationSource Format="TEX">\(N = TM^2\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>N</mi> <mo>=</mo> <mi>T</mi> <msup> <mi>M</mi> <mn>2</mn> </msup> </mrow> </math></EquationSource> </InlineEquation> <InlineEquation ID="IEq10"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq10.gif" Format="GIF" Height="20" Rendition="HTML" Resolution="72" Type="Linedraw" Width="115" /> </InlineMediaObject> <EquationSource Format="TEX">\((M \le T \le M^5)\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mo stretchy="false">(</mo> <mi>M</mi> <mo>≤</mo> <mi>T</mi> <mo>≤</mo> <msup> <mi>M</mi> <mn>5</mn> </msup> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation>, which extends the effective interval of Dinur’s result <InlineEquation ID="IEq11"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq9.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="75" /> </InlineMediaObject> <EquationSource Format="TEX">\(N = TM^2\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>N</mi> <mo>=</mo> <mi>T</mi> <msup> <mi>M</mi> <mn>2</mn> </msup> </mrow> </math></EquationSource> </InlineEquation> <InlineEquation ID="IEq12"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq12.gif" Format="GIF" Height="20" Rendition="HTML" Resolution="72" Type="Linedraw" Width="121" /> </InlineMediaObject> <EquationSource Format="TEX">\((M^2 \le T \le M^5)\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mo stretchy="false">(</mo> <msup> <mi>M</mi> <mn>2</mn> </msup> <mo>≤</mo> <mi>T</mi> <mo>≤</mo> <msup> <mi>M</mi> <mn>5</mn> </msup> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation>. In addition, after combining the preparation algorithms, we improve the best previous formula from <InlineEquation ID="IEq13"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq13.gif" Format="GIF" Height="21" Rendition="HTML" Resolution="72" Type="Linedraw" Width="210" /> </InlineMediaObject> <EquationSource Format="TEX">\(N = T^2\,M^{3\lceil \frac{\log k}{2} \rceil - 2 - (\log k \bmod 2)}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>N</mi> <mo>=</mo> <msup> <mi>T</mi> <mn>2</mn> </msup> <mspace width="0.166667em" /> <msup> <mi>M</mi> <mrow> <mn>3</mn> <mrow> <mo>⌈</mo> <mfrac> <mrow> <mo>log</mo> <mi>k</mi> </mrow> <mn>2</mn> </mfrac> <mo>⌉</mo> </mrow> <mo>-</mo> <mn>2</mn> <mo>-</mo> <mrow> <mo stretchy="false">(</mo> <mo>log</mo> <mi>k</mi> <mspace width="0.277778em" /> <mo>mod</mo> <mspace width="0.277778em" /> <mn>2</mn> <mo stretchy="false">)</mo> </mrow> </mrow> </msup> </mrow> </math></EquationSource> </InlineEquation> to <InlineEquation ID="IEq14"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq14.gif" Format="GIF" Height="21" Rendition="HTML" Resolution="72" Type="Linedraw" Width="210" /> </InlineMediaObject> <EquationSource Format="TEX">\(N = T^3\,M^{3\lceil \frac{\log k}{2} \rceil - 4 - (\log k \bmod 2)}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>N</mi> <mo>=</mo> <msup> <mi>T</mi> <mn>3</mn> </msup> <mspace width="0.166667em" /> <msup> <mi>M</mi> <mrow> <mn>3</mn> <mrow> <mo>⌈</mo> <mfrac> <mrow> <mo>log</mo> <mi>k</mi> </mrow> <mn>2</mn> </mfrac> <mo>⌉</mo> </mrow> <mo>-</mo> <mn>4</mn> <mo>-</mo> <mrow> <mo stretchy="false">(</mo> <mo>log</mo> <mi>k</mi> <mspace width="0.277778em" /> <mo>mod</mo> <mspace width="0.277778em" /> <mn>2</mn> <mo stretchy="false">)</mo> </mrow> </mrow> </msup> </mrow> </math></EquationSource> </InlineEquation> when <InlineEquation ID="IEq15"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq15.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="47" /> </InlineMediaObject> <EquationSource Format="TEX">\(k = 2^i\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>k</mi> <mo>=</mo> <msup> <mn>2</mn> <mi>i</mi> </msup> </mrow> </math></EquationSource> </InlineEquation> (<InlineEquation ID="IEq16"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq16.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="38" /> </InlineMediaObject> <EquationSource Format="TEX">\(i \ge 3\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>i</mi> <mo>≥</mo> <mn>3</mn> </mrow> </math></EquationSource> </InlineEquation>) and <InlineEquation ID="IEq17"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10623_2025_1667_Article_IEq17.gif" Format="GIF" Height="24" Rendition="HTML" Resolution="72" Type="Linedraw" Width="221" /> </InlineMediaObject> <EquationSource Format="TEX">\(M^2 \le T \le M^{k/2 - \lfloor \frac{\log k/2}{2} \rfloor -\log k + 2}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msup> <mi>M</mi> <mn>2</mn> </msup> <mo>≤</mo> <mi>T</mi> <mo>≤</mo> <msup> <mi>M</mi> <mrow> <mi>k</mi> <mo stretchy="false">/</mo> <mn>2</mn> <mo>-</mo> <mo>⌊</mo> <mfrac> <mrow> <mo>log</mo> <mi>k</mi> <mo stretchy="false">/</mo> <mn>2</mn> </mrow> <mn>2</mn> </mfrac> <mo>⌋</mo> <mo>-</mo> <mo>log</mo> <mi>k</mi> <mo>+</mo> <mn>2</mn> </mrow> </msup> </mrow> </math></EquationSource> </InlineEquation>. As an application, our efficient algorithms can improve the complexity of solving the Parity Check Problem compared to existing results.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A novel algorithm for the k-XOR problem

  • Yong Liu,
  • Zejun Xiang,
  • Xiangyong Zeng,
  • Shasha Zhang

摘要

The k-XOR problem introduced by Wagner in 2002 is to find k elements \(e_i \in l_i\) e i l i such that \(\bigoplus _{i=0}^{k-1} e_i = 0\) i = 0 k - 1 e i = 0 , where \(l_i\) l i is a list of elements drawn at random from \(\{0, 1\}^n\) { 0 , 1 } n . How to design a k-XOR algorithm with an efficient Time-Memory Tradeoff (TMTO) formula remains an open problem. The current method involves first applying a preparation algorithm to generate the initial lists of the k-XOR algorithm with partial collisions, followed by running a k-XOR algorithm. In this paper, we focus on designing an efficient k-XOR algorithm after the preparation phase through a decomposition-and-reconstruction strategy. The main idea of our strategy is to consider all possible decompositions of k, i.e. \(k = \sum _{0 \le i \le r-1} k_i\) k = 0 i r - 1 k i ( \(1 \le k_i \le k-1\) 1 k i k - 1 , \(2 \le r \le k-1\) 2 r k - 1 ), and then use the \(k_i\) k i -XOR algorithms and the r-XOR algorithm to reconstruct the k-XOR algorithm. Our design strategy has two improvements. On the one hand, we consider all possible decompositions of k, which is equivalent to exploring all potential designs of the k-XOR algorithms. On the other hand, in the reconstruction of the k-XOR algorithms, we utilize the on-the-fly technique and the layered technique to improve the merging efficiency of lists and balance the time complexity of each component as much as possible, aiming to decrease the total time complexity of the k-XOR algorithm. As a result, the k-XOR algorithms we designed have the current most effective TMTO formulas. For example, the TMTO formula for the 8-XOR algorithm is \(N = TM^2\) N = T M 2 \((M \le T \le M^5)\) ( M T M 5 ) , which extends the effective interval of Dinur’s result \(N = TM^2\) N = T M 2 \((M^2 \le T \le M^5)\) ( M 2 T M 5 ) . In addition, after combining the preparation algorithms, we improve the best previous formula from \(N = T^2\,M^{3\lceil \frac{\log k}{2} \rceil - 2 - (\log k \bmod 2)}\) N = T 2 M 3 log k 2 - 2 - ( log k mod 2 ) to \(N = T^3\,M^{3\lceil \frac{\log k}{2} \rceil - 4 - (\log k \bmod 2)}\) N = T 3 M 3 log k 2 - 4 - ( log k mod 2 ) when \(k = 2^i\) k = 2 i ( \(i \ge 3\) i 3 ) and \(M^2 \le T \le M^{k/2 - \lfloor \frac{\log k/2}{2} \rfloor -\log k + 2}\) M 2 T M k / 2 - log k / 2 2 - log k + 2 . As an application, our efficient algorithms can improve the complexity of solving the Parity Check Problem compared to existing results.