SlideShare a Scribd company logo
1 of 27
Download to read offline
Algorithm Selection for Preferred 
Extensions Enumeration 
Federico Cerutti, Massimiliano Giacomin, Mauro Vallati 
COMMA-2014 —Wednesday 10th September, 2014
Background on Dung’s AF 
Current Approaches for Preferred Extensions Enum. 
Features 
Empirical Results 
Conclusions
Background 
Definition 
Given an AF  = hA,Ri, with R  AA: 
a set S  A is conflict–free if @ a,b 2 S s.t. a!b; 
an argument a 2 A is acceptable with respect to a set S  A if 8b 2 A s.t. 
b!a, 9 c 2 S s.t. c!b; 
a set S  A is admissible if S is conflict–free and every element of S is 
acceptable with respect to S; 
a set S  A is a complete extension, i.e. S 2 ECO(), iff S is admissible and 
8a 2 A s.t. a is acceptable w.r.t. S, a 2 S; 
a set S  A is the grounded extensions, i.e. S 2 EGR(), iff S is the minimal 
(w.r.t. set inclusion) complete set; 
a set S  A is a preferred extension, i.e. S 2 EPR(), iff S is a maximal (w.r.t. set 
inclusion) complete set.
Background on Dung’s AF 
Current Approaches for 
Preferred Extensions Enum. 
Features 
Empirical Results 
Conclusions
AspartixM: [Dvoˇrák et al., 2011] 
Expresses argumentation semantics in Answer Set Programming 
(ASP); 
Tests for subset-maximality exploiting the metasp optimisation 
frontend for the ASP-package gringo/claspD; 
Database of the form: 
farg(a) j a 2 Ag[fdefeat(a,b) j ha,bi 2 Rg 
Example of program for checking the conflict–freeness: 
cf = f in(X) not out(X), arg(X); 
out(X) not in(X), arg(X); 
 in(X), in(Y), defeat(X,Y)g.
NAD-Alg: [Nofal et al., 2014] 
Several improvements in [Nofal et al., 2014]
PrefSAT: [TAFA2013] 
 is a boolean formula such that each 
satisfying assignment of the formula 
corresponds to a complete extension.
SCC-P: [KR2014]
SCC-P: [KR2014]
SCC-P: [KR2014]
AspartixM // NAD-Alg // PrefSAT [DARe2014] 
% Solved Average CPU-Time 
Density 25% 50% 75% 25% 50% 75% 
AspartixM 98.3 100.0 100.0 56.5 14.7 10.0 
NAD-Alg 100.0 100.0 100.0 18.9 0.2 0.2 
PrefSAT 100.0 100.0 100.0 5.1 1.6 2.2 
% Solved Average CPU-Time 
Density RAND RAND 
AspartixM 98.9 34.0 
NAD-Alg 93.9 70.6 
PrefSAT 100.0 4.2
PrefSAT // SCC-P [KR2014] 
720 AFs varying jSCC 
j in 5:5:45. Size of SCCs N( = 20 : 5 : 40,  = 5); 
attacks among SCCs N( = 20 : 5 : 40,  = 5) 
100 
90 
80 
70 
60 
50 
40 
IPC value (normalised) for SCC-P and SAT-P when 5  |SCC|  45 
For jSCC 
j = 35, Md(SCC-P) = 8.81, 
Md(SAT-P) = 8.53, z = 0.35, p = 0.73; 
0 10 20 30 40 50 
|SCC| 
SCC-P SAT-P
Background on Dung’s AF 
Current Approaches for Preferred Extensions Enum. 
Features 
Empirical Results 
Conclusions
Features from an Argumentation Graph  = hA,Ri 
— improvement from [ECAI2014] 
Directed Graph (26 features) 
Structure: 
# vertices ( jAj ) 
# edges ( jRj ) 
# vertices / #edges ( jAj=jRj ) 
# edges / #vertices ( jRj=jAj ) 
density 
average 
Degree: stdev 
attackers max 
min 
# average 
stdev 
max 
SCCs: 
min 
Structure: 
# self-def 
# unattacked 
flow hierarchy 
Eulerian 
aperiodic 
CPU-time: . . . 
Undirected Graph (24 features) 
Structure: 
# edges 
# vertices / #edges 
# edges / #vertices 
density 
Degree: 
average 
stdev 
max 
min 
SCCs: 
# average 
stdev 
max 
min 
Structure: Transitivity 
3-cycles: 
# average 
stdev 
max 
min 
CPU-time: . . .
How Hard is to Get the Features? 
Direct Graph Features (DG) Undirect Graph Features (UG) 
Class CPU-Time # feat Class CPU-Time # feat 
Mean stdDev Mean stDev 
Graph Size 0.001 0.009 5 Graph Size 0.001 0.003 4 
Degree 0.003 0.009 4 Degree 0.002 0.004 4 
SCC 0.046 0.036 5 Components 0.011 0.009 5 
Structure 2.304 2.868 5 Structure 0.799 0.684 1 
Triangles 0.787 0.671 5 
Average CPU-time, stdev, needed for extracting the features of a given class.
Background on Dung’s AF 
Current Approaches for Preferred Extensions Enum. 
Features 
Empirical Results 
Conclusions
Protocol: Some Numbers 
jSCC 
j in 1 : 100; 
jAj in 10 : 5, 000; 
jRj in 25 : 270, 000 (Erdös-Rényi, p uniformly distributed) ; 
Overall 10, 000 AFs. 
Cutoff time of 900 seconds (value also for crashed, timed-out or ran 
out of memory). 
EPMs both for Regression (Random forests) and 
Classification (M5-Rules) using WEKA; 
Evaluation using a 10-fold cross-validation approach on a uniform 
random permutation of instances.
Result 1: Best Features for Prediction 
Solver B1 B2 B3 
AspartixM number of arguments density of directed graph size of max. SCC 
PrefSAT density of directed graph number of SCCs aperiodicity 
NAD-Alg density of directed graph CPU-time for density CPU-time for Eulerian 
SCC-P density of directed graph number of SCCs size of the max SCC 
Determined by a greedy forward search based on the Correlation-based Feature Selection (CFS) 
attribute evaluator. 
AF structure SCCs CPU-time for feature extraction
Result 2: Predicting (log)Runtime 
RSME of Regression (Lower is better) 
B1 B2 B3 DG UG SCC All 
AspartixM 0.66 0.49 0.49 0.48 0.49 0.52 0.48 
PrefSAT 1.39 0.93 0.93 0.89 0.92 0.94 0.89 
NAD-Alg 1.48 1.47 1.47 0.77 0.57 1.61 0.55 
SCC-P 1.36 0.80 0.78 0.75 0.75 0.79 0.74 
sPni 
=1 
 
log10( bti )log10( yi ) 
2 
n 
AF structure SCCs CPU-time for feature extraction Undirect Graph
Result 3: Best Features for Classification 
C-B1 C-B2 C-B3 
number of arguments density of directed graph min attackers 
Determined by a greedy forward search based on the Correlation-based Feature Selection 
(CFS) attribute evaluator. 
AF structure Attackers
Result 4: Classification, i.e. Selecting the Best 
Solver for a Given  = hA,Ri 
Classification (Higher is better) 
jAj density min attackers DG UG SCC All 
Accuracy 48.5% 70.1% 69.9% 78.9% 79.0% 55.3% 79.5% 
Prec. AspartixM 35.0% 64.6% 63.7% 74.5% 74.9% 42.2% 76.1% 
Prec. PrefSAT 53.7% 67.8% 68.1% 79.6% 80.5% 60.4% 80.1% 
Prec. NAD-Alg 26.5% 69.2% 69.0% 81.7% 85.1% 35.3% 86.0% 
Prec. SCC-P 54.3% 73.0% 72.7% 76.6% 76.8% 57.8% 77.2% 
AF structure Attackers Undirect Graph SCCs
Result 5: Algorithm Selection 
Metric: Fastest 
(max. 1007) 
AspartixM 106 
NAD-Alg 170 
PrefSAT 278 
SCC-P 453 
EPMs Regression 755 
EPMs Classification 788 
Metric: IPC 
(max. 1007) 
NAD-Alg 210.1 
AspartixM 288.3 
PrefSAT 546.7 
SCC-P 662.4 
EPMs Regression 887.7 
EPMs Classification 928.1 
IPC: scale of (log)relative performance
Background on Dung’s AF 
Current Approaches for Preferred Extensions Enum. 
Features 
Empirical Results 
Conclusions
Conclusions 
50 features 
Best algorithm selection accuracy: 80% 
Algorithm selection performance: 2 times better than the best 
single-solver; 3 times better than the second-best single-solver; 
Consistency with previous explorations: density is among the most 
informative features. 
Undirect Graph Features: 
AspartixM, often around [800 . . . 899] seconds — predictable?; 
NAD-Alg, often time-out — predictable?; 
PrefSAT, SAT-solver performance?; 
SCC-P, little difference, significant?.
Future Work 
Exploiting additional useful features; 
Relevant semantics-dependent features (comparison with other 
semantics); 
Combining algorithms in portfolios; 
Scheduling; 
Ordering; 
Solver combination; 
Addressing problems other than enumeration (e.g. non-emptiness. . . ).
Acknowledgements 
The authors would like to acknowledge the use of the University 
of Huddersfield Queensgate Grid in carrying out this work.
References I 
[Dvoˇrák et al., 2011] Dvoˇrák,W., Gaggl, S. A.,Wallner, J., andWoltran, S. (2011). 
Making Use of Advances in Answer-Set Programming for Abstract Argumentation Systems. 
In Proceedings of the 19th International Conference on Applications of Declarative Programming and Knowledge Management (INAP 
2011). 
[Nofal et al., 2014] Nofal, S., Atkinson, K., and Dunne, P. E. (2014). 
Algorithms for decision problems in argument systems under preferred semantics. 
Artificial Intelligence, 207:23–51.

More Related Content

What's hot

SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2
Naughty Dog
 
Reducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology MappingReducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology Mapping
satrajit
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
Naughty Dog
 
Stephan berg track f
Stephan berg   track fStephan berg   track f
Stephan berg track f
Alona Gradman
 
Gate 2013 complete solutions of ec electronics and communication engineering
Gate 2013 complete solutions of ec  electronics and communication engineeringGate 2013 complete solutions of ec  electronics and communication engineering
Gate 2013 complete solutions of ec electronics and communication engineering
manish katara
 
Lab 3 nust control
Lab 3 nust controlLab 3 nust control
Lab 3 nust control
talhawaqar
 
MarcoCeze_defense
MarcoCeze_defenseMarcoCeze_defense
MarcoCeze_defense
Marco Ceze
 

What's hot (20)

SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2
 
Volume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVolume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensions
 
TMPA-2017: Generating Cost Aware Covering Arrays For Free
TMPA-2017: Generating Cost Aware Covering Arrays For Free TMPA-2017: Generating Cost Aware Covering Arrays For Free
TMPA-2017: Generating Cost Aware Covering Arrays For Free
 
Reducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology MappingReducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology Mapping
 
Representing and comparing probabilities: Part 2
Representing and comparing probabilities: Part 2Representing and comparing probabilities: Part 2
Representing and comparing probabilities: Part 2
 
Polynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex DeletionPolynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex Deletion
 
Representing and comparing probabilities
Representing and comparing probabilitiesRepresenting and comparing probabilities
Representing and comparing probabilities
 
How to add an optimization for C# to RyuJIT
How to add an optimization for C# to RyuJITHow to add an optimization for C# to RyuJIT
How to add an optimization for C# to RyuJIT
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
Stephan berg track f
Stephan berg   track fStephan berg   track f
Stephan berg track f
 
Gate 2013 complete solutions of ec electronics and communication engineering
Gate 2013 complete solutions of ec  electronics and communication engineeringGate 2013 complete solutions of ec  electronics and communication engineering
Gate 2013 complete solutions of ec electronics and communication engineering
 
Lab 3 nust control
Lab 3 nust controlLab 3 nust control
Lab 3 nust control
 
Biconnectivity
BiconnectivityBiconnectivity
Biconnectivity
 
Incremental and Interactive Process Model Repair
Incremental and Interactive Process Model RepairIncremental and Interactive Process Model Repair
Incremental and Interactive Process Model Repair
 
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
 
Complete and Interpretable Conformance Checking of Business Processes
Complete and Interpretable Conformance Checking of Business ProcessesComplete and Interpretable Conformance Checking of Business Processes
Complete and Interpretable Conformance Checking of Business Processes
 
MarcoCeze_defense
MarcoCeze_defenseMarcoCeze_defense
MarcoCeze_defense
 
Early Results of OpenMP 4.5 Portability on NVIDIA GPUs & CPUs
Early Results of OpenMP 4.5 Portability on NVIDIA GPUs & CPUsEarly Results of OpenMP 4.5 Portability on NVIDIA GPUs & CPUs
Early Results of OpenMP 4.5 Portability on NVIDIA GPUs & CPUs
 
Performance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive ParallelismPerformance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive Parallelism
 
Phase Responce of Pole zero
Phase Responce of Pole zeroPhase Responce of Pole zero
Phase Responce of Pole zero
 

Viewers also liked

Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Federico Cerutti
 
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
Federico Cerutti
 
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
Federico Cerutti
 
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Federico Cerutti
 

Viewers also liked (13)

Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
 
Cerutti--AAAI Fall Symposia 2009
Cerutti--AAAI Fall Symposia 2009Cerutti--AAAI Fall Symposia 2009
Cerutti--AAAI Fall Symposia 2009
 
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
 
Cerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and RiskCerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and Risk
 
Cerutti--PhD viva voce defence
Cerutti--PhD viva voce defenceCerutti--PhD viva voce defence
Cerutti--PhD viva voce defence
 
Cerutti--ECSQARU 2009
Cerutti--ECSQARU 2009Cerutti--ECSQARU 2009
Cerutti--ECSQARU 2009
 
Cerutti--ARGAIP 2010
Cerutti--ARGAIP 2010Cerutti--ARGAIP 2010
Cerutti--ARGAIP 2010
 
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
Cerutti--Web Information Systems (postgrad seminar @ University of Brescia)
 
Cerutti--TAFA 2011
Cerutti--TAFA 2011Cerutti--TAFA 2011
Cerutti--TAFA 2011
 
Cerutti--NMR 2010
Cerutti--NMR 2010Cerutti--NMR 2010
Cerutti--NMR 2010
 
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
Cerutti--Verification of Crypto Protocols (postgrad seminar @ University of B...
 
Cerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective LogicCerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective Logic
 
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
 

Similar to Algorithm Selection for Preferred Extensions Enumeration

ExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
ExtraV - Boosting Graph Processing Near Storage with a Coherent AcceleratorExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
ExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
Jinho Lee
 
Presentation_Parallel GRASP algorithm for job shop scheduling
Presentation_Parallel GRASP algorithm for job shop schedulingPresentation_Parallel GRASP algorithm for job shop scheduling
Presentation_Parallel GRASP algorithm for job shop scheduling
Antonio Maria Fiscarelli
 
General Purpose Computing using Graphics Hardware
General Purpose Computing using Graphics HardwareGeneral Purpose Computing using Graphics Hardware
General Purpose Computing using Graphics Hardware
Daniel Blezek
 

Similar to Algorithm Selection for Preferred Extensions Enumeration (20)

design-compiler.pdf
design-compiler.pdfdesign-compiler.pdf
design-compiler.pdf
 
Achitecture Aware Algorithms and Software for Peta and Exascale
Achitecture Aware Algorithms and Software for Peta and ExascaleAchitecture Aware Algorithms and Software for Peta and Exascale
Achitecture Aware Algorithms and Software for Peta and Exascale
 
RAPIDS: ускоряем Pandas и scikit-learn на GPU Павел Клеменков, NVidia
RAPIDS: ускоряем Pandas и scikit-learn на GPU  Павел Клеменков, NVidiaRAPIDS: ускоряем Pandas и scikit-learn на GPU  Павел Клеменков, NVidia
RAPIDS: ускоряем Pandas и scikit-learn на GPU Павел Клеменков, NVidia
 
FPGA Implementation of a GA
FPGA Implementation of a GAFPGA Implementation of a GA
FPGA Implementation of a GA
 
Amazon SageMaker을 통한 손쉬운 Jupyter Notebook 활용하기 - 윤석찬 (AWS 테크에반젤리스트)
Amazon SageMaker을 통한 손쉬운 Jupyter Notebook 활용하기  - 윤석찬 (AWS 테크에반젤리스트)Amazon SageMaker을 통한 손쉬운 Jupyter Notebook 활용하기  - 윤석찬 (AWS 테크에반젤리스트)
Amazon SageMaker을 통한 손쉬운 Jupyter Notebook 활용하기 - 윤석찬 (AWS 테크에반젤리스트)
 
Dpdk applications
Dpdk applicationsDpdk applications
Dpdk applications
 
pgconfasia2016 plcuda en
pgconfasia2016 plcuda enpgconfasia2016 plcuda en
pgconfasia2016 plcuda en
 
PL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
PL/CUDA - Fusion of HPC Grade Power with In-Database AnalyticsPL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
PL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
 
Hardware & Software Platforms for HPC, AI and ML
Hardware & Software Platforms for HPC, AI and MLHardware & Software Platforms for HPC, AI and ML
Hardware & Software Platforms for HPC, AI and ML
 
ExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
ExtraV - Boosting Graph Processing Near Storage with a Coherent AcceleratorExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
ExtraV - Boosting Graph Processing Near Storage with a Coherent Accelerator
 
byteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurationsbyteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurations
 
Debugging Ruby
Debugging RubyDebugging Ruby
Debugging Ruby
 
Presentation_Parallel GRASP algorithm for job shop scheduling
Presentation_Parallel GRASP algorithm for job shop schedulingPresentation_Parallel GRASP algorithm for job shop scheduling
Presentation_Parallel GRASP algorithm for job shop scheduling
 
General Purpose Computing using Graphics Hardware
General Purpose Computing using Graphics HardwareGeneral Purpose Computing using Graphics Hardware
General Purpose Computing using Graphics Hardware
 
A Highly Parallel Semi-Dataflow FPGA Architecture for Large-Scale N-Body Simu...
A Highly Parallel Semi-Dataflow FPGA Architecture for Large-Scale N-Body Simu...A Highly Parallel Semi-Dataflow FPGA Architecture for Large-Scale N-Body Simu...
A Highly Parallel Semi-Dataflow FPGA Architecture for Large-Scale N-Body Simu...
 
OXiGen: Automated FPGA design flow from C applications to dataflow kernels - ...
OXiGen: Automated FPGA design flow from C applications to dataflow kernels - ...OXiGen: Automated FPGA design flow from C applications to dataflow kernels - ...
OXiGen: Automated FPGA design flow from C applications to dataflow kernels - ...
 
20180920_DBTS_PGStrom_EN
20180920_DBTS_PGStrom_EN20180920_DBTS_PGStrom_EN
20180920_DBTS_PGStrom_EN
 
[ppt]
[ppt][ppt]
[ppt]
 
Performance Tuning EC2 Instances
Performance Tuning EC2 InstancesPerformance Tuning EC2 Instances
Performance Tuning EC2 Instances
 
BWA-MEM2-IPDPS 2019
BWA-MEM2-IPDPS 2019BWA-MEM2-IPDPS 2019
BWA-MEM2-IPDPS 2019
 

More from Federico Cerutti

Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Federico Cerutti
 

More from Federico Cerutti (13)

Security of Artificial Intelligence
Security of Artificial IntelligenceSecurity of Artificial Intelligence
Security of Artificial Intelligence
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural Networks
 
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
 
Human-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical MaterialHuman-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical Material
 
Probabilistic Logic Programming with Beta-Distributed Random Variables
Probabilistic Logic Programming with Beta-Distributed Random VariablesProbabilistic Logic Programming with Beta-Distributed Random Variables
Probabilistic Logic Programming with Beta-Distributed Random Variables
 
Supporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain SourcesSupporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain Sources
 
Introduction to Formal Argumentation Theory
Introduction to Formal Argumentation TheoryIntroduction to Formal Argumentation Theory
Introduction to Formal Argumentation Theory
 
Handout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to PracticeHandout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to Practice
 
Argumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to PracticeArgumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to Practice
 
Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
 
Argumentation in Artificial Intelligence
Argumentation in Artificial IntelligenceArgumentation in Artificial Intelligence
Argumentation in Artificial Intelligence
 

Recently uploaded

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Algorithm Selection for Preferred Extensions Enumeration

  • 1. Algorithm Selection for Preferred Extensions Enumeration Federico Cerutti, Massimiliano Giacomin, Mauro Vallati COMMA-2014 —Wednesday 10th September, 2014
  • 2. Background on Dung’s AF Current Approaches for Preferred Extensions Enum. Features Empirical Results Conclusions
  • 3. Background Definition Given an AF = hA,Ri, with R AA: a set S A is conflict–free if @ a,b 2 S s.t. a!b; an argument a 2 A is acceptable with respect to a set S A if 8b 2 A s.t. b!a, 9 c 2 S s.t. c!b; a set S A is admissible if S is conflict–free and every element of S is acceptable with respect to S; a set S A is a complete extension, i.e. S 2 ECO(), iff S is admissible and 8a 2 A s.t. a is acceptable w.r.t. S, a 2 S; a set S A is the grounded extensions, i.e. S 2 EGR(), iff S is the minimal (w.r.t. set inclusion) complete set; a set S A is a preferred extension, i.e. S 2 EPR(), iff S is a maximal (w.r.t. set inclusion) complete set.
  • 4. Background on Dung’s AF Current Approaches for Preferred Extensions Enum. Features Empirical Results Conclusions
  • 5. AspartixM: [Dvoˇrák et al., 2011] Expresses argumentation semantics in Answer Set Programming (ASP); Tests for subset-maximality exploiting the metasp optimisation frontend for the ASP-package gringo/claspD; Database of the form: farg(a) j a 2 Ag[fdefeat(a,b) j ha,bi 2 Rg Example of program for checking the conflict–freeness: cf = f in(X) not out(X), arg(X); out(X) not in(X), arg(X); in(X), in(Y), defeat(X,Y)g.
  • 6. NAD-Alg: [Nofal et al., 2014] Several improvements in [Nofal et al., 2014]
  • 7. PrefSAT: [TAFA2013] is a boolean formula such that each satisfying assignment of the formula corresponds to a complete extension.
  • 11. AspartixM // NAD-Alg // PrefSAT [DARe2014] % Solved Average CPU-Time Density 25% 50% 75% 25% 50% 75% AspartixM 98.3 100.0 100.0 56.5 14.7 10.0 NAD-Alg 100.0 100.0 100.0 18.9 0.2 0.2 PrefSAT 100.0 100.0 100.0 5.1 1.6 2.2 % Solved Average CPU-Time Density RAND RAND AspartixM 98.9 34.0 NAD-Alg 93.9 70.6 PrefSAT 100.0 4.2
  • 12. PrefSAT // SCC-P [KR2014] 720 AFs varying jSCC j in 5:5:45. Size of SCCs N( = 20 : 5 : 40, = 5); attacks among SCCs N( = 20 : 5 : 40, = 5) 100 90 80 70 60 50 40 IPC value (normalised) for SCC-P and SAT-P when 5 |SCC| 45 For jSCC j = 35, Md(SCC-P) = 8.81, Md(SAT-P) = 8.53, z = 0.35, p = 0.73; 0 10 20 30 40 50 |SCC| SCC-P SAT-P
  • 13. Background on Dung’s AF Current Approaches for Preferred Extensions Enum. Features Empirical Results Conclusions
  • 14. Features from an Argumentation Graph = hA,Ri — improvement from [ECAI2014] Directed Graph (26 features) Structure: # vertices ( jAj ) # edges ( jRj ) # vertices / #edges ( jAj=jRj ) # edges / #vertices ( jRj=jAj ) density average Degree: stdev attackers max min # average stdev max SCCs: min Structure: # self-def # unattacked flow hierarchy Eulerian aperiodic CPU-time: . . . Undirected Graph (24 features) Structure: # edges # vertices / #edges # edges / #vertices density Degree: average stdev max min SCCs: # average stdev max min Structure: Transitivity 3-cycles: # average stdev max min CPU-time: . . .
  • 15. How Hard is to Get the Features? Direct Graph Features (DG) Undirect Graph Features (UG) Class CPU-Time # feat Class CPU-Time # feat Mean stdDev Mean stDev Graph Size 0.001 0.009 5 Graph Size 0.001 0.003 4 Degree 0.003 0.009 4 Degree 0.002 0.004 4 SCC 0.046 0.036 5 Components 0.011 0.009 5 Structure 2.304 2.868 5 Structure 0.799 0.684 1 Triangles 0.787 0.671 5 Average CPU-time, stdev, needed for extracting the features of a given class.
  • 16. Background on Dung’s AF Current Approaches for Preferred Extensions Enum. Features Empirical Results Conclusions
  • 17. Protocol: Some Numbers jSCC j in 1 : 100; jAj in 10 : 5, 000; jRj in 25 : 270, 000 (Erdös-Rényi, p uniformly distributed) ; Overall 10, 000 AFs. Cutoff time of 900 seconds (value also for crashed, timed-out or ran out of memory). EPMs both for Regression (Random forests) and Classification (M5-Rules) using WEKA; Evaluation using a 10-fold cross-validation approach on a uniform random permutation of instances.
  • 18. Result 1: Best Features for Prediction Solver B1 B2 B3 AspartixM number of arguments density of directed graph size of max. SCC PrefSAT density of directed graph number of SCCs aperiodicity NAD-Alg density of directed graph CPU-time for density CPU-time for Eulerian SCC-P density of directed graph number of SCCs size of the max SCC Determined by a greedy forward search based on the Correlation-based Feature Selection (CFS) attribute evaluator. AF structure SCCs CPU-time for feature extraction
  • 19. Result 2: Predicting (log)Runtime RSME of Regression (Lower is better) B1 B2 B3 DG UG SCC All AspartixM 0.66 0.49 0.49 0.48 0.49 0.52 0.48 PrefSAT 1.39 0.93 0.93 0.89 0.92 0.94 0.89 NAD-Alg 1.48 1.47 1.47 0.77 0.57 1.61 0.55 SCC-P 1.36 0.80 0.78 0.75 0.75 0.79 0.74 sPni =1 log10( bti )log10( yi ) 2 n AF structure SCCs CPU-time for feature extraction Undirect Graph
  • 20. Result 3: Best Features for Classification C-B1 C-B2 C-B3 number of arguments density of directed graph min attackers Determined by a greedy forward search based on the Correlation-based Feature Selection (CFS) attribute evaluator. AF structure Attackers
  • 21. Result 4: Classification, i.e. Selecting the Best Solver for a Given = hA,Ri Classification (Higher is better) jAj density min attackers DG UG SCC All Accuracy 48.5% 70.1% 69.9% 78.9% 79.0% 55.3% 79.5% Prec. AspartixM 35.0% 64.6% 63.7% 74.5% 74.9% 42.2% 76.1% Prec. PrefSAT 53.7% 67.8% 68.1% 79.6% 80.5% 60.4% 80.1% Prec. NAD-Alg 26.5% 69.2% 69.0% 81.7% 85.1% 35.3% 86.0% Prec. SCC-P 54.3% 73.0% 72.7% 76.6% 76.8% 57.8% 77.2% AF structure Attackers Undirect Graph SCCs
  • 22. Result 5: Algorithm Selection Metric: Fastest (max. 1007) AspartixM 106 NAD-Alg 170 PrefSAT 278 SCC-P 453 EPMs Regression 755 EPMs Classification 788 Metric: IPC (max. 1007) NAD-Alg 210.1 AspartixM 288.3 PrefSAT 546.7 SCC-P 662.4 EPMs Regression 887.7 EPMs Classification 928.1 IPC: scale of (log)relative performance
  • 23. Background on Dung’s AF Current Approaches for Preferred Extensions Enum. Features Empirical Results Conclusions
  • 24. Conclusions 50 features Best algorithm selection accuracy: 80% Algorithm selection performance: 2 times better than the best single-solver; 3 times better than the second-best single-solver; Consistency with previous explorations: density is among the most informative features. Undirect Graph Features: AspartixM, often around [800 . . . 899] seconds — predictable?; NAD-Alg, often time-out — predictable?; PrefSAT, SAT-solver performance?; SCC-P, little difference, significant?.
  • 25. Future Work Exploiting additional useful features; Relevant semantics-dependent features (comparison with other semantics); Combining algorithms in portfolios; Scheduling; Ordering; Solver combination; Addressing problems other than enumeration (e.g. non-emptiness. . . ).
  • 26. Acknowledgements The authors would like to acknowledge the use of the University of Huddersfield Queensgate Grid in carrying out this work.
  • 27. References I [Dvoˇrák et al., 2011] Dvoˇrák,W., Gaggl, S. A.,Wallner, J., andWoltran, S. (2011). Making Use of Advances in Answer-Set Programming for Abstract Argumentation Systems. In Proceedings of the 19th International Conference on Applications of Declarative Programming and Knowledge Management (INAP 2011). [Nofal et al., 2014] Nofal, S., Atkinson, K., and Dunne, P. E. (2014). Algorithms for decision problems in argument systems under preferred semantics. Artificial Intelligence, 207:23–51.