Chrome Extension
WeChat Mini Program
Use on ChatGLM

Computing Generalized Convolutions Faster Than Brute Force

International Symposium on Parameterized and Exact Computation (IPEC)(2023)

CISPA Helmholtz Center for Information Security | Saarland University

Cited 0|Views35
Abstract
In this paper, we consider a general notion of convolution. Let D be a finite domain and let D^n be the set of n-length vectors (tuples) of D . Let f :D× D→ D be a function and let ⊕ _f be a coordinate-wise application of f. The f -Convolution of two functions g,h :D^n →{-M,… ,M} is (g ⊛ _fh)(v) :=∑ _[ v_g,v_h ∈ D^n; s.t. v= v_g ⊕ _f v_h ] g(v_g) · h(v_h) for every v∈ D^n . This problem generalizes many fundamental convolutions such as Subset Convolution, XOR Product, Covering Product or Packing Product, etc. For arbitrary function f and domain D we can compute f -Convolution via brute-force enumeration in 𝒪(|D|^2n·polylog(M)) time. Our main result is an improvement over this naive algorithm. We show that f -Convolution can be computed exactly in 𝒪( (c · |D|^2)^n·polylog(M)) for constant c :=3/4 when D has even cardinality. Our main observation is that a cyclic partition of a function f :D× D→ D can be used to speed up the computation of f -Convolution, and we show that an appropriate cyclic partition exists for every f. Furthermore, we demonstrate that a single entry of the f -Convolution can be computed more efficiently. In this variant, we are given two functions g,h :D^n →{-M,… ,M} alongside with a vector v∈ D^n and the task of the f -Query problem is to compute integer (g ⊛ _fh)(v) . This is a generalization of the well-known Orthogonal Vectors problem. We show that f -Query can be computed in 𝒪(|D|^ω/2 n·polylog(M)) time, where ω∈ [2,2.372) is the exponent of currently fastest matrix multiplication algorithm.
More
Translated text
Key words
Generalized Convolution,Fast Fourier Transform,Fast Subset Convolution,Orthogonal Vectors,Theory of computation,Parameterized complexity and exact algorithms,Theory of computation,Algorithm design techniques
PDF
Bibtex
AI Read Science
AI Summary
AI Summary is the key point extracted automatically understanding the full text of the paper, including the background, methods, results, conclusions, icons and other key content, so that you can get the outline of the paper at a glance.
Example
Background
Key content
Introduction
Methods
Results
Related work
Fund
Key content
  • Pretraining has recently greatly promoted the development of natural language processing (NLP)
  • We show that M6 outperforms the baselines in multimodal downstream tasks, and the large M6 with 10 parameters can reach a better performance
  • We propose a method called M6 that is able to process information of multiple modalities and perform both single-modal and cross-modal understanding and generation
  • The model is scaled to large model with 10 billion parameters with sophisticated deployment, and the 10 -parameter M6-large is the largest pretrained model in Chinese
  • Experimental results show that our proposed M6 outperforms the baseline in a number of downstream tasks concerning both single modality and multiple modalities We will continue the pretraining of extremely large models by increasing data to explore the limit of its performance
Try using models to generate summary,it takes about 60s
Must-Reading Tree
Example
Generate MRT to find the research sequence of this paper
Related Papers
Data Disclaimer
The page data are from open Internet sources, cooperative publishers and automatic analysis results through AI technology. We do not make any commitments and guarantees for the validity, accuracy, correctness, reliability, completeness and timeliness of the page data. If you have any questions, please contact us by email: report@aminer.cn
Chat Paper
GPU is busy, summary generation fails
Rerequest