Space–Time Tradeoffs for Subset Sum: An Improved Worst Case Algorithm

  • Per Austrin
  • Petteri Kaski
  • Mikko Koivisto
  • Jussi Määttä
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7965)

Abstract

The technique of Schroeppel and Shamir (SICOMP, 1981) has long been the most efficient way to trade space against time for the Subset Sum problem. In the random-instance setting, however, improved tradeoffs exist. In particular, the recently discovered dissection method of Dinur et al. (CRYPTO 2012) yields a significantly improved space–time tradeoff curve for instances with strong randomness properties. Our main result is that these strong randomness assumptions can be removed, obtaining the same space–time tradeoffs in the worst case. We also show that for small space usage the dissection algorithm can be almost fully parallelized. Our strategy for dealing with arbitrary instances is to instead inject the randomness into the dissection process itself by working over a carefully selected but random composite modulus, and to introduce explicit space–time controls into the algorithm by means of a “bailout mechanism”.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Becker, A., Coron, J.-S., Joux, A.: Improved generic algorithms for hard knapsacks. In: Paterson, K.G. (ed.) EUROCRYPT 2011. LNCS, vol. 6632, pp. 364–385. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  2. 2.
    Björklund, A., Husfeldt, T., Kaski, P., Koivisto, M.: Computing the Tutte polynomial in vertex-exponential time. In: FOCS, pp. 677–686. IEEE Computer Society (2008)Google Scholar
  3. 3.
    Dinur, I., Dunkelman, O., Keller, N., Shamir, A.: Efficient dissection of composite problems, with applications to cryptanalysis, knapsacks, and combinatorial search problems. In: Safavi-Naini, R., Canetti, R. (eds.) CRYPTO 2012. LNCS, vol. 7417, pp. 719–740. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  4. 4.
    Horowitz, E., Sahni, S.: Computing partitions with applications to the knapsack problem. J. ACM 21(2), 277–292 (1974)MathSciNetMATHCrossRefGoogle Scholar
  5. 5.
    Howgrave-Graham, N., Joux, A.: New generic algorithms for hard knapsacks. In: Gilbert, H. (ed.) EUROCRYPT 2010. LNCS, vol. 6110, pp. 235–256. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  6. 6.
    Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Complexity of Computer Computations. The IBM Research Symposia Series, pp. 85–103. Plenum Press, New York (1972)CrossRefGoogle Scholar
  7. 7.
    Kaski, P., Koivisto, M., Nederlof, J.: Homomorphic hashing for sparse coefficient extraction. In: Thilikos, D.M., Woeginger, G.J. (eds.) IPEC 2012. LNCS, vol. 7535, pp. 147–158. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  8. 8.
    Koivisto, M., Parviainen, P.: A space-time tradeoff for permutation problems. In: Charikar, M. (ed.) SODA, pp. 484–492. SIAM (2010)Google Scholar
  9. 9.
    Lokshtanov, D., Nederlof, J.: Saving space by algebraization. In: Schulman, L.J. (ed.) STOC, pp. 321–330. ACM (2010)Google Scholar
  10. 10.
    Schroeppel, R., Shamir, A.: A T = O(2n/2), S = O(2n/4) algorithm for certain NP-complete problems. SIAM J. Comput. 10(3), 456–464 (1981)MathSciNetMATHCrossRefGoogle Scholar
  11. 11.
    Wang, J.: Space-efficient Las Vegas algorithms for k-sum. CoRR abs/1303.1016 (2013)Google Scholar
  12. 12.
    Woeginger, G.J.: Open problems around exact algorithms. Discrete Applied Mathematics 156(3), 397–405 (2008)MathSciNetMATHCrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Per Austrin
    • 1
    • 2
  • Petteri Kaski
    • 3
  • Mikko Koivisto
    • 4
  • Jussi Määttä
    • 3
  1. 1.Aalto Science InstituteAalto UniversityFinland
  2. 2.KTH Royal Institute of TechnologySweden
  3. 3.HIIT & Department of Information and Computer ScienceAalto UniversityFinland
  4. 4.HIIT & Department of Computer ScienceUniversity of HelsinkiFinland

Personalised recommendations