Sajjad Siddiqi and Jinbo Huang National ICT Australia and Australian National University Hierarchical Diagnosis of Multiple Faults.

Slides:



Advertisements
Similar presentations
Copyright 2000 Cadence Design Systems. Permission is granted to reproduce without modification. Introduction An overview of formal methods for hardware.
Advertisements

Adnan Darwiche Computer Science Department UCLA
A. Darwiche Knowledge Compilation Jinbo Huang NICTA and ANU Slides made by Adnan Darwiche and Jinbo Huang.
Location Recognition Given: A query image A database of images with known locations Two types of approaches: Direct matching: directly match image features.
Delta Debugging and Model Checkers for fault localization
CrowdER - Crowdsourcing Entity Resolution
Overcoming Limitations of Sampling for Agrregation Queries Surajit ChaudhuriMicrosoft Research Gautam DasMicrosoft Research Mayur DatarStanford University.
Computing Minimum-cardinality Diagnoses by Model Relaxation Sajjad Siddiqi National University of Sciences and Technology (NUST) Islamabad, Pakistan.
SAT Based Abstraction/Refinement in Model-Checking Based on work by E. Clarke, A. Gupta, J. Kukula, O. Strichman (CAV’02)
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 1 Regression Verification for Multi-Threaded Programs Sagar Chaki, SEI-Pittsburgh Arie Gurfinkel, SEI-Pittsburgh Ofer Strichman, Technion-Haifa Originally.
Queries with Difference on Probabilistic Databases Sanjeev Khanna Sudeepa Roy Val Tannen University of Pennsylvania 1.
1 Integrating CSP Decomposition Techniques and BDDs for Compiling Configuration Problems Sathiamoorthy Subbarayan IT University of Copenhagen.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Technion 1 Generating minimum transitivity constraints in P-time for deciding Equality Logic Ofer Strichman and Mirron Rozanov Technion, Haifa, Israel.
Amortizing Garbled Circuits Yan Huang, Jonathan Katz, Alex Malozemoff (UMD) Vlad Kolesnikov (Bell Labs) Ranjit Kumaresan (Technion) Cut-and-Choose Yao-Based.
Beyond Trilateration: On the Localizability of Wireless Ad Hoc Networks Reported by: 莫斌.
1 Recursive Learning Madhurima Maddela. ELEC /26/052 Decision Tree Traditionally used to branch and bound in the search space to generate test.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Consistency-Based vs. Explanation- Based (Abduction) Diagnosis Andrew Smith.
1 Boolean Satisfiability in Electronic Design Automation (EDA ) By Kunal P. Ganeshpure.
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
Models -1 Scientists often describe what they do as constructing models. Understanding scientific reasoning requires understanding something about models.
1 Deciding separation formulas with SAT Ofer Strichman Sanjit A. Seshia Randal E. Bryant School of Computer Science, Carnegie Mellon University.
Reduction Techniques Restriction Local Replacement Component Design Examples.
4/20/2006ELEC7250: Alexander 1 LOGIC SIMULATION AND FAULT DIAGNOSIS BY JINS DAVIS ALEXANDER ELEC 7250 PRESENTATION.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11alt1 Lecture 11alt Advances in Combinational ATPG Algorithms  Branch and Bound Search  FAN – Multiple.
Inference and Resolution for Problem Solving
ELEC 7250 Term Project Presentation Khushboo Sheth Department of Electrical and Computer Engineering Auburn University, Auburn, AL.
Deterministic Network Coding by Matrix Completion Nick Harvey David Karger Kazuo Murota.
Technion 1 Generating minimum transitivity constraints in P-time for deciding Equality Logic Ofer Strichman and Mirron Rozanov Technion, Haifa, Israel.
Technion 1 (Yet another) decision procedure for Equality Logic Ofer Strichman and Orly Meir Technion.
04/25/2006 ELEC 7250 Final Project: Jie Qin 1 Logic Simulator for Combinational Circuit Jie Qin Dept. of Electrical and Computer Engineering Auburn University,
User-level Internet Path Diagnosis R. Mahajan, N. Spring, D. Wetherall and T. Anderson.
Pruning techniques for the SAT-based Bounded Model-Checking problem Ofer Shtrichman Weizmann Institute of Science & IBM - HRL.
Computing Over­Approximations with Bounded Model Checking Daniel Kroening ETH Zürich.
Ofer Strichman, Technion 1 Decision Procedures in First Order Logic Part II – Equality Logic and Uninterpreted Functions.
Introduction : ‘Skoll: Distributed Continuous Quality Assurance’ Morimichi Nishigaki.
Cardinality & Sorting Networks. Cardinality constraint Appears in many practical problems: scheduling, timetabling etc’. Also takes place in the Max-Sat.
Binary Decision Diagrams (BDDs)
Performing Bayesian Inference by Weighted Model Counting Tian Sang, Paul Beame, and Henry Kautz Department of Computer Science & Engineering University.
Lecture 22 More NPC problems
MCS 312: NP Completeness and Approximation algorthms Instructor Neelima Gupta
Logic Circuits Chapter 2. Overview  Many important functions computed with straight-line programs No loops nor branches Conveniently described with circuits.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
European Test Symposium, May 28, 2008 Nuno Alves, Jennifer Dworak, and R. Iris Bahar Division of Engineering Brown University Providence, RI Kundan.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View BDDs.
Nordic Process Control Workshop, Porsgrunn, Norway Application of the Enhanced Dynamic Causal Digraph Method on a Three-layer Board Machine Cheng.
Measurements at 40cm and Computer Aided Segment By Segment corrections Measurements at 40cm and Computer Aided Segment By Segment corrections Piotr Skowroński.
Variable and Value Ordering for MPE Search Sajjad Siddiqi and Jinbo Huang.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View BDDs.
SAT 2009 Ashish Sabharwal Backdoors in the Context of Learning (short paper) Bistra Dilkina, Carla P. Gomes, Ashish Sabharwal Cornell University SAT-09.
272: Software Engineering Fall 2012 Instructor: Tevfik Bultan Lecture 9: Test Generation from Models.
Equivalence checking Prof Shobha Vasudevan ECE 598SV.
Kanupriya Gulati * Mathew Lovell ** Sunil P. Khatri * * Computer Engineering, Texas A&M University ** Hewlett Packard Company, Fort Collins, CO Efficient.
GROUP MEMBERS AYAZ JAVED BITF06A002 SADAF SARFARAZ BITF06A003 SAMIN ATIQA BITF06A028 BILAL KHALID BITF06A042.
On the Relation Between Simulation-based and SAT-based Diagnosis CMPE 58Q Giray Kömürcü Boğaziçi University.
Sudoku Solutions Using Logic Equations Christian Posthoff The University of The West Indies, Trinidad & Tobago Bernd Steinbach Freiberg University of Mining.
Introduction to Logic for Artificial Intelligence Lecture 2
Hybrid BDD and All-SAT Method for Model Checking
Samuel Luckenbill1, Ju-Yueh Lee2, Yu Hu3, Rupak Majumdar1, and Lei He2
CS21 Decidability and Tractability
Normality and Faults in Logic-Based Diagnosis
Encoding CNFs to Enhance Component Analysis
Queries with Difference on Probabilistic Databases
Propositional Calculus: Boolean Algebra and Simplification
SAT-Based Area Recovery in Technology Mapping
NP-Completeness Proofs
5.4 T-joins and Postman Problems
Fast Min-Register Retiming Through Binary Max-Flow
Instructor: Aaron Roth
Presentation transcript:

Sajjad Siddiqi and Jinbo Huang National ICT Australia and Australian National University Hierarchical Diagnosis of Multiple Faults

Consistency-based Diagnosis C D A Y X B Abnormal observation  :  A  B   D Which gate(s) are broken?

Consistency-based Diagnosis C D A Y X B System model  : okX  (A   C) okY  (B  C)  D Health variables: okX, okY Observables: A, B, D Nonobservable: C

Consistency-based Diagnosis C D A Y X B Abnormal observation  :  A  B   D Find values of (okX, okY) consistent with    : (0, 0), (0, 1), (1, 0) System model  : okX  (A   C) okY  (B  C)  D

Consistency-based Diagnosis System model  over health variables (okX, okY, …) observables nonobservables Given observation , diagnosis is assignment to health variables consistent with    Consider minimum-cardinality diagnoses

Search-based Approach Search for diagnoses consistent with    Reduced to finding solutions to SAT instance Cardinality enforced by extra constraints Often restricted to single/double faults

System Model Compile Tractable Form QueryEvaluator Compilation-based Approach

Most work is done off-line On-line diagnosis is efficient Off-line work is amortized over multiple queries Can handle arbitrary cardinality Off-line compilation can be bottleneck Compilation-based Approach

DAG of nested and/or Conjuncts share no variable (decomposable) or and or and X3X3 X1X1 X2X2 Decomposable Negation Normal Form (DNNF)

C D A Y X B Observation:  A  B   D System model  : okX  (A   C) okY  (B  C)  D Diagnosis Using DNNF

C D A Y X B Observation:  A  B   D or  okX  okY System model  : okX  (A   C) okY  (B  C)  D Diagnosis Using DNNF

System Model Compile Tractable Form QueryEvaluator Bottleneck Compilation-based Approach

Requires a health variable for each component c1908 has 880 gates; basic encoding fails to compile New technique to reduce number of health variables Preserves soundness and completeness w.r.t. min- cardinality diagnoses Requires only 160 health variables for c1908

Hierarchical Diagnosis

Identifying Cones Gate G dominates gate X if any path from X to output of circuit contains G All gates dominated by G form a cone Dominators found by breath-first traversal of circuit Treat maximal cones as blackboxes

Abstraction of Circuit  C = {T, U, V, A, B, C}

Top-level Diagnosis Diagnosis: {A, B, C}

Diagnosis of Cone Need to set inputs/output of cone according to top- level diagnosis Rest is similar, but not a simple recursive call (to avoid redundancy) Once cone diagnoses found, global diagnoses obtained by substitution

Diagnosis of Cone Top-level diagnosis: {A, B, C} 3 diagnoses for cone A: {A}, {D}, {E} 3 global diagnoses by substitution: {A, B, C} {D, B, C} {E, B, C}

Soundness Top-level diagnoses have same cardinality. Substitutions do not alter cardinality (cones do not overlap). Remains to show that cardinality of these diagnoses, d, is smallest. Proof by contradiction: Suppose there is diagnosis |P| < d. Replace every gate in P with its highest dominator to obtain P’. P’ is a valid top-level diagnosis, contradicting soundness of baseline diagnoser

Completeness Need to show every min-cardinality diagnosis is found Given diagnosis P of min cardinality d, replace every gate in P with its highest dominator to obtain P’ P’ has cardinality d, and only mentions gates in top-level abstraction, and hence will be found by top-level diagnosis (by completeness of baseline diagnoser) P itself will be found by substitution (by completeness of cone diagnosis)

Experiments Use ISCAS85 circuits Observations (inputs/outputs) randomly generated Multiple instances per circuit Use tool from (Huang and Darwiche, 2005) as baseline diagnoser

Results

Conclusion New technique for compilation-based diagnosis to scale up Preserves soundness and completeness w.r.t. min- cardinality diagnoses For further scalability, hybrid of search and compilation is possible