4 research outputs found

    Multiscale Fields of Patterns

    Full text link
    We describe a framework for defining high-order image models that can be used in a variety of applications. The approach involves modeling local patterns in a multiscale representation of an image. Local properties of a coarsened image reflect non-local properties of the original image. In the case of binary images local properties are defined by the binary patterns observed over small neighborhoods around each pixel. With the multiscale representation we capture the frequency of patterns observed at different scales of resolution. This framework leads to expressive priors that depend on a relatively small number of parameters. For inference and learning we use an MCMC method for block sampling with very large blocks. We evaluate the approach with two example applications. One involves contour detection. The other involves binary segmentation.Comment: In NIPS 201

    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(∣Vβˆ£β‹…βˆ£D∣2β‹…βˆ£Ξ“βˆ©β€Ύβˆ£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βˆ£β‹…βˆ£Ξ“βˆ©β€Ύβˆ£β‹…βˆ£Dβˆ£β‹…maxβ‘ΟβˆˆΞ“βˆ₯ρβˆ₯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