Inversion-Free Evaluation of Nearest Neighbors in Method of Moments
Miloslav Capek, Lukas Jelinek, Mats Gustafsson

TL;DR
This paper presents an inversion-free, scalable method for evaluating nearest neighbors in the method of moments, enhancing shape perturbation analysis and data mining applications.
Contribution
It extends topology sensitivity in method of moments by incorporating degrees-of-freedom reconstruction, enabling efficient parallelizable nearest neighbor evaluation.
Findings
Effective for small shape perturbation evaluation
Suitable for parallel computation
Useful for machine learning data mining
Abstract
A recently introduced technique of topology sensitivity in method of moments is extended by the possibility of adding degrees-of-freedom (reconstruct) into underlying structure. The algebraic formulation is inversion-free, suitable for parallelization and scales favorably with the number of unknowns. The reconstruction completes the nearest neighbors procedure for an evaluation of the smallest shape perturbation. The performance of the method is studied with a greedy search over a Hamming graph representing the structure in which initial positions are chosen from a random set. The method is shown to be effective data mining tool for machine learning-related applications.
Click any figure to enlarge with its caption.
Figure 1
Figure 1
Figure 1
Figure 2
Figure 3
Figure 3
Figure 4
Figure 5
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39
Figure 40| plate | |||
|---|---|---|---|
| d-o-f, | |||
| runs, | |||
| comp. time, [s] | |||
| evaluated shapes | |||
| shapes per second | |||
| comp. time per run, [s] | |||
| evaluated shapes per run | |||
| Computer: CPU Threadripper 1950 ( GHz), GB RAM. | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Inversion-Free Evaluation of Nearest Neighbors in Method of Moments
Miloslav Capek, Lukas Jelinek, and Mats Gustafsson Manuscript received ; revised .This work was supported by the Czech Science Foundation under project No. 19-06049S. The work of M. Capek was supported by the Ministry of Education, Youth and Sports through the project CZ.02.2.69/0.0/0.0/16_027/0008465.M. Capek and L. Jelinek are with the Department of Electromagnetic Field, Faculty of Electrical Engineering, Czech Technical University in Prague, 166 27 Prague, Czech Republic (e-mail: [email protected], [email protected]).M. Gustafsson is with the Department of Electrical and Information Technology, Lund University, 221 00 Lund, Sweden (e-mail: [email protected]).
Abstract
A recently introduced technique of topology sensitivity in method of moments is extended by the possibility of adding degrees-of-freedom (reconstruct) into underlying structure. The algebraic formulation is inversion-free, suitable for parallelization and scales favorably with the number of unknowns. The reconstruction completes the nearest neighbors procedure for an evaluation of the smallest shape perturbation. The performance of the method is studied with a greedy search over a Hamming graph representing the structure in which initial positions are chosen from a random set. The method is shown to be an effective data mining tool for machine learning-related applications.
Index Terms:
Antennas, optimization methods, structural topology design, numerical methods, shape sensitivity analysis.
I Introduction
Shape synthesis, a technique of constructing a particular body from piece-wise constant materials, is an unsolved problem across many engineering branches. The major obstacle is a combinatorial explosion [1] for degrees-of-freedom (d-o-f) that arises from its binary nature: each unknown is associated with a given material or with vacuum [2]. While the formulation can be relaxed by introducing continuous variables, as in the case of topology optimization [3], the solution is finally rounded with respect to a given threshold [4]. This last step is encumbered with difficulties such as non-uniqueness and instability [5].
Contemporary solutions to shape optimization are mostly parametric sweeps, heuristic algorithms [6], and, recently, machine learning [7]. All these techniques share a common feature: a demand on vast amounts of samples for which a fitness function has to be evaluated. Therefore, large datasets are dealt with during shape optimization.
In this contribution, the binary nature of the optimization problem is kept in its original form accepting NP complexity, and a novel method of topology sensitivity [8] is adopted and extended by the possibility of reconstructing the structure. The resulting local algorithm is based on an investigation of nearest neighbors in a Hamming graph [9]. It utilizes method of moments (MoM) [10] and the Sherman-Morrison-Woodbury identity [11, 12], a popular scheme for evaluating consequences of local geometry perturbations [8, 13, 14, 15, 16].
Exploration of all shapes with a unit Hamming distance is performed with an inversion-free evaluation. The proposed method is fine-grained (with an expected linear speed-up when parallelization is used), well-suited for vectorization, and its implementation has the potential to evaluate millions of mid-size antenna candidates per minute on a laptop. As such, it represents an ideal data mining tool for machine learning algorithms [17] or an apt candidate for a local step in global optimization [18]. Specifically, the training phase of supervised learning [19] can be significantly shortened. Utilizing the linear regression models [19], the proposed technique can provide additional information about first-order perturbations. These claims are supported by a Monte Carlo simulation with a greedy search over the nearest neighbors.
The letter is organized as follows. Topology sensitivity technique is briefly reviewed in Section II and extended by the possibility of reconstructing a previously reduced shape. Section III shows that an iterative evaluation of all nearest neighbours of an actual shape can be employed in a greedy algorithm. Performance of the greedy algorithm based on the nearest neighbours search is statistically studied in Section IV. The letter concludes in Section V.
II Effective Shape Perturbation in MoM
MoM [10] for a fixed discretization and a set of piece-wise basis functions is considered here as the starting point, see Fig. 1. The presence of basis functions is a subject of binary optimization, see [8] for details. The primary quantities being operated on are the impedance matrix [10], which carries information about the electromagnetic behaviour of an actual shape, and a set of matrix operators representing criterion function in a form
[TABLE]
where is a column vector of current expansion coefficients [10], and is an arbitrary function operating over individual quantities , . Let us further assume that the th basis function is fed where index is fixed.
Topology sensitivity is defined as [8]
[TABLE]
expressing a difference between the performance of the actual shape and of its smallest perturbations realized via individual removals or additions of the th basis function, . The symbol denotes a set of all “enabled” d-o-f and denotes a set of all investigated edges, , where is a set of d-o-f to be removed (one by one) and is a set of d-o-f to be added (one by one), see Fig. 2 for a particular example.
II-A Removal of Basis Functions
Shape reduction via the removal of d-o-f with indices is possible with a linear asymptotic complexity as
[TABLE]
with an effective evaluation of (1) as
[TABLE]
where
[TABLE]
The symbols introduced in (3)–(5) read: and are the th and th columns of the admittance matrix , respectively, and are admittance matrix elements, is the length of the fed edge, and V. Matrix operators have only lines and columns corresponding to the entries in set and matrices in a form of contain columns of current expansion coefficients corresponding to the investigated perturbations.
The edge corresponding to the worst topology sensitivity is selected (here denoted by index ) and removed (disabled) by virtue of an admittance matrix update
[TABLE]
where is a permutation matrix,
[TABLE]
in which all zero columns are removed. A removal of one basis function thus means reduction of the admittance matrix dimension by one.
II-B Addition of Basis Functions
The basis function removal technique (3) is excellent for investigating topological sensitivity (2), however, a nonexistence of a technique of a basis function addition commonly caused a premature deadlock [8]. Here, the addition of a basis function is introduced by further applying the Sherman-Morrison-Woodbury identity [11] which results in
[TABLE]
where
[TABLE]
and permutation matrix provides a correct ordering of the basis functions since the basic Sherman-Morrison-Woodbury identity demands that the basis function added must be the last one. Entries of read
[TABLE]
with and where is a set of target indices if a set is sorted in ascending order.
After deciding which basis function should be added (enabled), an admittance matrix update is performed as follows
[TABLE]
with the auxiliary variables defined in (9).
III Local Shape Perturbation
Thanks to (3)–(6), and (8)–(11) the initial shape can either be extended or reduced according to its actual topology sensitivity (2) to a given parameter . In order to proceed further, let us represent any properly discretized shape as a binary genus with logical values , where if and otherwise. The Hamming graph is defined over genes in which nearest neighbors can be found and evaluated using (3) and (8), see Fig. 3 for a sketch of the procedure for . For an arbitrary starting position, a graph in Fig. 3 can be explored for a locally optimal shape using a greedy algorithm [21] following the steepest descent of (2).
A particular result of the greedy algorithm, based on nearest neighbors, is presented in Fig. 4 for the starting position depicted in Fig. 2 and a minimization of a radiation Q-factor which is a parameter of primary importance for electrically small antenna, [22]. Electrical size is , with being the free-space wavenumber and being the radius of the sphere fully circumscribing the rectangular region. Actual performance in Q-factor, evaluated according to [23], is normalized throughout the paper with respect to its lower bound being restricted to TM modes only, , see [24] and references therein. As compared to Fig. 2, the performance of a shape in Fig. 4 was improved from to in steps. The difference between the initial genome and the final genome is significant, cf. Figs. 2 and 4, and is quantified with a normalized Hamming distance between the corresponding genes, i.e.,
[TABLE]
for one basis function being excited by a delta gap. The coefficient means the structure was completely changed, while means that the structure was not modified at all. In the final case depicted in Fig. 4, the coefficient equals , which means that approximately one half of the basis functions have been changed when compared with the initial structures.
IV Monte Carlo Analysis
This section provides a detailed study of the algorithm proposed in the previous section. To this point, multiple runs with random starting positions (feeding position being fixed) were performed and statistically evaluated. As in the previous section, the performance of the algorithm is investigated using Q-factor minimization and a rectangular bounding box with a side aspect ratio of 2:1 with electrical size . Two discretization schemes, grid () and grid (), are used as can be seen in the insets in Fig. 5 and Fig. 7, respectively. The entire procedure was implemented in MATLAB [26]. The matrix operators were evaluated in AToM [27], and all calculations ran on the computer specified in Table I. The only run-time variables are , , (for shape reconstruction), and matrices. In total, trials were performed for both grids and the overall performance is summarized in Table I and in Figs. 5–8.
It can be seen in Fig. 5 that the greedy search, which is a local algorithm, is capable of improving the performance in Q-factor to a mean value of and for and grids, respectively. As expected, the improvements are more pronounced when working with a finer grid (non-hatched bars). As confirmed in Fig. 6, this is only possible if both removal and addition techniques are involved. In particular, the removal alone performs poorly when starting from a random seed. Figure 7 shows the statistics of resemblance between the initial and final samples and reveals that, on average, of all d-o-f were modified. The final result, showing the probability density function (PDF) and the cumulative density function (CDF) of a normalized Q-factor, is presented in Fig. 8. Interestingly, the most probable Q-factor is close to its lower bound and is reachable from many starting positions.
V Conclusion
An inversion-free method was introduced for evaluation of the smallest perturbation within the MoM. It makes it possible to preserve the binary nature of the shape synthesis problem, furthermore improving the convergence rate and robustness of the optimization method. The reconstruction of the structure was derived using the Sherman-Morrison-Woodbury identity.
A greedy algorithm used on topology sensitivity was employed to demonstrate the capability to gather millions of evaluated shapes per minute. To this end, the presented method can be utilized as a local step in global optimization schemes. When randomly restarted, it can also serve as a data mining tool or as a building block for machine learning techniques aimed at shape/pattern synthesis.
The letter also stimulates further development. It is inevitable that a study of the dependence of the method on the number of unknowns and the type of mesh grid will be required. Another important question to be discussed concerns the multi-objective formulation and the proposal of a hybrid optimization algorithm based on a combination of a heuristic approach and topology sensitivity.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] E. Lawler, Combinatorial Optimization: Networks and Matroids . Mineola, New York, United States: Dover, 2011.
- 2[2] Y. Rahmat-Samii and E. Michielssen, Eds., Electromagnetic Optimization by Genetic Algorithm . Wiley, 1999.
- 3[3] M. P. Bendsoe and O. Sigmund, Topology Optimization , 2nd ed. Berlin, Germany: Springer, 2004.
- 4[4] S. Liu, Q. Wang, and R. Gao, “Mo M-based topology optimization method for planar metallic antenna design,” Acta Mechanica Sinica , vol. 32, no. 6, pp. 1058–1064, Dec. 2016.
- 5[5] G. Deschamps and H. Cabayan, “Antenna synthesis and solution of inverse problems by regularization methods,” IEEE Transactions on Antennas and Propagation , vol. 20, no. 3, pp. 268–274, May 1972. [Online]. Available: https://doi.org/10.1109/tap.1972.1140197 · doi ↗
- 6[6] D. Simon, Evolutionary Optimization Algorithms . John John Wiley & Sons, 2013.
- 7[7] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning . The MIT Press, 2016.
- 8[8] M. Capek, L. Jelinek, and M. Gustafsson, “Shape synthesis based on topology sensitivity,” 2019, to appear in IEEE Trans. AP. [Online]. Available: https://arxiv.org/abs/1808.02479
