Semiring-based Soft Constraints Francesco Santini ERCIM Contraintes, INRIA – Rocquencourt, France Dipartimento di Matematica e Informatica,

Slides:



Advertisements
Similar presentations
Non-Binary Constraint Satisfaction Toby Walsh Cork Constraint Computation Center.
Advertisements

1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Stefano Bistarelli (1) - Paola Campli (2) - Francesco Santini (3) Finding Partitions of Arguments with Dung’s Properties via SCSPs CILC 2011, 31 Agosto.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Super solutions for combinatorial auctions Alan Holland & Barry O’Sullivan {a.holland,
Constraint Processing and Programming Introductory Exemple Javier Larrosa.
Answer Set Programming vs CSP: Power of Constraint Propagation Compared Jia-Huai You ( 犹嘉槐 ) University of Alberta Canada.
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 3, 2010.
CPSC 322, Lecture 11Slide 1 Constraint Satisfaction Problems (CSPs) Introduction Computer Science cpsc322, Lecture 11 (Textbook Chpt 4.0 – 4.2) January,
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
Constraint Satisfaction CSE 473 University of Washington.
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 4, 2009.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
Constraint Satisfaction Problems
C Iit A constraint framework for the qualitative analysis of dependability goals: Integrity Joint work with Stefano Bistarelli C Consiglio Nazionale delle.
Constraint Satisfaction
1 Ugo Montanari Dipartimento di Informatica Università di Pisa Roberto Bruni, GianLuigi Ferrari, Hernan Melgratti, Emilio Tuosto (Pisa) Cosimo Laneve (Bologna)
Soft constraints. Classical (hard) Constraints Variables {X 1,…,X n }=X Variables {X 1,…,X n }=X Domains {D(X 1 ),…,D(X n )}=D Domains {D(X 1 ),…,D(X.
Argumentation Logics Lecture 3: Abstract argumentation semantics (3) Henry Prakken Chongqing May 28, 2010.
An Investigation of the Multimorphisms of Tractable and Intractable Classes of Valued Constraints Mathematics of Constraint Satisfaction: Algebra, Logic.
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Constraint Reasoning Florida Institute of Technology Computer Science.
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Slide 1 Constraint Satisfaction Problems (CSPs) Introduction Jim Little UBC CS 322 – CSP 1 September 27, 2014 Textbook §
CONSTRAINT PROGRAMMING Computer Science Seminar April 9 th, 2004 Kerem Kacel.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
University Course Timetabling with Soft Constraints Hana Rudova, Keith Murray Presented by: Marlien Edward.
© J. Christopher Beck Lecture 13: Modeling in Constraint Programming.
Modelling for Constraint Programming Barbara Smith CP 2010 Doctoral Programme.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Constraint Propagation as the Core of Local Search Nikolaos Pothitos, George Kastrinis, Panagiotis Stamatopoulos Department of Informatics and Telecommunications.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.
Hard Problems Sanghyun Park Fall 2002 CSE, POSTECH.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Constraint Satisfaction Problems University of Berkeley, USA
G51IAI Introduction to Artificial Intelligence
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
1 Constraint Satisfaction Problems: Formulation, Arc Consistency & Propagation 1 Brian C. Williams October 13 th, 2004 Slides adapted from:
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
Constraint Satisfaction CSE 473 University of Washington.
1 CSC 384 Lecture Slides (c) , C. Boutilier and P. Poupart CSC384: Lecture 16  Last time Searching a Graphplan for a plan, and relaxed plan heuristics.
Evolutionary Computing Chapter 13. / 24 Chapter 13: Constraint Handling Motivation and the trouble What is a constrained problem? Evolutionary constraint.
An Analysis of the n- Queens problem Saleem Karamali.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
Constraint Satisfaction Problems
Composing semantic Web services under constraints E.Karakoc, P.Senkul Journal: Expert Systems with Applications 36 (2009)
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
Constraint Satisfaction Problems (CSPs) Introduction
Validating Reconfigurations of Reo Circuits
Constraint Satisfaction Problems (CSPs)
Constraint Satisfaction
Constraint Satisfaction
An Overview of Soft Constraints
Constraint Satisfaction Problems (CSPs) Introduction
Eight-QueenS Problem: Fuzzy Constraint Satisfaction Problem Using Soar
Constraint Satisfaction Problems
Constraint Satisfaction Problems
A Recursive Approach to Argumentation: Motivation and Perspectives
Presentation transcript:

Semiring-based Soft Constraints Francesco Santini ERCIM Contraintes, INRIA – Rocquencourt, France Dipartimento di Matematica e Informatica, Perugia, Italy

Junior Seminar 13 th December 2012  Constraint programming is a programming paradigm wherein relations between variables are stated in the form of constraints (yes/no)  A form of declarative programming in form of: Constraint Satisfaction Problems: P = list of variables/constraints Constraint Logic Programming: A(X,Y) :- X+Y>0, B(X), C(Y) Mixed with other paradigms, e.g. Imperative Languages  To solve hard problems (i.e., NP-complete), related to AI  Applied to scheduling and planning, vehicle routing, component configuration, networks and bioinformatics Introduction: Constraints

Junior Seminar 13 th December 2012 A Classic Example of CSP  The n-queens problem (proposed in 1848), with n ≥ 4  N=8, 4,426,165,368 arrangements, but 92 solutions!  Manageable for n = 8, intractable for problems of n ≥ 20 A possible model: -A variable for each board column {x 1,…,x 8 } -Dom(x i ) = {1,…,8} -Assigning a value j to a variable x i means placing a queen in row j, column i -Between each pair of variables x i x j, a constraint c(x i, x j ):., x 6 } Sol = {(x 1 = 7), (x 2 = 5)…, (x 8 = 4)}

Junior Seminar 13 th December 2012  A formal framework: constraints are associated with values Over-constrained problems Preference-driven problems (Constraint Optimization Problems) Mixed with crisp constraints  Benefits from semiring-like structures Formal properties Parametrical with the chosen semirings (general, replaceable metrics, elegant) Multicriteria problems Motivations on semiring-based Soft Constraints (≠ crisp ones) E.g., to minimize the distance in columns among queens 23 17

Junior Seminar 13 th December 2012 Outline  Introduction and motivations  The general framework Semirings Soft Constraints Soft Constraint Satisfaction Problems  A focus on (Weighted) Argumentation Frameworks  Conclusion

Junior Seminar 13 th December 2012 C-semirings  A c-semiring is a tuple A is the (possibly infinite) set of preference values 0 and 1 represent the bottom and top preference values + defines a partial order ( ≥ S ) over A such that a ≥ S b iff a+b = a + is commutative, associative, and idempotent, it is closed, 0 is its unit element and 1 is its absorbing element closed, associative, commutative, and distributes over +, 1 is its unit element and 0 is its absorbing element is a complete lattice to compose the preferences and + to find the best one

Junior Seminar 13 th December 2012 Classical instantiations  Weighted  Fuzzy  Probabilistic  Boolean  Boolean semirings can be used to represent classical crisp problems  The Cartesian product is still a semiring

Junior Seminar 13 th December 2012 Soft Constraints  A constraint where each instantiation of its variables has an associated preference Assignment Constraint  Sum:  Combination:  Projection:  Entailment: Semiring set! Extensions of the semiring operators to assignments

Junior Seminar 13 th December 2012 Examples caca cbcb c cdcd

Junior Seminar 13 th December 2012 A Soft CSP (graphic) We can consider an α-consistency of the solutions to prune the search! P = C 1 and C 3 : unary constraints C 2 : binary constraint ≥ 11

Junior Seminar 13 th December 2012 Argumentation Your country does not want to cooperate Your country does not want either Your country is a rogue state Rogue state is a controversial term Support votes for each attack! NicolasFrançois Nicolas François Nicolas Attacks can be weighted

Junior Seminar 13 th December 2012 Argumentation in AI (Dung ‘95)  It is possible to define subsets of A with different semantics

Junior Seminar 13 th December 2012 Conflict-free extensions  No conflict in the subset: a set of coherent arguments

Junior Seminar 13 th December 2012 Admissible extensions  A set that can defend itself against all the attacks

Junior Seminar 13 th December 2012 Stable extensions  Having one more argument in the subset leads to a conflict

Junior Seminar 13 th December 2012  (α-)Conflict-free constraints – To find (α-)conflict free extensions  (α-)Admissible constraints – To find (α-)admissible extensions  (α-)Complete constraints – To find (α-)complete extensions  (α-)Stable constraints – To find (α-)stable extensions  V= {a, b, c, d, e}  D= {0,1} Mapping to CSPs and SCSPs a= 1, c= 1, b,d,e=0 is conflict-free a=1, b=1 c,d,e =0 is 7-conflict free

Junior Seminar 13 th December 2012 ConArg (Arg. with constraints)  The tool imports JaCoP, Java Constraint Solver  Tests over small-world networks (Barabasi and Kleinberg)

Junior Seminar 13 th December 2012 Results  Finding classical not-weighted extensions (Kleinberg)  Hard problems considering a relaxation beta  Comparison with a ASPARTIX

Junior Seminar 13 th December 2012  Soft constraints are able to model several hard problems considering preference values (of users).  The semiring-based framework may be used to have a formal and parametrical mean to solve these problems  Links with Operational Research and (Combinatorial) Optimization Problems (Soft CSP) Conclusion

Junior Seminar 13 th December 2012 Thank you for your time! Contacts: