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

05/27/2023
by   Rustem Takhanov, et al.
0

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 Γ consists of {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 Γ we introduce a closure operator, Γ^∩⊇Γ, and give examples of constraint languages for which |Γ^∩| is small. If all predicates in Γ 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 𝒪(|V|· |D|^2 · |Γ^∩|^2 ) time, where V is a set of variables, D is a domain set. If, additionally, only non-positive weights of constraints are allowed, the complexity of the minimization task drops to 𝒪(|V|· |Γ^∩| · |D| ·max_ρ∈Γρ^2 ) where ρ is the arity of ρ∈Γ. For a general language Γ and non-positive weights, the minimization task can be carried out in 𝒪(|V|· |Γ^∩|^2) time. We argue that in many natural cases Γ^∩ is of moderate size, though in the worst case |Γ^∩| can blow up and depend exponentially on max_ρ∈Γρ.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/02/2020

Piecewise Linear Valued Constraint Satisfaction Problems with Fixed Number of Variables

Many combinatorial optimisation problems can be modelled as valued const...
research
03/13/2013

Possibilistic Constraint Satisfaction Problems or "How to handle soft constraints?"

Many AI synthesis problems such as planning or scheduling may be modeliz...
research
04/11/2021

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

The tractability of certain CSPs for dense or sparse instances is known ...
research
03/20/2013

Compressed Constraints in Probabilistic Logic and Their Revision

In probabilistic logic entailments, even moderate size problems can yiel...
research
07/29/2023

Restricted Holant Dichotomy on Domains 3 and 4

Holant^*(f) denotes a class of counting problems specified by a constrai...
research
08/10/2021

Multi-Valued Cognitive Maps: Calculations with Linguistic Variables without Using Numbers

A concept of multi-valued cognitive maps is introduced in this paper. Th...
research
07/16/2018

Constraint-Based Visual Generation

In the last few years the systematic adoption of deep learning to visual...

Please sign up or login with your details

Forgot password? Click here to reset