Skip to main content

Fast Subset Convolution

  • Reference work entry
  • First Online:
  • 92 Accesses

Years and Authors of Summarized Original Work

  • 2007; Björklund, Husfeldt, Kaski, Koivisto

Problem Definition

A basic strategy to solve hard problems by dynamic programming is to express the partial solutions using a recurrence over the 2n subsets of an n-element set U. Our interest here is in recurrences that have the following structure:

For each subset \(S \subseteq U\), in order to obtain the partial solution at S, we consider all possible ways to partition S into two disjoint parts, T and \(S\setminus T\), with \(T \subseteq S\).

Fast subset convolution [1] is a technique to speed up the evaluation of such recurrences, assuming the recurrence can be reduced to a suitable algebraic form. In more precise terms, let R be an algebraic ring, such as the integers equipped with the usual arithmetic operations (addition, negation, multiplication). We seek a fast solution to:

Problem (Subset Convolution)

INPUT: Two functions\(f : 2^{U} \rightarrow R\)and\(g : 2^{U} \rightarrow R\).

OUTPUT: Th...

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. Björklund A, Husfeldt T, Kaski P, Koivisto M (2007) Fourier meets Möbius: fast subset convolution. In: Johnson DS, Feige U (eds) STOC. ACM, pp 67–74. doi:10.1145/1250790.1250801, http://doi.acm.org/10.1145/1250790.1250801

  2. Björklund A, Husfeldt T, Kaski P, Koivisto M (2008) Computing the Tutte polynomial in vertex-exponential time. In: FOCS. IEEE Computer Society, pp 677–686. doi:10.1109/FOCS.2008.40, http://doi.ieeecomputersociety.org/10.1109/FOCS.2008.40

  3. Björklund A, Husfeldt T, Kaski P, Koivisto M (2009) Counting paths and packings in halves. In: [7], pp 578–586. doi:10.1007/978-3-642-04128-0_52, http://dx.doi.org/10.1007/978-3-642-04128-0_52

  4. Björklund A, Husfeldt T, Kaski P, Koivisto M (2010) Trimmed Moebius inversion and graphs of bounded degree. Theory Comput Syst 47(3):637–654. doi:10.1007/s00224-009-9185-7, http://dx.doi.org/10.1007/s00224-009-9185-7

  5. Björklund A, Husfeldt T, Kaski P, Koivisto M (2011) Covering and packing in linear space. Inf Process Lett 111(21–22):1033–1036. doi:10.1016/j.ipl.2011.08.002, http://dx.doi.org/10.1016/j.ipl.2011.08.002

  6. Björklund A, Koivisto M, Husfeldt T, Nederlof J, Kaski P, Parviainen P (2012) Fast zeta transforms for lattices with few irreducibles. In: Rabani Y (ed) SODA. SIAM, pp 1436–1444. doi:10.1137/1.9781611973099.113, http://dx.doi.org/10.1137/1.9781611973099.113

  7. Fiat A, Sanders P (eds) (2009) Algorithms – ESA 2009, 17th annual european symposium, Copenhagen, 7–9 Sept 2009. Proceedings, lecture notes in computer science, vol 5757. Springer

    Google Scholar 

  8. Fomin FV, Lokshtanov D, Raman V, Saurabh S, Rao BVR (2012) Faster algorithms for finding and counting subgraphs. J Comput Syst Sci 78(3):698–706. doi:10.1016/j.jcss.2011.10.001, http://dx.doi.org/10.1016/j.jcss.2011.10.001

  9. Kennes R (1992) Computational aspects of the mobius transformation of graphs. IEEE Trans Syst Man Cybern 22(2):201–223. doi:10.1109/21.148425, http://dx.doi.org/10.1109/21.148425

  10. Knuth DE (1998) The art of computer programming, vol 2. Seminumerical algorithms, 3rd edn. Addison–Wesley, Upper Saddle River

    MATH  Google Scholar 

  11. van Rooij JMM, Bodlaender HL, Rossmanith P (2009) Dynamic programming on tree decompositions using generalised fast subset convolution. In: [7], pp 566–577. doi:10.1007/978-3-642-04128-0_51, http://dx.doi.org/10.1007/978-3-642-04128-0_51

  12. Yates F (1937) The design and analysis of factorial experiments. Imperial Bureau of Soil Science, Harpenden

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Petteri Kaski .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Kaski, P. (2016). Fast Subset Convolution. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_518

Download citation

Publish with us

Policies and ethics