20 research outputs found

    A Fast Minimum Degree Algorithm and Matching Lower Bound

    Full text link
    The minimum degree algorithm is one of the most widely-used heuristics for reducing the cost of solving large sparse systems of linear equations. It has been studied for nearly half a century and has a rich history of bridging techniques from data structures, graph algorithms, and scientific computing. In this paper, we present a simple but novel combinatorial algorithm for computing an exact minimum degree elimination ordering in O(nm)O(nm) time, which improves on the best known time complexity of O(n3)O(n^3) and offers practical improvements for sparse systems with small values of mm. Our approach leverages a careful amortized analysis, which also allows us to derive output-sensitive bounds for the running time of O(minโก{mm+,ฮ”m+}logโกn)O(\min\{m\sqrt{m^+}, \Delta m^+\} \log n), where m+m^+ is the number of unique fill edges and original edges that the algorithm encounters and ฮ”\Delta is the maximum degree of the input graph. Furthermore, we show there cannot exist an exact minimum degree algorithm that runs in O(nm1โˆ’ฮต)O(nm^{1-\varepsilon}) time, for any ฮต>0\varepsilon > 0, assuming the strong exponential time hypothesis. This fine-grained reduction goes through the orthogonal vectors problem and uses a new low-degree graph construction called UU-fillers, which act as pathological inputs and cause any minimum degree algorithm to exhibit nearly worst-case performance. With these two results, we nearly characterize the time complexity of computing an exact minimum degree ordering.Comment: 17 page

    Graph Sketching Against Adaptive Adversaries Applied to the Minimum Degree Algorithm

    Full text link
    Motivated by the study of matrix elimination orderings in combinatorial scientific computing, we utilize graph sketching and local sampling to give a data structure that provides access to approximate fill degrees of a matrix undergoing elimination in O(polylog(n))O(\text{polylog}(n)) time per elimination and query. We then study the problem of using this data structure in the minimum degree algorithm, which is a widely-used heuristic for producing elimination orderings for sparse matrices by repeatedly eliminating the vertex with (approximate) minimum fill degree. This leads to a nearly-linear time algorithm for generating approximate greedy minimum degree orderings. Despite extensive studies of algorithms for elimination orderings in combinatorial scientific computing, our result is the first rigorous incorporation of randomized tools in this setting, as well as the first nearly-linear time algorithm for producing elimination orderings with provable approximation guarantees. While our sketching data structure readily works in the oblivious adversary model, by repeatedly querying and greedily updating itself, it enters the adaptive adversarial model where the underlying sketches become prone to failure due to dependency issues with their internal randomness. We show how to use an additional sampling procedure to circumvent this problem and to create an independent access sequence. Our technique for decorrelating the interleaved queries and updates to this randomized data structure may be of independent interest.Comment: 58 pages, 3 figures. This is a substantially revised version of arXiv:1711.08446 with an emphasis on the underlying theoretical problem

    Posimodular Function Optimization

    Full text link
    Given a posimodular function f:2Vโ†’Rf: 2^V \to \mathbb{R} on a finite set VV, we consider the problem of finding a nonempty subset XX of VV that minimizes f(X)f(X). Posimodular functions often arise in combinatorial optimization such as undirected cut functions. In this paper, we show that any algorithm for the problem requires ฮฉ(2n7.54)\Omega(2^{\frac{n}{7.54}}) oracle calls to ff, where n=โˆฃVโˆฃn=|V|. It contrasts to the fact that the submodular function minimization, which is another generalization of cut functions, is polynomially solvable. When the range of a given posimodular function is restricted to be D={0,1,...,d}D=\{0,1,...,d\} for some nonnegative integer dd, we show that ฮฉ(2d15.08)\Omega(2^{\frac{d}{15.08}}) oracle calls are necessary, while we propose an O(ndTf+n2d+1)O(n^dT_f+n^{2d+1})-time algorithm for the problem. Here, TfT_f denotes the time needed to evaluate the function value f(X)f(X) for a given XโŠ†VX \subseteq V. We also consider the problem of maximizing a given posimodular function. We show that ฮฉ(2nโˆ’1)\Omega(2^{n-1}) oracle calls are necessary for solving the problem, and that the problem has time complexity ฮ˜(ndโˆ’1Tf)\Theta(n^{d-1}T_f) when D={0,1,...,d}D=\{0,1,..., d\} is the range of ff for some constant dd.Comment: 18 page

    Maximizing Symmetric Submodular Functions

    Full text link
    Symmetric submodular functions are an important family of submodular functions capturing many interesting cases including cut functions of graphs and hypergraphs. Maximization of such functions subject to various constraints receives little attention by current research, unlike similar minimization problems which have been widely studied. In this work, we identify a few submodular maximization problems for which one can get a better approximation for symmetric objectives than the state of the art approximation for general submodular functions. We first consider the problem of maximizing a non-negative symmetric submodular function fโ€‰โฃ:2Nโ†’R+f\colon 2^\mathcal{N} \to \mathbb{R}^+ subject to a down-monotone solvable polytope PโŠ†[0,1]N\mathcal{P} \subseteq [0, 1]^\mathcal{N}. For this problem we describe an algorithm producing a fractional solution of value at least 0.432โ‹…f(OPT)0.432 \cdot f(OPT), where OPTOPT is the optimal integral solution. Our second result considers the problem maxโก{f(S):โˆฃSโˆฃ=k}\max \{f(S) : |S| = k\} for a non-negative symmetric submodular function fโ€‰โฃ:2Nโ†’R+f\colon 2^\mathcal{N} \to \mathbb{R}^+. For this problem, we give an approximation ratio that depends on the value k/โˆฃNโˆฃk / |\mathcal{N}| and is always at least 0.4320.432. Our method can also be applied to non-negative non-symmetric submodular functions, in which case it produces 1/eโˆ’o(1)1/e - o(1) approximation, improving over the best known result for this problem. For unconstrained maximization of a non-negative symmetric submodular function we describe a deterministic linear-time 1/21/2-approximation algorithm. Finally, we give a [1โˆ’(1โˆ’1/k)kโˆ’1][1 - (1 - 1/k)^{k - 1}]-approximation algorithm for Submodular Welfare with kk players having identical non-negative submodular utility functions, and show that this is the best possible approximation ratio for the problem.Comment: 31 pages, an extended abstract appeared in ESA 201

    ์‹ค์‹œ๊ฐ„ ์˜๋ณต ์‹œ๋ฎฌ๋ ˆ์ด์…˜์„ ์œ„ํ•œ ์„ ํ˜• ๋ชจ๋ธ ์—ฐ๊ตฌ

    Get PDF
    ํ•™์œ„๋…ผ๋ฌธ (๋ฐ•์‚ฌ)-- ์„œ์šธ๋Œ€ํ•™๊ต ๋Œ€ํ•™์› : ์ „๊ธฐยท์ปดํ“จํ„ฐ๊ณตํ•™๋ถ€, 2013. 8. ๊ณ ํ˜•์„.์˜ท์—์„œ ์ผ์–ด๋‚˜๋Š” ๋ณ€ํ˜•์€ ํฌ๊ฒŒ ํ‰๋ฉด ๋‚ด ๋ณ€ํ˜•๊ณผ ํ‰๋ฉด ์™ธ ๋ณ€ํ˜•์œผ๋กœ ๋‚˜๋ˆŒ ์ˆ˜ ์žˆ๋‹ค. ์ธ์žฅ๊ณผ ์ „๋‹จ์ด ํ‰๋ฉด ๋‚ด ๋ณ€ํ˜•, ๊ตฝํž˜์ด ํ‰๋ฉด ์™ธ ๋ณ€ํ˜•์— ์†ํ•œ๋‹ค. ์˜๋ฅ˜ ์‹œ๋ฎฌ๋ ˆ์ด์…˜์€ ์œ„ ์„ธ ๊ฐ€์ง€ ๋ณ€ํ˜•์„ ๋ชจ๋‘ ํฌํ•จํ•œ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์—์„œ๋Š” ์˜ท์˜ ๋ณ€ํ˜•์— ๋Œ€ํ•œ ์ƒˆ๋กœ์šด ๋ฌผ๋ฆฌ ๋ชจ๋ธ์„ ์ œ์‹œํ•œ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์—์„œ ์ œ์‹œํ•˜๋Š” ๋ชจ๋ธ์˜ ์˜์˜๋Š” ๊ทธ๊ฒƒ์˜ ์ˆ˜์น˜์  ์‹œ๋ฎฌ๋ ˆ์ด์…˜์ด ์‹ค์‹œ๊ฐ„์— ์ด๋ฃจ์–ด์งˆ ์ˆ˜ ์žˆ๋‹ค๋Š” ์ ๊ณผ ๊ธฐ์กด์˜ ์‹ค์‹œ๊ฐ„ ๋ชจ๋ธ์— ์กด์žฌํ–ˆ๋˜ ๋ช‡๊ฐ€์ง€ ๊ฒฐํ•จ์„ ํ•ด๊ฒฐํ•จ์œผ๋กœ์จ ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ๊ฒฐ๊ณผ์—์„œ ๋ณด์˜€๋˜ ๋ฌธ์ œ์ ๋“ค์„ ํ•ด๊ฒฐํ–ˆ๋‹ค๋Š” ์ ์— ์žˆ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์ด ์ƒˆ๋กœ์šด ๋ฌผ๋ฆฌ ๋ชจ๋ธ์„ ๊ฐœ๋ฐœํ•จ์— ์žˆ์–ด ์ฃผ์š”ํ•œ ์•„์ด๋””์–ด๋Š” ์—๋„ˆ์ง€ ํ•จ์ˆ˜์— ์กด์žฌํ•˜๋Š” (x-C)^2 ํ•ญ์„ x^* ๋ผ๋Š” ์ƒ์ˆ˜ ๋ฒกํ„ฐ๋ฅผ ๋„์ž…ํ•˜์—ฌx-x^*^2 ๋ผ๋Š” ํ•ญ์œผ๋กœ ๋ฐ”๊พผ ๋ฐ ์žˆ๋‹ค. ์ด๋ ‡๊ฒŒ ํ•จ์œผ๋กœ์จ ํž˜ ์ž์ฝ”๋น„์•ˆ ํ–‰๋ ฌ์„ ์ƒ์ˆ˜๋กœ ๋งŒ๋“ค๊ณ  ๊ทธ์— ๋”ฐ๋ผ ์‹œ์Šคํ…œ ํ–‰๋ ฌ ์—ญ์‹œ ์ƒ์ˆ˜๋กœ ๋งŒ๋“ ๋‹ค. ๊ทธ ๊ฒฐ๊ณผ ์‹œ์Šคํ…œ ํ–‰๋ ฌ์˜ ์—ญํ–‰๋ ฌ์„ ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ์‹œ์ž‘ ์ „ ์‚ฌ์ „ ๊ณ„์‚ฐ ์‹œ๊ฐ„์— ๋ฏธ๋ฆฌ ๊ตฌํ•  ์ˆ˜ ์žˆ๊ณ , ๋‚ด์—ฐ์  ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ์ง„ํ–‰ ๊ณผ์ •์—์„œ ์‹œ์Šคํ…œ ํ–‰๋ ฌ์„ ๋งค๋ฒˆ ์ƒˆ๋กœ ๊ตฌ์„ฑํ•˜๊ณ  ํ•ด๋ฅผ ๊ตฌํ•ด์•ผ ํ–ˆ๋˜ ๊ณผ์ •์„ ๋‹จ์ˆœํ•œ ํ–‰๋ ฌ๊ณผ ๋ฒกํ„ฐ์˜ ๊ณฑ์…ˆ์œผ๋กœ ๋Œ€์ฒดํ•  ์ˆ˜ ์žˆ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์€ ์ด๋Ÿฌํ•œ ์„ ํ˜• ๋ฌผ๋ฆฌ ๋ชจ๋ธ์„ ์„ ๋ถ„ ๊ธฐ๋ฐ˜ ์‹œ์Šคํ…œ๊ณผ ์‚ผ๊ฐํ˜• ๊ธฐ๋ฐ˜ ์‹œ์Šคํ…œ์— ๋Œ€ํ•ด ์ œ์‹œํ•œ๋‹ค. ์ถ”๊ฐ€์ ์œผ๋กœ ํ–‰๋ ฌ๊ณผ ๋ฒกํ„ฐ ๊ณฑ์…ˆ ๊ณผ์ •์˜ ์†๋„๋ฅผ ํ–ฅ์ƒํ•˜๊ธฐ ์œ„ํ•ด ์ตœ์‹ ์˜ ํฌ์†Œ ์ด๋ ˆ์Šคํ‚ค ๋ถ„ํ•ด ๋ฐฉ๋ฒ•์„ ์‚ดํŽด๋ณด๊ณ  ์˜์ƒ ์‹œ๋ฎฌ๋ ˆ์ด์…˜์— ํšจ๊ณผ์ ์ธ ์ ์šฉ ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•œ๋‹ค.Deformations occurring in cloth can be decomposed into two components: the in-plane and the out-of-plane deformations. Stretch and shear are in-plane deformation, and bending is out-of-plane deformation. Clothing simulation involves all the above types of deformations. This paper proposes a new physical model for deformations of clothes. The significance of the proposed models is that (1) their numerical simulation can be done in real-time, and (2) the models fix some flaws that existed in previous real-time models, leading to conspicuous reduction of artifacts. The essential idea in inventing the new models is to replace (-C)^2 in the energy function with^2 for some constant vector x^*. Then, the force jacobian becomes a constant, and so does the system matrix. As a result, its inverse matrix can be pre-computed only once in off-line, so that the on-line semi-implicit integration can be replaced with (the constant) matrix-vector multiplications. This paper develops such simplified physical models for both edge-based and triangle-based systems. In addition, to speed up the process of matrix-vector multiplications, this work reviews the current state-of-the-art in the Sparse Cholesky factorization methods and introduces an effective method for the current purpose.Abstract i Contents iii List of Figures v List of Tables vii 1 Introduction 1 1.1 Notations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Edge-Based Formulation of Stretch Energy and Force . . . . . 4 1.3 Explicit Formulation . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Implicit Formulation . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Related Work 9 3 Edge-Based Linear Stretch Model 13 3.1 Conventional Stretch Model . . . . . . . . . . . . . . . . . . . . 14 3.2 Our Stretch Model . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 Representation of Shear Deformations . . . . . . . . . . . . . . 20 3.4 A Killer Application of This Model . . . . . . . . . . . . . . . 21 4 Triangle-Based Linear Stretch/Shear Model 22 4.1 Material Space to 3D Space Mapping S . . . . . . . . . . . . . 23 4.2 Conventional Stretch and Shear Model . . . . . . . . . . . . . . 24 4.3 Our Stretch and Shear Model . . . . . . . . . . . . . . . . . . . 24 5 Linear Bending Model 28 5.1 Calculating Bending Vector . . . . . . . . . . . . . . . . . . . . 28 5.2 Applying Bending Force . . . . . . . . . . . . . . . . . . . . . . 30 5.3 Jacobian of the Bending Force . . . . . . . . . . . . . . . . . . 31 6 Sparse Cholesky Factorization 32 6.1 Cholesky Factorization . . . . . . . . . . . . . . . . . . . . . . . 32 6.2 Reordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7 Experimental Results 48 8 Conclusion 65 Bibliography 67 ์ดˆ๋ก 71Docto

    Estimating spatial covariance using penalised likelihood with weighted L1 penalty

    Get PDF
    In spatial statistics, the estimation of covariance matrices is of great importance because of its role in spatial prediction and design. In this paper, we propose a penalised likelihood approach with weighted L 1 regularisation to estimate the covariance matrix for spatial Gaussian Markov random field models with unspecified neighbourhood structures. A new algorithm for ordering spatial points is proposed such that the corresponding precision matrix can be estimated more effectively. Furthermore, we develop an efficient algorithm to minimise the penalised likelihood via a novel usage of the regularised solution path algorithm, which does not require the use of iterative algorithms. By exploiting the sparsity structure in the precision matrix, we show that the LASSO type of approach gives improved covariance estimators measured by several criteria. Asymptotic properties of our proposed estimator are derived. Both our simulated examples and an application to the rainfall data set show that the proposed method performs competitively
    corecore