40 research outputs found

    Forchheimer Model for Non-Darcy Flow in Porous Media and Fractures

    Get PDF
    Imperial Users onl

    Hybrid VCSPs with crisp and conservative valued templates

    Get PDF
    A constraint satisfaction problem (CSP) is a problem of computing a homomorphism RΓ{\bf R} \rightarrow {\bf \Gamma} between two relational structures. Analyzing its complexity has been a very fruitful research direction, especially for fixed template CSPs, denoted CSP(Γ)CSP({\bf \Gamma}), in which the right side structure Γ{\bf \Gamma} is fixed and the left side structure R{\bf R} is unconstrained. Recently, the hybrid setting, written CSPH(Γ)CSP_{\mathcal{H}}({\bf \Gamma}), where both sides are restricted simultaneously, attracted some attention. It assumes that R{\bf R} is taken from a class of relational structures H\mathcal{H} that additionally is closed under inverse homomorphisms. The last property allows to exploit algebraic tools that have been developed for fixed template CSPs. The key concept that connects hybrid CSPs with fixed-template CSPs is the so called "lifted language". Namely, this is a constraint language ΓR{\bf \Gamma}_{{\bf R}} that can be constructed from an input R{\bf R}. The tractability of that language for any input RH{\bf R}\in\mathcal{H} is a necessary condition for the tractability of the hybrid problem. In the first part we investigate templates Γ{\bf \Gamma} for which the latter condition is not only necessary, but also is sufficient. We call such templates Γ{\bf \Gamma} widely tractable. For this purpose, we construct from Γ{\bf \Gamma} a new finite relational structure Γ{\bf \Gamma}' and define H0\mathcal{H}_0 as a class of structures homomorphic to Γ{\bf \Gamma}'. We prove that wide tractability is equivalent to the tractability of CSPH0(Γ)CSP_{\mathcal{H}_0}({\bf \Gamma}). Our proof is based on the key observation that R{\bf R} is homomorphic to Γ{\bf \Gamma}' if and only if the core of ΓR{\bf \Gamma}_{{\bf R}} is preserved by a Siggers polymorphism. Analogous result is shown for valued conservative CSPs.Comment: 21 pages. arXiv admin note: text overlap with arXiv:1504.0706

    Context Vectors are Reflections of Word Vectors in Half the Dimensions

    Get PDF
    This paper takes a step towards theoretical analysis of the relationship between word embeddings and context embeddings in models such as word2vec. We start from basic probabilistic assumptions on the nature of word vectors, context vectors, and text generation. These assumptions are well supported either empirically or theoretically by the existing literature. Next, we show that under these assumptions the widely-used word-word PMI matrix is approximately a random symmetric Gaussian ensemble. This, in turn, implies that context vectors are reflections of word vectors in approximately half the dimensions. As a direct application of our result, we suggest a theoretically grounded way of tying weights in the SGNS model

    The algebraic structure of the densification and the sparsification tasks for CSPs

    Full text link
    The tractability of certain CSPs for dense or sparse instances is known from the 90s. Recently, the densification and the sparsification of CSPs were formulated as computational tasks and the systematical study of their computational complexity was initiated. We approach this problem by introducing the densification operator, i.e. the closure operator that, given an instance of a CSP, outputs all constraints that are satisfied by all of its solutions. According to the Galois theory of closure operators, any such operator is related to a certain implicational system (or, a functional dependency) Σ\Sigma. We are specifically interested in those classes of fixed-template CSPs, parameterized by constraint languages Γ\Gamma, for which the size of an implicational system Σ\Sigma is a polynomial in the number of variables nn. We show that in the Boolean case, Σ\Sigma is of polynomial size if and only if Γ\Gamma is of bounded width. For such languages, Σ\Sigma can be computed in log-space or in a logarithmic time with a polynomial number of processors. Given an implicational system Σ\Sigma, the densification task is equivalent to the computation of the closure of input constraints. The sparsification task is equivalent to the computation of the minimal key. This leads to O(poly(n)N2){\mathcal O}({\rm poly}(n)\cdot N^2)-algorithm for the sparsification task where NN is the number of non-redundant sparsifications of an original CSP. Finally, we give a complete classification of constraint languages over the Boolean domain for which the densification problem is tractable

    Computing a partition function of a generalized pattern-based energy over a semiring

    Full text link
    Valued constraint satisfaction problems with ordered variables (VCSPO) are a special case of Valued CSPs in which variables are totally ordered and soft constraints are imposed on tuples of variables that do not violate the order. We study a restriction of VCSPO, in which soft constraints are imposed on a segment of adjacent variables and a constraint language Γ\Gamma consists of {0,1}\{0,1\}-valued characteristic functions of predicates. This kind of potentials generalizes the so-called pattern-based potentials, which were applied in many tasks of structured prediction. For a constraint language Γ\Gamma we introduce a closure operator, ΓΓ \overline{\Gamma^{\cap}}\supseteq \Gamma, and give examples of constraint languages for which Γ|\overline{\Gamma^{\cap}}| is small. If all predicates in Γ\Gamma are cartesian products, we show that the minimization of a generalized pattern-based potential (or, the computation of its partition function) can be made in O(VD2Γ2){\mathcal O}(|V|\cdot |D|^2 \cdot |\overline{\Gamma^{\cap}}|^2 ) time, where VV is a set of variables, DD is a domain set. If, additionally, only non-positive weights of constraints are allowed, the complexity of the minimization task drops to O(VΓDmaxρΓρ2){\mathcal O}(|V|\cdot |\overline{\Gamma^{\cap}}| \cdot |D| \cdot \max_{\rho\in \Gamma}\|\rho\|^2 ) where ρ\|\rho\| is the arity of ρΓ\rho\in \Gamma. For a general language Γ\Gamma and non-positive weights, the minimization task can be carried out in O(VΓ2){\mathcal O}(|V|\cdot |\overline{\Gamma^{\cap}}|^2) time. We argue that in many natural cases Γ\overline{\Gamma^{\cap}} is of moderate size, though in the worst case Γ|\overline{\Gamma^{\cap}}| can blow up and depend exponentially on maxρΓρ\max_{\rho\in \Gamma}\|\rho\|
    corecore