# SwitchNet: a neural network model for forward and inverse scattering problems

We propose a novel neural network architecture, SwitchNet, for solving the wave equation based inverse scattering problems via providing maps between the scatterers and the scattered field (and vice versa). The main difficulty of using a neural network for this problem is that a scatterer has a global impact on the scattered wave field, rendering typical convolutional neural network with local connections inapplicable. While it is possible to deal with such a problem using a fully connected network, the number of parameters grows quadratically with the size of the input and output data. By leveraging the inherent low-rank structure of the scattering problems and introducing a novel switching layer with sparse connections, the SwitchNet architecture uses much fewer parameters and facilitates the training process. Numerical experiments show promising accuracy in learning the forward and inverse maps between the scatterers and the scattered wave field.

Comments

There are no comments yet.

## Authors

• 11 publications
• 44 publications
• ### Solving Inverse Wave Scattering with Deep Learning

This paper proposes a neural network approach for solving two classical ...
11/27/2019 ∙ by Yuwei Fan, et al. ∙ 0

read it

• ### Reduced Order Model Approach to Inverse Scattering

We study an inverse scattering problem for a generic hyperbolic system o...
10/29/2019 ∙ by Liliana Borcea, et al. ∙ 0

read it

• ### Solving Electrical Impedance Tomography with Deep Learning

This paper introduces a new approach for solving electrical impedance to...
06/06/2019 ∙ by Yuwei Fan, et al. ∙ 0

read it

• ### Fast Fitting of Reflectivity Data of Growing Thin Films Using Neural Networks

X-ray reflectivity (XRR) is a powerful and popular scattering technique ...
10/07/2019 ∙ by Alessandro Greco, et al. ∙ 0

read it

• ### Extracting Electron Scattering Cross Sections from Swarm Data using Deep Neural Networks

Electron-neutral scattering cross sections are fundamental quantities in...
11/30/2020 ∙ by Vishrut Jetly, et al. ∙ 0

read it

• ### Neural network augmented wave-equation simulation

Accurate forward modeling is important for solving inverse problems. An ...
09/27/2019 ∙ by Ali Siahkoohi, et al. ∙ 14

read it

• ### Accurate and Robust Deep Learning Framework for Solving Wave-Based Inverse Problems in the Super-Resolution Regime

We propose an end-to-end deep learning framework that comprehensively so...
06/02/2021 ∙ by Matthew Li, et al. ∙ 0

read it

##### This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

## 1. Introduction

In this paper, we study the forward and inverse scattering problems via the use of artificial neural networks (NNs). In order to simplify the discussion, we focus on the time-harmonic acoustic scattering in two dimensional space. The inhomogeneous media scattering problem with a fixed frequency is modeled by the Helmholtz operator

 (1) Lu:=(−Δ−ω2c2(x))u,

where is the velocity field. In many settings, there exists a known background velocity field such that is identical to except in a compact domain . By introducing the scatterer compactly supported in

 (2) ω2c(x)2=ω2c0(x)2+η(x),

we can equivalently work with instead of . Note that in this definition scales quadratically with the frequency . However, as is assumed to be fixed throughout this paper, this scaling does not affect any discussion below.

In many real-world applications, is unknown. The task of the inverse problem is to recover based on some observation data . The observation data is often a quantity derived from the Green’s function of the Helmholtz operator and, therefore, it depends closely on . This paper is an exploratory attempt of constructing efficient approximations to the forward map and the inverse map

using the modern tools from machine learning and artificial intelligence. Such approximations are highly useful for the numerical solutions of the scattering problems: an efficient map

provides an alternative to expensive partial differential equation (PDE) solvers for the Helmholtz equation; an efficient map

is more valuable as it allows us to solve the inverse problem of determining the scatterers from the scattering field, without going through the usual iterative process.

In the last several years, deep neural network has become the go-to method in computer vision, image processing, speech recognition and many other machine learning applications

[18, 28, 12, 9]. More recently, methods based on NN have also been applied to solving PDEs. Based on the way that the NN is used, these methods for solving the PDE can be roughly separated into two different categories. For the methods in the first category [16, 27, 3, 10, 14, 6], instead of specifying the solution space via the choice of basis (as in finite element method or Fourier spectral method), NN is used for representing the solution. Then an optimization problem, for example an variational formulation, is solved in order to obtain the parameters of the NN and hence the solution to the PDE. Similar to the use of an NN for regression and classification purposes, the methods in the second category such as [23, 11, 13, 8] use an NN to learn a map that goes from the coefficients in the PDE to the solution of the PDE. As in machine learning, the architecture design of an NN for solving PDE usually requires the incorporation of the knowledge from the PDE domain such that the NN architecture is able to capture the behavior of the solution process. Despite the abundance of the works in using the NN for solving PDE, none of the above mentioned methods have tried to obtain the solution to the wave equation.

This paper takes a deep learning approach to learn both the forward and inverse maps. For the Helmholtz operator (

1), we propose an NN architecture for determining the forward and inverse maps between the scatterer and the observation data

generated from the scatterer. Although this task looks similar to the computer vision problems such as image segmentation, denoising, and super-resolution where the map between the two images has to be determined, the nature of the map in our problem is much more complicated. In many image processing tasks, the value of a pixel at the output generally only depends on a neighborhood of that pixel at the input layer. However, for the scattering problems, the input and output are often defined on different domains and, due to wave propagation, each location of the scatterer can influence every point of the scattered field. Therefore, the connectivity in the NN has to be wired in a non-local fashion, rendering typical NN with local connectivity insufficient. This leads to the development of the proposed

SwitchNet. The key idea is the inclusion of a novel low-complexity switch layer that sends information between all pairs of sites effectively, following the ideas from butterfly factorizations [21]. The same factorization was used earlier in the architecture proposed [19], but the network weights there are hardcoded and not trainable.

The paper is organized as followed. In Section 2, we discuss about some preliminary results concerning Helmholtz equation. In Section 3, we study the so called far field pattern of the scattering problem, where the sources and receivers can be regarded as placed at infinity. We propose SwitchNet to determine the maps between the far field scattering pattern and the scatterer. In Section 4, we turn to the setting of a seismic imaging problem. In this problem, the sources and receivers are at a finite distance, but yet well-separated from the scatterer.

## 2. Preliminary

The discussion of this paper shall focus on the two-dimensional case. Here, we summarize the mathematical tools and notations used in this paper. As mentioned above, the scatterer is compactly supported in a domain , whose diameter is of . For example, one can think of to be the unit square centered at the origin. In (1), the Helmholtz operator is defined on the whole space with the radiative (Sommerfeld) boundary condition [5] specified at infinity. Since the scatterer field is localized in , it is convenient to truncate the computation domain to by imposing the perfectly matched layer [1] that approximates the radiative boundary condition.

In a typical numerical solution of the Helmholtz operator, is discretized by a Cartesian grid at the rate of a few points per wavelength. As a result, the number of grid points per dimension is proportional to the frequency . We simply use to denote the discretization points of this grid . The Laplacian operator in the Helmholtz operator is typically discretized with local numerical schemes, such as the finite difference method [17]. Via this discretization, we can consider the scatterer field , discretized at the points in

, as a vector in

and the Helmholtz operator as a matrix in .

Using the background velocity field , we first introduce the background Helmholtz operator . With the help of , one can write in a perturbative way as

 (3) L=L0−E,E=diag(η),

where is viewed as a perturbation. By introducing the background Green’s function

 (4) G0:=L−10,

one can write down a formal expansion for the Green’s function of the -dependent Helmholtz operator :

 (5) G = (L0(I−G0E))−1 (6) ∼ (I+G0E+G0EG0E+⋯)G0 (7) ∼ G0+G0EG0+G0EG0EG0+⋯ (8) := G0+G1+G2+⋯,

which is valid when the scatterer field is sufficiently small. The last line of the above equation serves as the definition of the successive terms of the expansion (, , and so on). As can be computed from the knowledge of the background velocity field , most data gathering processes (with appropriate post-processing) focus on the difference instead of itself.

A usual experimental setup consists of a set of sources and a set of receivers :

 S={s}s∈S,R={r}r∈R.

The data gathering process usually involves three steps: (1) impose an external force or incoming wave field via some sources, (2) solve for the scattering field either computationally or physically, (3) gather the data with receivers at specific locations or directions. The second step is modeled by the difference of the Green’s function , as we mentioned above. As for the other steps, it is convenient at this point to model the first step with a source-dependent operator and the third one with a receiver-dependent operator . We shall see later how these operators are defined in more concrete settings. By putting these components together, one can set the observation data abstractly as

 (9) d=ΠR(G−G0)ΠS=ΠR(G0EG0+G0EG0EG0+⋯)ΠS=(ΠRG0)(E+EG0E+⋯)(G0ΠS).

In this paper, we focus on two scenarios: far field pattern and seismic imaging. We start with far field pattern first to motivate and introduce SwitchNet. We then move on to the seismic case by focusing on the main differences.

## 3. SwitchNet for far field pattern

### 3.1. Problem setup

In this section, we consider the problem of determining the map from the scatterer to the far field scattering pattern, along with its inverse map. Without loss of generality, we assume that the diameter of the domain is of after appropriate rescaling. The background velocity is assumed to be 1 since the far field pattern experiments are mostly performed in free space.

In this problem, both the sources and the receivers are indexed by a set of unit directions in . The source associated with a unit direction is an incoming plane waves pointing at direction . It is well known that the scattered wave field, denoted by , at a large distance takes the following form [5]

 us(x)=eiω|x|√|x|(u∞s(x|x|)+o(1)),

where the function is defined on the unit circle . The receiver at direction simply records the quantity for each . The set of observation data is then defined to be

 d(rs)=u∞s(r).

Figure 1 provides an illustration of this experimental setup. Henceforth, we assume that both and

are chosen to be a set of uniformly distributed directions on

. Their size, denoted by , typically scales linearly with frequency .

This data gathering process can be put into the framework of (9). First, one can think of the source prescription as a limiting process that produces in the limit the incoming wave . The source can be considered to be located at the point for the direction with the distance going to infinity. In order to compensate the geometric spreading of the wave field and also the phase shift, the source magnitude is assumed to scale like as goes to infinity. Under this setup, we have

 (10) limρ→∞(G0ΠS)(x,s) (11) = limρ→∞(1/√ρ)eiω|x−(−sρ)|√ρe−iωρ (12) = limρ→∞(1/√ρ)eiω(ρ+s⋅x)√ρe−iωρ (13) = eiωs⋅x.

Similarly, one can also regard the receiver prescription as a limiting process as well. The receiver is located at point for a fixed unit direction with going to infinity. Again in order to to compensate the geometric spreading and the phase shift, one scales the received signal with . As a result, we have

 (14) limρ′→∞(ΠRG0)(r,x) (15) = limρ′→∞(1/√ρ′)eiω|rρ′−x|√ρ′e−iωρ′ (16) = limρ′→∞(1/√ρ′)eiω(ρ′−r⋅x)√ρ′e−iωρ′ (17) = e−iωr⋅x.

In this limiting setting, one redefine the observation data as

 (18) d=limρ,ρ′→∞(ΠRG0)(E+EG0E+⋯)(G0ΠS).

Now taking the two limits (10) and (14) under consideration, one arrives at the following representation of the observation data for and

 (19) d(r,s)=∑x∈X∑y∈Xe−iωr⋅x(E+EG0E+⋯)(x,y)eiωs⋅y.

### 3.2. Low-rank property

The intuition behind the proposed NN architecture comes from examining (19) when (or ) is small. In such a situation, we simply retain the term that is linear in . Using the fact that , (19) becomes

 d(r,s)≈∑x∈Xeiω(s−r)⋅xη(x)

for and . This linear map takes defined on a Cartesian grid to defined on yet another Cartesian grid . Recalling that both and are of size and working with a vectorized , we can write the above equation compactly as

 (20) d≈Aη,

where the element of the matrix at and is given by

 (21) A(rs,x)=exp(iω(s−r)⋅x).

The following theorem concerning the matrix plays a key role in the design of our NN. Let us first partition uniformly into Cartesian squares of side-length equal to . Here we assume that is an integer. Note that, since the diameter of is of , . This naturally partitions the set of grid points into subgroups depending on which square each point belongs to. We shall denote these subgroups by . Similarly, we also partition uniformly (in the angular parameterization) into squares of side-length equal to . is also assumed to be an integer and obviously . This further partitions the set into subgroups depending on which square they belong to. We shall denote these subgroups by . Fig. 2 illustrates the partition for .

###### Theorem 1.

For any and , the submatrix

 (22) Aij:=[A(rs,x)](r,s)∈Di,x∈Xj

is numerically low-rank.

###### Proof.

The proof of this theorem follows the same line of argument in [2, 29, 20] and below we outline the key idea. Denote the center of by and the center of by . For each and , we write

 (23)

Note that for fixed and each of the last three terms is either a constant or depends only on or . As a result, is numerically low-rank if and only if the first term is so. Such a low-rank property can be derived from the conditions concerning the side-lengths of and . More precisely, since resides in with center , then

 (24) |(s−r)−(si−ri)|≤1√ω.

Similarly as resides in with center , then

 (25) |x−xj|≤1√ω.

Multiplying these two estimates results in the estimate

 (26) ω|((s−r)−(si−ri))⋅(x−xj))|≤1

for the phase of . Therefore,

 (27) exp(iω((s−r)−(si−ri))⋅(x−xj))

for or

is non-oscillatory and hence can be approximated effectively by applying, for example, Chebyshev interpolation in both the

and variables. Since the degree of the Chebyshev polynomials only increases poly-logarithmically with respect to the desired accuracy, is numerically low-rank by construction. This proves that the submatrix defined in (22) is also numerically low-rank. ∎

### 3.3. Matrix factorization

In this subsection, we show that Theorem 1 guarantees a low-complexity factorization of the matrix . Let the row and column indices of be partitioned into index sets and , respectively, as in Theorem 1. To simplify the presentation, we assume , , and .

Since the submatrix

 Aij:=[A(rs,x)]rs∈Di,x∈Xj

is numerically low-rank, assume that

 (28) Aij≈UijV∗ij,

where and . Here can be taken to be the maximum of the numerical ranks of all submatrices . Theorem 1 implies that is a small constant.

By applying (28) to each block , can be approximated by

 (29) ⎡⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢⎣U00V∗00U01V∗01⋯U0(P−1)V∗0(P−1)U10V∗10U11V∗11⋯U1(P−1)V∗1(P−1)⋮⋱⋮U(P−1)0V∗(P−1)0U(P−1)1V∗(P−1)1⋯U(P−1)(P−1)V∗(P−1)(P−1)⎤⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦.

The next step is to write (29) into a factorized form. First, introduce and

 (30) Ui=[Ui0,Ui1,⋯,Ui(P−1)]∈CM2/P×tP,Vj=[V0j,V1j,⋯,V(P−1)j]∈CN2/P×tP,

and define in addition

 (31)

In addition, introduce

 (32) Σ=⎡⎢ ⎢ ⎢ ⎢ ⎢ ⎢⎣Σ00Σ01⋯Σ0(P−1)Σ10Σ11⋯Σ1(P−1)⋮⋱⋮Σ(P−1)0Σ(P−1)1⋯Σ(P−1)(P−1)⎤⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦∈CP2t×P2t,

where the submatrix itself is a block matrix with blocks of size .

is defined to be zero everywhere except being the identity matrix at the

-th block. In order to help understand the NN architecture discussed below sections, it is imperative to understand the meaning of . Let us assume for simplicity that . Then for an arbitrary vector , essentially performs a “switch” that shuffles as follows

 (33) (Σz)(jP+i)=z(iP+j),i,j=0,…,P−1.

With the above definitions for , , and , the approximation in (29) can be written compactly as

 (34) A≈UΣV∗.

Notice that although has entries, using the factorization (34), can be stored using entries. In this paper, and and are typically on the same order. Therefore, instead of , one only needs entries to parameterize the map approximately using (34). Such a factorization is also used in [21] for the compression of Fourier integral operators.

We would like to comment on another property that may lead to further reduction in the parameters used for approximating . Let us focus on any two submatrices and of . For two regions and , where the center of and are and respectively, . Let . For and , we have

 (35) exp(iω(s−r)⋅x) = g1(r,s)h((r,s),x), (36) exp(iω(s−r)⋅x′) = g2(r,s)h((r,s),x),

where

 (37) g1(r,s)=exp(iω(s−r)⋅xj),g2(r,s)=exp(iω(s−r)⋅xk),h((r,s),x)=exp(iω(s−r)⋅(x−xj)).

Therefore, the low-rank factorizations of and are solely determined by the factorization of . This implies that it is possible to construct low-rank factorizations for and :

 (38) Aij≈UijV∗ij,Aik≈UikV∗ik,

such that . Since this is true for all possible , one can pick low-rank factorizations so that .

As a final remark in this section, this low complexity factorization (34) for can be easily converted to one for since

 (39) A∗≈VΣ∗U∗,

where are provided in (30), (31), and (32).

### 3.4. Neural networks

Based on the low-rank property of in Section 3.2 and its low-complexity factorization in Section 3.3, we propose new NN architectures for representing the inverse map and the forward map .

#### 3.4.1. NN for the inverse map d→η.

As pointed out earlier, when is sufficiently small. The usual filtered back-projection algorithm [25] solves the inverse problem via

 (40) η≈(A∗A+ϵI)−1A∗d,

where is the regularization parameter. In the far field pattern problem, can be understood as a deconvolution operator. To see this, a direct calculation reveals that

 (41) (A∗A)(x,y)=∑rs∈R×Seiω(s−r)⋅ye−iω(s−r)x=∑rs∈R×Se−iω(s−r)(x−y)

for . (41) shows that is a translation-invariant convolution operator. Therefore, the operator , as a regularized inverse of , simply performs a deconvolution. In summary, the above discussion shows that in order to obtain from the scattering pattern in the regime of small , one simply needs to apply sequentially to

• the operator ,

• a translation-invariant filter that performs the deconvolution .

Although these two steps might be sufficient when is small, a nonlinear solution is needed when is not so. For this purpose, we propose a nonlinear neural network SwitchNet for the inverse map. There are two key ingredients in the design of SwitchNet.

• The first key step is the inclusion of a Switch layer that sends local information globally, as depicted in Figure 4. The structure of the Switch layer is designed to mimic the matrix-vector multiplication of the operator in (29). However unlike the fixed coefficients in (29), as an NN layer, the Switch layer allows for tunable coefficients and learns the right values for the coefficients from the training data. This gives the architecture a great deal of flexibility.

• The second key step is to replace the linear deconvolution in the back-projection algorithm with a few convolution (Conv) layers. This enriches the architecture with nonlinear capabilities when approximating the nonlinear inverse map.

The pseudo-code for SwitchNet is summarized in Algorithm 1. The input is a matrix, while the output is a matrix. The first three steps of Algorithm 1 mimics the application of the operator . The Switch layer does most of the work, while the Vect and Square layers are simply operations that reshape the input and output data to the correct matrix form at the beginning and the end of the Switch layer. In particular, Vect groups the entries of the 2D field according to squares defined by the partition and Square does the opposite. The remaining lines of Algorithm 1 simply apply the Conv layers with window size and channel number .

These basic building blocks of SwitchNet are detailed in the following subsection. We also take the opportunity to include the details of the pointwise multiplication PM layer that will be used in later on.

#### 3.4.2. Layers for SwitchNet

In this section we provide the details for the layers that are used in SwitchNet. Henceforth, we assume that the entries of a tensor is enumerated in the Python convention, i.e., going through the dimensions from the last one to the first. One operation that will be used often is a

reshape, in which a tensor is changed to a different shape with the same number of entries and with the enumeration order of the entries kept unchanged.

Vectorize layer. with input . Henceforth we assume that is an integer and divides . This operation partitions into square sub-blocks of equal size. Then each sub-block is vectorized, and the vectorized sub-blocks are stacked together as a vector in . Intuitively, these operations cluster the nearby entries in a sub-block together. The details of the Vect layer are given in the following:

• Reshape the to a tensor.

• Swap the second and the third dimensions to get a tensor.

• Reshape the result to an vector and set it to .

Square layer. with input , where is an integer. The output is . Essentially as the adjoint operator of the Vect layer, this layer fills up each square sub-block of the matrix with a segment of entries in . The details are given as followed:

• Reshape the to a tensor.

• Swap the second and the third dimensions to get a tensor.

• Reshape the result to an matrix and set it to .

Switch layer. with input . It is assumed that and are integer multiples of and , respectively. This layer consists the following steps.

• Apply to :

 UT=⎡⎢ ⎢ ⎢⎣UT0⋱UTPI−1⎤⎥ ⎥ ⎥⎦,UT0,…,UTPI−1∈CtPO×nIPI
• Reshape to be a tensor. Here we follow the Python convention of going through the dimensions from the last one to the first one. Then a permutation is applied to swap the first two dimensions to obtain a tensor of size . Finally, the result is reshaped to a vector again going through the dimensions from the last to the first.

• Apply to :

 zO=Vz2∈RnO, V=⎡⎢ ⎢ ⎢⎣V0⋱VPO−1⎤⎥ ⎥ ⎥⎦,V0,…,VPO−1∈CnOPO×tPI.

Here the non-zero entries of are the trainable parameters. The Switch layer is illustrated in Figure 4.

Convolution layer. with input . Here denote the input and output channel numbers and

denotes the window size. In this paper we only use the convolution layer with stride 1 and with zero-padding:

 (43) zO(k1,k2,k3) = ReLU(min(n−1,k1+w−12)∑l1=max(0,k1−w−12)min(n−1,k2+w−12)∑l2=max(0,k2−w−12)cI−1∑l3=0 W(l1−k1+w−12,l2−k2+w−12,l3,k3)zI(l1,l2,l3)+b(k3))

with . Here and

is assumed to be odd in the presentation. Both

and are the trainable parameters.

Pointwise multiplication layer. with input . It is defined as

 (44) zO(k1,k2)=W(k1,k2)zI(k1,k2)+b(k1,k2),

. Both and are trainable parameters.

We remark that, among these layers, the Switch layer has the most parameters. If the input and output to the Switch layer both have size , the number of parameter is where is the number of squares that partition the input field and is the rank of the low-rank approximation.

#### 3.4.3. NN for the forward map η→d.

We move on to discuss the parameterization of the forward map . The proposal is based on the simple observation that the inverse of the inverse map is the forward map.

More precisely, we simply reverse the architecture of the inverse map proposed in Algorithm 1. This results in an NN presented Algorithm 2. The basic architecture of this NN involves applying a few layers of Conv first, then followed by a Switch layer that mimics .

We would also like to mention yet another possibility to parameterize the forward map

, via a recurrent neural network

[24]. Let

 (45) Eeff=E+EG0E+EG0EG0E+⋯=:E1+E2+E3+⋯.

One can leverage the following recursion

 (46) Ek+1=EG0Ekk=1,2,…K

to approximate by treating each as an image and using a recurrent neural network. At the -th level of the recurrent neural network, it takes and as inputs and outputs . More specifically, in order to go from to , one first apply to each column of the image , then each row of the image is reweighted by the diagonal matrix . Stopping at the -th level for a sufficiently large , can be approximated by

 (47) Eeff≈K+1∑i=1Ei.

Once holding such an approximation to , we plug it into (19)

 (48) d(r,s)=∑x∈X∑y∈Xeiωr⋅xEeff(x,y)e−iωs⋅y=∑x∈Xeiωr⋅x(∑y∈XEeff(x,y)e−iωs⋅y).

This shows that the map from to can be realized by applying a matrix product to first on the -dimension, then on the -dimension. If we view applying the Green’s function as applying a convolution layer in an NN, the above discussion shows that the forward map can be obtained by first applying a recurrent NN followed by a convolutional NN. The main drawback of this approach is the large memory requirement (i.e., ) to store each individual . In addition, the use of a recurrent NN may lead to difficulty in training [26] due to the issue of exploding or vanishing gradient. Moreover, since the weights for parameterizing are shared over multiple layers in the recurrent NN, one might not be able to efficiently use back-propagation, which may lead to a longer training time. These are the main reasons why we decided to adopt the approach in Algorithm 2.

### 3.5. Numerical results

In this section, we present numerical results of SwitchNet for far field pattern at a frequency . The scatterer field supported in is assumed to be a mixture of Gaussians

 (49) ns∑i=1βexp(−|x−ci|22σ2)

where and . When preparing the training and testing examples, the centers of the Gaussians are chosen to be uniformly distributed within . The number of the Gaussians in the mixture is set to vary between and . In the numerical experiments, the domain is discretized by an Cartesian grid . To discretize the source and receiver directions, we set both and to be a set of 80 equally spaced unit directions on . Therefore in this example, .

In Algorithm 1, the parameters are specified as (rank of the low-rank approximation), , , (window size of the convolution layers), (channel number of the convolution layers), and (number of convolution layers), resulting 3100K number of parameters. The parameters for Algorithm 2 are chosen to be , , , , , and , with a total of 4200K parameters. Note that for both algorithms the number of parameters is significantly less than the one of a fully connected NN, which has at least K parameters.

SwitchNet is trained with the ADAM optimizer [15]

in Keras

[4]

with a step size of 0.002 and a mini-batch size of size 200. The optimization is run for 2500 epochs. Both the training and testing data sets are obtained by numerically solving the forward scattering problem with an accurate finite difference scheme with a perfectly matched layer. In the experiment, 12.5K pairs of

are used for training, and another 12.5K pairs are reserved for testing. The errors are reported using the mean relative errors

 (50) 1NtestNtest∑i=1∥dNNi−di∥F∥di∥F,1NtestNtest∑i=1∥ηNNi−ηi∥F∥ηi∥F,

where and denote the predicted and ground truth scattering patterns respectively for the -th testing sample, and and denote the predicted and ground truth scatterer field respectively. Here is the Frobenius norm.

Table 1 summarizes the test errors for Gaussian mixtures with different choices of . For the purpose of illustration, we show the predicted and by SwitchNet along with the ground truth in Figure 5 for one typical test sample.

## 4. SwitchNet for seismic imaging

### 4.1. Problem setup

This section considers a two-dimensional model problem for seismic imaging. The scatterer is again assumed to be supported in a domain with an diameter, after appropriate rescaling. is discretized with a Cartesian grid at the rate of at least a few point per wavelength. Compared to the source and receiver configurations in Section 3.1, the experiment setup here is simpler. One can regard both and to be equal to a set of uniformly sampled points along a horizontal line near the top surface of the domain. The support of is at a certain distance below the top surface so that it is well-separated from the sources and the receivers (see Figure 6 for an illustration of this configuration).

The source and receiver operators in (9) take a particularly simple form. For the sources, the operator is simply given by sampling:

 (G0ΠS)(x,s)=G0(x,s).

Similarly for the receivers, the operator is given by

 (ΠRG0)(r,y)=G0(r,y).

After plugging these two formulas back into (9), one arrives at the following representation of the observation data for and

 d(r,s)=∑x∈X∑y∈XG0(r,x)(E+EG0E+⋯)(x,y)G0(y,s).

### 4.2. Low-rank property

Following the approach taken in Section 3.2, we start with the linear approximation under the assumption that is weak. Since