Learning Overlap Optimization for Domain Decomposition Methods 17th Pacific-Asia Conference on Knowledge Discovery and Data Mining Steven Burrows † org Frochte ‡ olske † J¨ Michael V¨ en Martina Tores ‡ Benno Stein † Ana Bel´ † Bauhaus-Universit¨ at Weimar ‡ Bochum University of Applied Science 14–17 April 2013 Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 1 / 15
About Me RMIT University: Undergrad, Honours, and PhD up to 2010. Bauhaus-Universit¨ at Weimar: PostDoc from 2011–2012. ◮ Research in Digital Engineering and Simulation Data Mining. German Institute for International Educational Research: Research Scientist from 2013 to current. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 2 / 15
Interactive Bridge Design in Civil Engineering Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 3 / 15
Parallel Simulation with Domain Decomposition Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 4 / 15
Problem Definition Problem: Poisson’s Equation A second-order elliptic partial-differential equation (PDE). Has application in modeling stationary heat. Additional applications in Newtonian gravity and electrostatics. Transferable results. E.g: Stress modeling in engineering science. The Maths − ε ( x ) ∇ 2 u = f ( x ) on Ω ; u = g ( x ) on ∂ Ω Ω: geometry (i.e. a bar). f ( x ) ≥ 0: heat sources. ε ( x ): material property. g ( x ): temperatures on the boundary ∂ Ω of the domain Ω. Numerical Method: Finite Element Method A standard method in most engineering software solutions. Applied to the unit square. Ω = [0 , 1] × [0 , 1]. Checkerboard partitioning for a restricted problem space. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 5 / 15
Generating Diffusion Specifications Diffusion specification: A unique set of material values within the unit square to solve Poisson’s equation. Isolated Nested Sequence Shapes and sizes are based on a deterministic pseudo random number generator. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 6 / 15
Generating Domain Specifications Assuming 0.4% global overlap on a 4 × 4 checkerboard, and Three adjustments per sub-domain (-0.2%, +0.0%, +0.2%), gives us 48 domain specifications per diffusion specification. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 7 / 15
Extracting Features from Neighborhoods Example. Material settings are: Pink: ǫ = 10 000. Gray: ǫ = 1 000. Blue: ǫ = 100. Max Diff to Min Diff to Max Value Min Value in Region in Region in Region Boundary Boundary Max Diff Region A 10 000 1 000 9 000 9 000 0 B 1 000 100 900 0 0 C 1 000 100 900 900 0 D 10 000 1 000 9 000 9 900 0 E 10 000 100 9 900 9 000 0 F 10 000 100 9 900 9 900 0 Feature sets: Fine (A–D), Coarse (E–F), and Combined (A–F). 120 features can be extracted in total. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 8 / 15
The FPO Evaluation Measure Motivation: Need a theoretical and architecture independent measure. We propose “FPO” (floating point operations). Notation: Assume a hardware architecture with s computation nodes. s : also number of sub-domains. n i : number of unknowns in a sub-domain. l : number of domain decomposition iterations. n 3 FPO ≈ � s 3 + l · n 2 i . i i =1 Note — FPO is only comparable for solutions with: Same number of sub-domains, and Same hardware architecture. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 9 / 15
Machine Learning Methodology Training. For each diffusion file: 1 Extract features for all 48 permutations of the neighborhoods. 2 Compute FPO for all 48 permutations with simulation. 3 Record the mapping from the set of input features to FPO. Testing. For each diffusion file: 1 Extract features for all 48 permutations of the neighborhoods. 2 Predict FPO for all 48 permutations using a regression model. 3 Identify the minimum FPO value for each neighborhood. Evaluation. For each diffusion file: 1 Compute FPO on the best combined specification with simulation. 2 Compare the predicted FPO score with that of the baseline. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 10 / 15
Baseline Overlap Decision Global Total overlap for various grid sizes (% of unknowns) overlap 1 × 1 2 × 2 3 × 3 4 × 4 5 × 5 6 × 6 7 × 7 8 × 8 minimum 0.00 0.40 0.80 1.19 1.59 1.99 2.38 2.77 0.2% 0.00 1.19 2.38 3.56 4.73 5.90 7.06 8.21 0.4% 0.00 1.99 3.95 5.90 7.82 9.73 11.62 13.48 0.6% 0.00 2.77 5.51 8.21 10.87 13.48 16.06 18.60 0.8% 0.00 3.56 7.06 10.49 13.85 17.16 20.40 23.57 Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 11 / 15
Data Analysis Max Diff to Min Diff to Max Value Min Value Boundary Boundary in Region in Region in Region Max Diff Region A 10 000 1 000 9 000 9 000 0 B 1 000 100 900 0 0 C 1 000 100 900 900 0 D 10 000 1 000 9 000 9 900 0 E 10 000 100 9 900 9 000 0 F 10 000 100 9 900 9 900 0 Region A Feature Invalid No Diff Default Other Total Max Value in Region 12 000 0 34 171 1 829 48 000 Min Value in Region 12 000 0 35 990 10 48 000 Max Diff in Region 12 000 34 171 0 1 829 48 000 Min Diff to Boundary 12 000 36 000 0 0 48 000 Max Diff to Boundary 12 000 35 361 0 639 48 000 Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 12 / 15
Regression Algorithms and Feature Sets Algorithms: simple linear, nearest neighbor, decision tree, and SVM. Feature sets: Combined , Fine , and Coarse . Only the nearest neighbor algorithm offered improvement (below). Baseline Combined IBk Baseline vs. Combined IBk 250 250 34 Combined IBk FPO (trillions) ● 33 ● ● ● 200 200 ● 32 ● ● Frequency Frequency ● ● 150 150 ● ● 31 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 100 100 30 ● ● ● ● ● ● ● ● ● ● ● ● ● ● 29 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ●● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 50 50 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ●● ● ● ● ●● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 28 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 27 0 0 27 28 29 30 31 32 33 34 27 28 29 30 31 32 33 34 27 28 29 30 31 32 33 34 FPO (trillions) FPO (trillions) Baseline FPO (trillions) Evaluation metric Combined Fine Coarse Fraction of baseline 0.9778 0.9791 0.9830 p < 2 . 2 × 10 − 16 p < 2 . 2 × 10 − 16 p < 2 . 2 × 10 − 16 Student’s t-test Cohen’s d d = 0 . 85 d = 0 . 79 d = 0 . 62 Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 13 / 15
Forward Plan 1 Increase the checkerboard size for more precise learning. 2 Increase the training set size with additional diffusion specifications. 3 Apply non-uniform boundary adjustments with sub-domains. 4 Drop the checkerboard constraint in favor of polygonal boundaries. 5 Consider three-dimensional problems later. Steven Burrows (Bauhaus University) Learning Overlap Optimization 14–17 April 2013 14 / 15
Recommend
More recommend