Implicit Neural Representations with Periodic Activation Functions | AGIDaily
AGI Daily
资讯日报词条论文人物新创
返回论文列表
1 引言2 相关工作3 问题表述3.1 用于隐式神经表示的周期激活3.2 激活与频率的分布,以及一套有原理依据的初始化方案4 实验4.1 求解泊松方程4.2 用符号距离函数表示形状4.3 求解亥姆霍兹方程和波动方程4.4 学习隐式函数空间5 讨论与结论更广泛的影响致谢与资助声明
返回论文列表
目录

Implicit Neural Representations with Periodic Activation Functions

收录于 NeurIPS 2020 会议论文被引 4,643 次
打开论文来源

Implicit Neural Representations with Periodic Activation Functions

Vincent Sitzmann∗  Julien N. P. Martel∗  Alexander W. Bergman
sitzmann@cs.stanford.edu  jnmartel@stanford.edu  awb@stanford.edu
David B. Lindell  Gordon Wetzstein
lindell@stanford.edu  gordon.wetzstein@stanford.edu
Stanford University
vsitzmann.github.io/siren/

∗These authors contributed equally to this work.

34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, Canada.

Abstract

摘要

Implicitly defined, continuous, differentiable signal representations parameterized by neural networks have emerged as a powerful paradigm, offering many possible benefits over conventional representations. However, current network architectures for such implicit neural representations are incapable of modeling signals with fine detail. They also fail to accurately model spatial and temporal derivatives, which is necessary to represent signals defined implicitly by differential equations. We propose to leverage periodic activation functions for implicit neural representations and demonstrate that these networks, dubbed sinusoidal representation networks or SIRENs, are ideally suited for representing complex natural signals and their derivatives. We analyze SIREN activation statistics to propose a principled initialization scheme and demonstrate the representation of images, wavefields, video, sound, three-dimensional shapes, and their derivatives. Further, we show how SIRENs can be leveraged to solve challenging boundary value problems, such as particular Eikonal equations (yielding signed distance functions), the Poisson equation, and the Helmholtz and wave equations. Lastly, we combine SIRENs with hypernetworks to learn priors over the space of SIREN functions. Please see the project website for a video overview of the proposed method and all applications.

由神经网络参数化、隐式定义的连续可微信号表示,已经成为一种有力的范式,相对传统表示可能带来诸多好处。不过,目前用于这类隐式神经表示的网络架构,还无法对带精细细节的信号建模。它们也难以准确建模空间和时间导数,而要表示由微分方程隐式定义的信号,这一点又是必要的。我们提出把周期激活函数用于隐式神经表示,并表明这类网络——称为正弦表示网络(sinusoidal representation networks)或 SIREN——非常适合表示复杂的自然信号及其导数。我们分析 SIREN 的激活统计,据此给出一套有原理依据的初始化方案,并展示对图像、波场、视频、声音、三维形状及其导数的表示。进一步地,我们说明如何用 SIREN 求解有挑战性的边值问题,例如特定的 Eikonal 方程(得到符号距离函数)、泊松方程,以及亥姆霍兹方程和波动方程。最后,我们把 SIREN 与超网络结合,在 SIREN 函数空间上学习先验。方法与全部应用的视频概览见项目主页。

1 Introduction

1 引言

We are interested in a class of functions Φ\PhiΦ that satisfy equations of the form:

我们关心一类满足如下形式方程的函数 Φ\PhiΦ:

C(x,Φ,∇xΦ,∇x2Φ,…)=0,Φ:x↦Φ(x).(1)C\left(x, \Phi, \nabla_x \Phi, \nabla_x^2 \Phi, \ldots\right) = 0, \qquad \Phi: x \mapsto \Phi(x). \tag{1}C(x,Φ,∇x​Φ,∇x2​Φ,…)=0,Φ:x↦Φ(x).(1)

In this implicit problem formulation, a functional CCC takes as input the spatial or spatio-temporal coordinates x∈Rmx \in \mathbb{R}^mx∈Rm and, optionally, derivatives of Φ\PhiΦ with respect to these coordinates. Our goal is then to learn a neural network that parameterizes Φ\PhiΦ to map xxx to some quantity of interest while satisfying the constraint presented in Equation (1). Thus, Φ\PhiΦ is implicitly defined by the relation modeled by CCC and we refer to neural networks that parameterize such implicitly defined functions as implicit neural representations. As we show in this paper, a surprisingly wide variety of problems across scientific fields fall into this form, such as modeling many different types of discrete signals in image, video, and audio processing using a continuous and differentiable representation, learning 3D shape representations via signed distance functions [1–4], and, more generally, solving boundary value problems, such as the Poisson, Helmholtz, or wave equations.

在这一隐式问题表述中,泛函 CCC 的输入是空间或时空坐标 x∈Rmx \in \mathbb{R}^mx∈Rm,以及(可选的)Φ\PhiΦ 对这些坐标的导数。我们的目标是学习一个参数化 Φ\PhiΦ 的神经网络,把 xxx 映射到所关心的量,同时满足公式 (1) 中的约束。因此,Φ\PhiΦ 由 CCC 所刻画的关系隐式定义;我们把参数化这类隐式定义函数的神经网络称为隐式神经表示。如本文所示,科学领域中出人意料地广泛的一类问题都可以写成这种形式,例如用连续可微表示来建模图像、视频和音频处理中的多种离散信号,借助符号距离函数学习三维形状表示 [1–4],以及更一般地求解边值问题,如泊松方程、亥姆霍兹方程或波动方程。

A continuous parameterization offers several benefits over alternatives, such as discrete grid-based representations. For example, due to the fact that Φ\PhiΦ is defined on the continuous domain of xxx, it can be significantly more memory efficient than a discrete representation, allowing it to model fine detail that is not limited by the grid resolution but by the capacity of the underlying network architecture. As an example, we show how our SIREN architecture can represent complex 3D shapes with networks using only a few hundred kilobytes whereas naive mesh representations of the same datasets require hundreds of megabytes.

相对离散网格表示等替代方案,连续参数化有若干好处。例如,由于 Φ\PhiΦ 定义在 xxx 的连续域上,它往往比离散表示节省得多的内存,从而可以刻画精细细节——这些细节不受网格分辨率限制,而受底层网络架构容量限制。作为例子,我们展示 SIREN 架构可以用只有几百千字节的网络表示复杂的三维形状,而同一批数据的朴素网格表示则需要几百兆字节。

Being differentiable implies that gradients and higher-order derivatives can be computed analytically, for example using automatic differentiation, which again makes these models independent of conventional grid resolutions. Finally, with well-behaved derivatives, implicit neural representations may offer a new toolbox for solving inverse problems, such as differential equations.

可微意味着梯度和高阶导数可以解析计算,例如用自动微分,这再次使这些模型不必依赖传统的网格分辨率。最后,如果导数性态良好,隐式神经表示有望为求解逆问题(例如微分方程)提供一套新工具。

For these reasons, implicit neural representations have seen significant research interest over the last year (Sec. 2). Most of these recent representations build on ReLU-based multilayer perceptrons (MLPs). While promising, these architectures lack the capacity to represent fine details in the underlying signals, and they typically do not represent the derivatives of a target signal well. This is partly due to the fact that ReLU networks are piecewise linear, their second derivative is zero everywhere, and they are thus incapable of modeling information contained in higher-order derivatives of natural signals. While alternative activations, such as tanh or softplus, are capable of representing higher-order derivatives, we demonstrate that their derivatives are often not well behaved and also fail to represent fine details.

出于这些原因,隐式神经表示在过去一年里受到了大量研究关注(第 2 节)。这些近期表示大多建立在基于 ReLU 的多层感知机(MLP)上。它们虽然有前景,却缺乏表示底层信号细部的能力,通常也难以很好地表示目标信号的导数。部分原因是:ReLU 网络是分段线性的,二阶导数处处为零,因而无法建模自然信号高阶导数中包含的信息。tanh 或 softplus 等替代激活虽然能够表示高阶导数,但我们表明,它们的导数往往性态不佳,同样无法表示细部。

To address these limitations, we leverage MLPs with periodic activation functions for implicit neural representations. We demonstrate that this approach is not only capable of representing details in the signals better than ReLU-MLPs, or positional encoding strategies proposed in concurrent work [5], but that these properties also uniquely apply to the derivatives, which is critical for many applications we explore in this paper.

为应对这些局限,我们把带周期激活函数的 MLP 用于隐式神经表示。我们表明,这一方法不但比 ReLU-MLP,或比同期工作提出的位置编码策略 [5],更能表示信号中的细节,而且这些性质还独特地适用于导数,而这对本文探讨的许多应用至关重要。

To summarize, the contributions of our work include:

概括起来,本文的贡献包括:

  • A continuous implicit neural representation using periodic activation functions that fits complicated signals, such as natural images and 3D shapes, and their derivatives robustly.
  • 一种使用周期激活函数的连续隐式神经表示,能够稳健地拟合自然图像、三维形状等复杂信号及其导数。
  • An initialization scheme for training these representations and validation that distributions of these representations can be learned using hypernetworks.
  • 一套用于训练这些表示的初始化方案,并验证可以用超网络学习这些表示的分布。
  • Demonstration of applications in image, video, and audio representation; 3D shape reconstruction; solving first-order differential equations to estimate a signal from its gradients; and solving second-order differential equations.
  • 在图像、视频和音频表示,三维形状重建,求解一阶微分方程以由梯度估计信号,以及求解二阶微分方程等方面给出应用演示。

2 Related Work

2 相关工作

Implicit neural representations. Recent work has demonstrated the potential of fully connected networks as continuous, memory-efficient implicit representations for shape parts [6, 7], objects [1, 4, 8, 9], or scenes [10–12]. These representations are typically trained from some form of 3D data as either signed distance functions [1, 4, 8–12] or occupancy networks [2, 13]. In addition to representing shape, some of these models have been extended to also encode object appearance [3, 5, 10, 14, 15], which can be trained using (multiview) 2D image data using neural rendering [16]. Temporally aware extensions [17] and variants that add part-level semantic segmentation [18] have also been proposed.

隐式神经表示。 近期工作已经表明,全连接网络可以作为连续、节省内存的隐式表示,用于形状部件 [6, 7]、物体 [1, 4, 8, 9] 或场景 [10–12]。这些表示通常从某种形式的三维数据训练,或者作为符号距离函数 [1, 4, 8–12],或者作为占用网络 [2, 13]。除了表示形状,其中一些模型还被扩展到同时编码物体外观 [3, 5, 10, 14, 15],可以用(多视图)二维图像数据经由神经渲染来训练 [16]。也有人提出了具有时间感知的扩展 [17],以及增加部件级语义分割的变体 [18]。

Periodic nonlinearities. Periodic nonlinearities have been investigated repeatedly over the past decades, but have so far failed to robustly outperform alternative activation functions. Early work includes Fourier neural networks, engineered to mimic the Fourier transform via single-hidden-layer networks [19, 20]. Other work explores neural networks with periodic activations for simple classification tasks [21–23], equation learning [24], and recurrent neural networks [25–29]. For such models, the training dynamics have been investigated [30], and it has been shown that they have universal function approximation properties [31–33]. Compositional pattern producing networks [34, 35] also leverage periodic nonlinearities, but rely on a combination of different nonlinearities via evolution in a genetic algorithm framework. Motivated by the discrete cosine transform, Klocek et al. [36] leverage cosine activation functions for image representation but they do not study the derivatives of these representations or other applications explored in our work. Inspired by these and other seminal works, we explore MLPs with periodic activation functions for applications involving implicit neural representations and their derivatives, and we propose principled initialization and generalization schemes.

周期非线性。 过去几十年里,周期非线性被反复研究过,但迄今未能稳健地超过其他激活函数。早期工作包括傅里叶神经网络,其设计是用单隐层网络去模仿傅里叶变换 [19, 20]。其他工作则把带周期激活的神经网络用于简单分类任务 [21–23]、方程学习 [24] 以及循环神经网络 [25–29]。对这类模型的训练动态已有研究 [30],并已证明它们具有万能函数逼近性质 [31–33]。组合模式生成网络 [34, 35] 也使用周期非线性,但依赖在遗传算法框架中通过进化来组合不同的非线性。受离散余弦变换启发,Klocek 等人 [36] 把余弦激活函数用于图像表示,但他们没有研究这些表示的导数,也没有讨论我们工作中的其他应用。受这些以及其他开创性工作的启发,我们探索带周期激活函数的 MLP,用于涉及隐式神经表示及其导数的应用,并给出有原理依据的初始化和泛化方案。

Neural DE Solvers. Neural networks have long been investigated in the context of solving differential equations (DEs) [37], and have previously been introduced as implicit representations for this task [38]. Early work on this topic involved simple neural network models, consisting of MLPs or radial basis function networks with few hidden layers and hyperbolic tangent or sigmoid nonlinearities [38–41]. The limited capacity of these shallow networks typically constrained results to 1D solutions or simple 2D surfaces. Modern approaches to these techniques leverage recent optimization frameworks and auto-differentiation, but use similar architectures based on MLPs. Still, solving more sophisticated equations with higher dimensionality, more constraints, or more complex geometries is feasible [42–45]. However, we show that the commonly used MLPs with smooth, non-periodic activation functions fail to accurately model high-frequency information and higher-order derivatives even with dense supervision.

神经微分方程求解器。 神经网络用于求解微分方程(DE)的研究由来已久 [37],此前也已被引入作为这一任务的隐式表示 [38]。早期工作采用简单的神经网络模型,由隐层很少的 MLP 或径向基函数网络构成,非线性为双曲正切或 sigmoid [38–41]。这些浅层网络容量有限,结果通常局限于一维解或简单的二维曲面。这些技术的现代方法借助了近期的优化框架和自动微分,但仍然使用基于 MLP 的类似架构。即便如此,求解维度更高、约束更多或几何更复杂的更精细方程也已可行 [42–45]。不过我们表明,常用的、带光滑非周期激活函数的 MLP,即使在密集监督下,也难以准确建模高频信息和高阶导数。

Neural ODEs [46] are related to this topic, but are very different in nature. Whereas implicit neural representations can be used to directly solve ODEs or PDEs from supervision on the system dynamics, neural ODEs allow for continuous function modeling by pairing a conventional ODE solver (e.g., implicit Adams or Runge-Kutta) with a network that parameterizes the dynamics of a function. The proposed architecture may be complementary to this line of work.

神经常微分方程(Neural ODE)[46] 与这一主题相关,但本质很不相同。隐式神经表示可以从对系统动力学的监督出发,直接求解常微分方程或偏微分方程;Neural ODE 则是把传统常微分方程求解器(例如隐式 Adams 或 Runge-Kutta)与一个参数化函数动力学的网络配对,从而做连续函数建模。本文提出的架构或许可以与这一方向互补。

3 Formulation

3 问题表述

Our goal is to solve problems of the form presented in Equation (1). We cast this as a feasibility problem, where a function Φ\PhiΦ is sought that satisfies a set of MMM constraints {Cm(a(x),Φ(x),∇Φ(x),...)}m=1M\{C_m(a(x), \Phi(x), \nabla\Phi(x), ...)\}_{m=1}^{M}{Cm​(a(x),Φ(x),∇Φ(x),...)}m=1M​, each of which relate the function Φ\PhiΦ and/or its derivatives to quantities a(x)a(x)a(x):

我们的目标是求解公式 (1) 所给出的那类问题。我们把它写成可行性问题:寻找满足一组 MMM 个约束 {Cm(a(x),Φ(x),∇Φ(x),...)}m=1M\{C_m(a(x), \Phi(x), \nabla\Phi(x), ...)\}_{m=1}^{M}{Cm​(a(x),Φ(x),∇Φ(x),...)}m=1M​ 的函数 Φ\PhiΦ,其中每个约束都把函数 Φ\PhiΦ 和/或其导数与量 a(x)a(x)a(x) 联系起来:

find Φ subject to Cm(a(x),Φ(x),∇Φ(x),…)=0,∀x∈Ωm,  m=1,…,M(2)\text{find }\Phi\text{ subject to }C_m\bigl(a(x), \Phi(x), \nabla\Phi(x), \ldots\bigr)=0, \quad \forall x\in\Omega_m,\; m=1,\ldots,M \tag{2}find Φ subject to Cm​(a(x),Φ(x),∇Φ(x),…)=0,∀x∈Ωm​,m=1,…,M(2)

This problem can be cast in a loss function that penalizes deviations from each of the constraints on their domain Ωm\Omega_mΩm​:

这个问题可以写成一个损失函数,在各个约束的定义域 Ωm\Omega_mΩm​ 上惩罚对约束的偏离:

L=∫Ω∑m=1M1Ωm(x) ∥Cm(a(x),Φ(x),∇Φ(x),…)∥ dx,(3)\mathcal{L}=\int_{\Omega}\sum_{m=1}^{M}\mathbf{1}_{\Omega_m}(x)\,\|C_m(a(x),\Phi(x),\nabla\Phi(x),\ldots)\|\,dx, \tag{3}L=∫Ω​m=1∑M​1Ωm​​(x)∥Cm​(a(x),Φ(x),∇Φ(x),…)∥dx,(3)

with the indicator function 1Ωm(x)=1\mathbf{1}_{\Omega_m}(x)=11Ωm​​(x)=1 when x∈Ωmx\in\Omega_mx∈Ωm​ and 000 when x∉Ωmx\notin\Omega_mx∈/Ωm​. In practice, the loss function is enforced by sampling Ω\OmegaΩ. A dataset D={(xi,ai(x))}i\mathcal{D}=\{(x_i,a_i(x))\}_iD={(xi​,ai​(x))}i​ is a set of tuples of coordinates xi∈Ωx_i\in\Omegaxi​∈Ω along with samples from the quantities a(xi)a(x_i)a(xi​) that appear in the constraints. Thus, the loss in Equation (3) is enforced on coordinates xix_ixi​ sampled from the dataset, yielding the loss

其中示性函数 1Ωm(x)\mathbf{1}_{\Omega_m}(x)1Ωm​​(x) 在 x∈Ωmx\in\Omega_mx∈Ωm​ 时为 111,在 x∉Ωmx\notin\Omega_mx∈/Ωm​ 时为 000。实践中,损失函数通过对 Ω\OmegaΩ 采样来施加。数据集 D={(xi,ai(x))}i\mathcal{D}=\{(x_i,a_i(x))\}_iD={(xi​,ai​(x))}i​ 是坐标 xi∈Ωx_i\in\Omegaxi​∈Ω 与约束中出现的量 a(xi)a(x_i)a(xi​) 的样本组成的元组集合。因此,公式 (3) 中的损失是在从数据集采样的坐标 xix_ixi​ 上施加的,得到损失

L~=∑i∈D∑m=1M1Ωm(x) ∥Cm(a(xi),Φ(xi),∇Φ(xi),…)∥.\tilde{\mathcal{L}}=\sum_{i\in\mathcal{D}}\sum_{m=1}^{M}\mathbf{1}_{\Omega_m}(x)\,\|C_m(a(x_i),\Phi(x_i),\nabla\Phi(x_i),\ldots)\|.L~=i∈D∑​m=1∑M​1Ωm​​(x)∥Cm​(a(xi​),Φ(xi​),∇Φ(xi​),…)∥.
In practice, the dataset D\mathcal{D}D is sampled dynamically at training time, approximating L\mathcal{L}L better as the number of samples grows, as in Monte Carlo integration.

L~=∑i∈D∑m=1M1Ωm(x) ∥Cm(a(xi),Φ(xi),∇Φ(xi),…)∥.\tilde{\mathcal{L}}=\sum_{i\in\mathcal{D}}\sum_{m=1}^{M}\mathbf{1}_{\Omega_m}(x)\,\|C_m(a(x_i),\Phi(x_i),\nabla\Phi(x_i),\ldots)\|.L~=i∈D∑​m=1∑M​1Ωm​​(x)∥Cm​(a(xi​),Φ(xi​),∇Φ(xi​),…)∥.
实践中,数据集 D\mathcal{D}D 在训练时动态采样,样本越多,对 L\mathcal{L}L 的近似就越好,这与蒙特卡洛积分一样。

We parameterize functions Φθ\Phi_\thetaΦθ​ as fully connected neural networks with parameters θ\thetaθ, and solve the resulting optimization problem using gradient descent. The derivatives in Eq. (3) such as ∇xΦθ\nabla_x\Phi_\theta∇x​Φθ​ correspond to the gradient of the network’s outputs with respect to its inputs. Those can be computed with auto-differentiation [47]. They are automatically added to the computation graph when defining the loss function, thus enabling the optimization of the weights θ\thetaθ during training.

我们把函数 Φθ\Phi_\thetaΦθ​ 参数化为带参数 θ\thetaθ 的全连接神经网络,并用梯度下降求解由此得到的优化问题。公式 (3) 中的导数,例如 ∇xΦθ\nabla_x\Phi_\theta∇x​Φθ​,对应于网络输出对其输入的梯度。它们可以用自动微分计算 [47]。在定义损失函数时,这些导数会自动加入计算图,从而可以在训练中优化权重 θ\thetaθ。

3.1 Periodic Activations for Implicit Neural Representations

3.1 用于隐式神经表示的周期激活

We propose SIREN, a simple neural network architecture for implicit neural representations that uses the sine as a periodic activation function:

我们提出 SIREN,这是一种用于隐式神经表示的简单神经网络架构,它把正弦用作周期激活函数:

Φ(x)=Wn(ϕn−1∘ϕn−2∘…∘ϕ0)(x)+bn,ϕi(xi)=sin⁡(Wixi+bi).(4)\Phi(x)=\mathbf{W}_n(\phi_{n-1}\circ\phi_{n-2}\circ\ldots\circ\phi_0)(x)+\mathbf{b}_n, \qquad \phi_i(x_i)=\sin(\mathbf{W}_i x_i+\mathbf{b}_i). \tag{4}Φ(x)=Wn​(ϕn−1​∘ϕn−2​∘…∘ϕ0​)(x)+bn​,ϕi​(xi​)=sin(Wi​xi​+bi​).(4)

Here, ϕi:RMi↦RNi\phi_i:\mathbb{R}^{M_i}\mapsto\mathbb{R}^{N_i}ϕi​:RMi​↦RNi​ is the iiith layer of the network. It consists of the affine transform defined by the weight matrix Wi∈RNi×Mi\mathbf{W}_i\in\mathbb{R}^{N_i\times M_i}Wi​∈RNi​×Mi​ and the biases bi∈RNi\mathbf{b}_i\in\mathbb{R}^{N_i}bi​∈RNi​ applied on the input xi∈RMix_i\in\mathbb{R}^{M_i}xi​∈RMi​, followed by the sine nonlinearity applied to each component of the resulting vector.

这里,ϕi:RMi↦RNi\phi_i:\mathbb{R}^{M_i}\mapsto\mathbb{R}^{N_i}ϕi​:RMi​↦RNi​ 是网络的第 iii 层。它由权重矩阵 Wi∈RNi×Mi\mathbf{W}_i\in\mathbb{R}^{N_i\times M_i}Wi​∈RNi​×Mi​ 和偏置 bi∈RNi\mathbf{b}_i\in\mathbb{R}^{N_i}bi​∈RNi​ 定义的仿射变换作用在输入 xi∈RMix_i\in\mathbb{R}^{M_i}xi​∈RMi​ 上,再对所得向量的每个分量施加正弦非线性。

Interestingly, any derivative of a SIREN is itself a composition of SIRENs, as the derivative of the sine is a cosine, i.e., a phase-shifted sine (see supplemental). Therefore, the derivatives of a SIREN inherit the properties of SIRENs, enabling us to supervise any derivative of SIREN with “complicated” signals. In our experiments, we demonstrate that when a SIREN is supervised using a constraint CmC_mCm​ involving the derivatives of Φ\PhiΦ, the function realized by the neural network Φθ\Phi_\thetaΦθ​ remains well behaved, which is crucial in solving many problems, including boundary value problems (BVPs). In contrast to conventional nonlinearities such as the hyperbolic tangent or the ReLU, the sine is periodic and therefore, non-local. Intuitively, this provides SIREN with a degree of shift invariance, as it may learn to apply the same function to different input coordinates.

有意思的是,SIREN 的任意阶导数本身仍是 SIREN 的复合,因为正弦的导数是余弦,也就是相位平移后的正弦(见补充材料)。因此,SIREN 的导数继承了 SIREN 的性质,使我们能够用“复杂”的信号去监督 SIREN 的任意阶导数。在实验中我们表明,当用涉及 Φ\PhiΦ 之导数的约束 CmC_mCm​ 来监督 SIREN 时,神经网络 Φθ\Phi_\thetaΦθ​ 所实现的函数仍然性态良好,这对求解包括边值问题(BVP)在内的许多问题至关重要。与双曲正切或 ReLU 等常规非线性不同,正弦是周期的,因而是非局部的。直观上,这为 SIREN 提供了一定程度的平移不变性,因为它可能学会把同一个函数用到不同的输入坐标上。

We will show that SIRENs can be initialized with some control over the distribution of activations, allowing us to create deep architectures. Furthermore, SIRENs converge significantly faster than baseline architectures, fitting, for instance, a single image in a few hundred iterations, taking a few seconds on a modern GPU, while featuring higher image fidelity (Fig. 1).

我们将表明,SIREN 可以在对激活分布有一定控制的条件下初始化,从而能够构建深层架构。此外,SIREN 的收敛明显快于基线架构,例如拟合单张图像只需几百次迭代,在现代 GPU 上只需数秒,同时具有更高的图像保真度(图 1)。

Figure 1: Comparison of network architectures fitting an implicit image representation and its derivatives

Figure 1: Comparison of different neural network architectures fitting the implicit representation of an image (ground truth: top left). The representation is only supervised on the target image but we also show first- and second-order derivatives of the function fit in rows 2 and 3, respectively.

图 1:不同神经网络架构拟合一幅图像的隐式表示之比较(真值:左上)。表示只在目标图像上接受监督,但我们还在第 2、第 3 行分别给出所拟合函数的一阶和二阶导数。

A simple example: fitting an image. Consider the case of finding the function Φ:R2↦R3\Phi:\mathbb{R}^2\mapsto\mathbb{R}^3Φ:R2↦R3 that parameterizes a given discrete image fff in a continuous fashion. The image defines a dataset D={(xi,f(xi))}i\mathcal{D}=\{(x_i,f(x_i))\}_iD={(xi​,f(xi​))}i​ of pixel coordinates xi=(xi,yi)x_i=(x_i,y_i)xi​=(xi​,yi​) associated with their RGB colors f(xi)f(x_i)f(xi​). The only constraint CCC is that Φ\PhiΦ should output image colors at pixel coordinates. CCC solely depends on both Φ\PhiΦ (none of its derivatives) and f(xi)f(x_i)f(xi​), with the form: C(f(xi),Φ(x))=Φ(xi)−f(xi)C(f(x_i),\Phi(x))=\Phi(x_i)-f(x_i)C(f(xi​),Φ(x))=Φ(xi​)−f(xi​) which can be translated into the loss L~=∑i∥Φ(xi)−f(xi)∥\tilde{\mathcal{L}}=\sum_i\|\Phi(x_i)-f(x_i)\|L~=∑i​∥Φ(xi​)−f(xi​)∥. In Fig. 1, we fit Φθ\Phi_\thetaΦθ​ using comparable network architectures with different activation functions to a natural image. We supervise this experiment only on the image values, but also visualize the gradients ∇Φ\nabla\Phi∇Φ and Laplacians ΔΦ\Delta\PhiΔΦ. While only two approaches, a ReLU network with positional encoding (P.E.) [5, 48] and our SIREN, accurately represent the ground truth image f(x)f(x)f(x), SIREN is the only network capable of also representing the derivatives of the signal. Additionally, we run a simple experiment where we fit a short video with 300 frames and with a resolution of 512×512512\times 512512×512 pixels using both ReLU and SIREN MLPs. As seen in Figure 2, our approach is successful in representing this video with an average peak signal-to-noise ratio close to 30 dB, outperforming the ReLU baseline by about 5 dB. We also show the flexibility of SIRENs by representing audio signals in the supplement.

一个简单例子:拟合图像。 考虑寻找函数 Φ:R2↦R3\Phi:\mathbb{R}^2\mapsto\mathbb{R}^3Φ:R2↦R3,把给定的离散图像 fff 连续地参数化。图像定义了一个数据集 D={(xi,f(xi))}i\mathcal{D}=\{(x_i,f(x_i))\}_iD={(xi​,f(xi​))}i​,由像素坐标 xi=(xi,yi)x_i=(x_i,y_i)xi​=(xi​,yi​) 及其 RGB 颜色 f(xi)f(x_i)f(xi​) 组成。唯一的约束 CCC 是 Φ\PhiΦ 应在像素坐标处输出图像颜色。CCC 只依赖于 Φ\PhiΦ(不依赖其导数)和 f(xi)f(x_i)f(xi​),形式为 C(f(xi),Φ(x))=Φ(xi)−f(xi)C(f(x_i),\Phi(x))=\Phi(x_i)-f(x_i)C(f(xi​),Φ(x))=Φ(xi​)−f(xi​),可以写成损失 L~=∑i∥Φ(xi)−f(xi)∥\tilde{\mathcal{L}}=\sum_i\|\Phi(x_i)-f(x_i)\|L~=∑i​∥Φ(xi​)−f(xi​)∥。在图 1 中,我们用激活函数不同、但规模可比较的网络架构,把 Φθ\Phi_\thetaΦθ​ 拟合到一幅自然图像上。该实验只在图像值上做监督,但我们也可视化了梯度 ∇Φ\nabla\Phi∇Φ 和拉普拉斯 ΔΦ\Delta\PhiΔΦ。只有两种方法能准确表示真值图像 f(x)f(x)f(x):带位置编码(P.E.)的 ReLU 网络 [5, 48],以及我们的 SIREN;而只有 SIREN 还能表示信号的导数。此外,我们还做了一个简单实验:用 ReLU 和 SIREN 两类 MLP 去拟合一段 300 帧、分辨率 512×512512\times 512512×512 像素的短视频。如图 2 所示,我们的方法成功地表示了这段视频,平均峰值信噪比接近 30 dB,比 ReLU 基线大约高 5 dB。我们还在补充材料中用音频信号展示了 SIREN 的灵活性。

Figure 2: Example frames from fitting a video with SIREN and ReLU-MLPs

Figure 2: Example frames from fitting a video with SIREN and ReLU-MLPs. Our approach faithfully reconstructs fine details like the whiskers. Mean (and standard deviation) of the PSNR over all frames is reported.

图 2:用 SIREN 和 ReLU-MLP 拟合视频的示例帧。我们的方法忠实地重建了胡须一类细部。报告的是全部帧上峰值信噪比的均值(及标准差)。

Figure 3: Poisson image reconstruction and Poisson image editing with SIREN

Figure 3: Poisson image reconstruction: An image (left) is reconstructed by fitting a SIREN, supervised either by its gradients or Laplacians (underlined in green). The results, shown in the center and right, respectively, match both the image and its derivatives well. Poisson image editing: The gradients of two images (top) are fused (bottom left). SIREN allows for the composite (right) to be reconstructed using supervision on the gradients (bottom right).

图 3:泊松图像重建:通过拟合 SIREN 来重建一幅图像(左),监督信号分别是其梯度或拉普拉斯(下划绿色线者)。结果分别显示在中、右,与图像及其导数都吻合得很好。泊松图像编辑:两幅图像的梯度(上)被融合(左下)。SIREN 可以在梯度监督下重建合成结果(右下)。

3.2 Distribution of activations, frequencies, and a principled initialization scheme

3.2 激活与频率的分布,以及一套有原理依据的初始化方案

We present a principled initialization scheme necessary for the effective training of SIRENs. While presented informally here, we discuss further details, proofs and empirical validation in the supplemental material. The key idea in our initialization scheme is to preserve the distribution of activations through the network so that the final output at initialization does not depend on the number of layers. Note that building SIRENs without carefully chosen weights yielded poor performance both in accuracy and in convergence speed.

我们给出一套有原理依据的初始化方案,这对有效训练 SIREN 是必要的。这里只做非正式陈述,更多细节、证明和经验验证见补充材料。这套初始化的核心想法是:在网络中保持激活的分布,使初始化时的最终输出不依赖于层数。需要指出,若不仔细选择权重就搭建 SIREN,精度和收敛速度都会很差。

To this end, let us first consider the output distribution of a single sine neuron with the uniformly distributed input x∼U(−1,1)x\sim\mathcal{U}(-1,1)x∼U(−1,1). The neuron’s output is y=sin⁡(ax+b)y=\sin(ax+b)y=sin(ax+b) with a,b∈Ra,b\in\mathbb{R}a,b∈R. It can be shown that for any a>π/2a>\pi/2a>π/2, i.e. spanning at least half a period, the output of the sine is y∼arcsin⁡(−1,1)y\sim\arcsin(-1,1)y∼arcsin(−1,1), a special case of a U-shaped Beta distribution and independent of the choice of bbb. We can now reason about the output distribution of a neuron. Taking the linear combination of nnn inputs x∈Rnx\in\mathbb{R}^nx∈Rn weighted by w∈Rnw\in\mathbb{R}^nw∈Rn, its output is y=sin⁡(w⊤x+b)y=\sin(w^\top x+b)y=sin(w⊤x+b). Assuming this neuron is in the second layer, each of its inputs is arcsine distributed. When each component of www is uniformly distributed such as wi∼U(−c/n,c/n)w_i\sim\mathcal{U}(-c/\sqrt{n},c/\sqrt{n})wi​∼U(−c/n​,c/n​), c∈Rc\in\mathbb{R}c∈R, we show (see supplemental) that the dot product converges to the normal distribution w⊤x∼N(0,c2/6)w^\top x\sim\mathcal{N}(0,c^2/6)w⊤x∼N(0,c2/6) as nnn grows. Finally, feeding this normally distributed dot product through another sine is also arcsine distributed for any c>6c>\sqrt{6}c>6​. Note that the weights of a SIREN can be interpreted as angular frequencies while the biases are phase offsets. Thus, larger frequencies appear in the networks for weights with larger magnitudes. For ∣w⊤x∣<π/4|w^\top x|<\pi/4∣w⊤x∣<π/4, the sine layer will leave the frequencies unchanged, as the sine is approximately linear. In fact, we empirically find that a sine layer keeps spatial frequencies approximately constant for amplitudes such as ∣w⊤x∣<π|w^\top x|<\pi∣w⊤x∣<π, and increases spatial frequencies for amplitudes above this value.

为此,先考虑单个正弦神经元在输入均匀分布 x∼U(−1,1)x\sim\mathcal{U}(-1,1)x∼U(−1,1) 时的输出分布。神经元的输出为 y=sin⁡(ax+b)y=\sin(ax+b)y=sin(ax+b),其中 a,b∈Ra,b\in\mathbb{R}a,b∈R。可以证明,对任意 a>π/2a>\pi/2a>π/2,也就是至少跨越半个周期时,正弦的输出为 y∼arcsin⁡(−1,1)y\sim\arcsin(-1,1)y∼arcsin(−1,1),这是 U 形 Beta 分布的一个特例,并且与 bbb 的选取无关。现在可以讨论一个神经元的输出分布。把 nnn 个输入 x∈Rnx\in\mathbb{R}^nx∈Rn 用 w∈Rnw\in\mathbb{R}^nw∈Rn 做线性组合,其输出为 y=sin⁡(w⊤x+b)y=\sin(w^\top x+b)y=sin(w⊤x+b)。假设该神经元位于第二层,则它的每个输入都服从反正弦分布。当 www 的每个分量均匀分布,例如 wi∼U(−c/n,c/n)w_i\sim\mathcal{U}(-c/\sqrt{n},c/\sqrt{n})wi​∼U(−c/n​,c/n​),c∈Rc\in\mathbb{R}c∈R 时,我们证明(见补充材料):随着 nnn 增大,点积收敛到正态分布 w⊤x∼N(0,c2/6)w^\top x\sim\mathcal{N}(0,c^2/6)w⊤x∼N(0,c2/6)。最后,把这个正态点积再送入一个正弦,对任意 c>6c>\sqrt{6}c>6​,输出同样服从反正弦分布。需要指出,SIREN 的权重可以解释为角频率,偏置则是相位偏移。因此,幅值更大的权重会在网络中引入更高的频率。当 ∣w⊤x∣<π/4|w^\top x|<\pi/4∣w⊤x∣<π/4 时,正弦层会保持频率不变,因为此时正弦近似线性。实际上,我们经验上发现,当振幅满足 ∣w⊤x∣<π|w^\top x|<\pi∣w⊤x∣<π 时,正弦层会大致保持空间频率不变;振幅再大,则会提高空间频率。

2^22Formalizing the distribution of output frequencies throughout SIRENs proves to be a hard task and is out of the scope of this work.

2^22要形式化 SIREN 中输出频率的分布被证明是一项困难的任务,超出了本文的范围。

Hence, we propose to draw weights with c=6c=\sqrt{6}c=6​ so that wi∼U(−6/n,6/n)w_i\sim\mathcal{U}(-\sqrt{6/n},\sqrt{6/n})wi​∼U(−6/n​,6/n​). This ensures that the input to each sine activation is normal distributed with a standard deviation of 1. Since only a few weights have a magnitude larger than π\piπ, the frequency throughout the sine network grows only slowly. Finally, we propose to initialize the first layer of the sine network with weights so that the sine function sin⁡(ω0⋅Wx+b)\sin(\omega_0\cdot Wx+b)sin(ω0​⋅Wx+b) spans multiple periods over [−1,1][-1,1][−1,1]. We found ω0=30\omega_0=30ω0​=30 to work well for all the applications in this work. The proposed initialization scheme yielded fast and robust convergence using the ADAM optimizer for all experiments in this work.

因此,我们提议取 c=6c=\sqrt{6}c=6​,从而 wi∼U(−6/n,6/n)w_i\sim\mathcal{U}(-\sqrt{6/n},\sqrt{6/n})wi​∼U(−6/n​,6/n​)。这保证每个正弦激活的输入服从标准差为 1 的正态分布。由于只有少数权重的幅值大于 π\piπ,正弦网络中的频率只缓慢增长。最后,我们提议对正弦网络第一层的权重做初始化,使正弦函数 sin⁡(ω0⋅Wx+b)\sin(\omega_0\cdot Wx+b)sin(ω0​⋅Wx+b) 在 [−1,1][-1,1][−1,1] 上跨越多个周期。我们发现 ω0=30\omega_0=30ω0​=30 对本工作中的全部应用都效果良好。使用 ADAM 优化器时,提出的初始化方案在本文所有实验中都能快速、稳健地收敛。

4 Experiments

4 实验

In this section, we leverage SIRENs to solve challenging boundary value problems using different types of supervision of the derivatives of Φ\PhiΦ. We first solve the Poisson equation via direct supervision of its derivatives. We then solve a particular form of the Eikonal equation, placing a unit-norm constraint on gradients, parameterizing the class of signed distance functions (SDFs). SIREN significantly outperforms ReLU-based representations of SDFs, capturing large scenes at a high level of detail. We then solve the second-order Helmholtz partial differential equation, and the challenging inverse problem of full-waveform inversion. Finally, we combine SIRENs with hypernetworks, learning a prior over the space of parameterized functions. Those experiments are summarized in Section 4 of the supplemental, and additional experiments and details can be found in Section 5–11 in the supplemental. All code and data is publicly available on the project webpage.

在本节中,我们借助对 Φ\PhiΦ 之导数的不同类型监督,用 SIREN 求解有挑战性的边值问题。我们首先通过对导数的直接监督来求解泊松方程。然后求解 Eikonal 方程的一种特定形式,对梯度施加单位范数约束,从而参数化符号距离函数(SDF)这一类函数。SIREN 明显优于基于 ReLU 的 SDF 表示,能够以很高的细节水平刻画大场景。接着我们求解二阶亥姆霍兹偏微分方程,以及具有挑战性的全波形反演逆问题。最后,我们把 SIREN 与超网络结合,在参数化函数空间上学习先验。这些实验在补充材料第 4 节中有概述,更多实验和细节见补充材料第 5–11 节。全部代码和数据在项目主页公开。

3^33https://vsitzmann.github.io/siren/

Figure 4: Shape representation comparing ReLU and SIREN signed distance functions

Figure 4: Shape representation. We fit signed distance functions parameterized by implicit neural representations directly on point clouds. Compared to ReLU implicit representations, our periodic activations significantly improve detail of objects (left) and complexity of entire scenes (right).

图 4:形状表示。我们把由隐式神经表示参数化的符号距离函数直接拟合到点云上。与 ReLU 隐式表示相比,我们的周期激活显著提高了物体的细节(左)以及整场场景的复杂度(右)。

4.1 Solving the Poisson Equation

4.1 求解泊松方程

We demonstrate that the proposed representation is not only able to accurately represent a function and its derivatives, but that it can also be supervised solely by its derivatives, i.e., the model is never presented with the actual function values, but only values of its first or higher-order derivatives.

我们表明,提出的表示不但能够准确表示一个函数及其导数,还可以仅仅由其导数来监督,也就是说,模型从未见到真正的函数值,而只见到其一阶或更高阶导数的取值。

An intuitive example representing this class of problems is the Poisson equation. The Poisson equation is perhaps the simplest elliptic partial differential equation (PDE) which is crucial in physics and engineering, for example to model potentials arising from distributions of charges or masses. In this problem, an unknown ground truth signal fff is estimated from discrete samples of either its gradients ∇f\nabla f∇f or Laplacian Δf=∇⋅∇f\Delta f=\nabla\cdot\nabla fΔf=∇⋅∇f as

代表这类问题的一个直观例子是泊松方程。泊松方程或许是最简单的椭圆型偏微分方程(PDE),在物理和工程中很关键,例如用来建模由电荷或质量分布产生的势。在这个问题中,未知的真值信号 fff 由其梯度 ∇f\nabla f∇f 或拉普拉斯 Δf=∇⋅∇f\Delta f=\nabla\cdot\nabla fΔf=∇⋅∇f 的离散样本来估计,相应的损失为

Lgrad.=∫Ω∥∇xΦ(x)−∇xf(x)∥ dx,orLlapl.=∫Ω∥ΔΦ(x)−Δf(x)∥ dx.(5)\mathcal{L}_{\mathrm{grad.}}=\int_{\Omega}\|\nabla_x\Phi(x)-\nabla_x f(x)\|\,dx, \qquad\text{or}\qquad \mathcal{L}_{\mathrm{lapl.}}=\int_{\Omega}\|\Delta\Phi(x)-\Delta f(x)\|\,dx. \tag{5}Lgrad.​=∫Ω​∥∇x​Φ(x)−∇x​f(x)∥dx,orLlapl.​=∫Ω​∥ΔΦ(x)−Δf(x)∥dx.(5)

Poisson image reconstruction. Solving the Poisson equation enables the reconstruction of images from their derivatives. We show results of this approach using SIREN in Fig. 3. Supervising the implicit representation with either ground truth gradients via Lgrad.\mathcal{L}_{\mathrm{grad.}}Lgrad.​ or Laplacians via Llapl.\mathcal{L}_{\mathrm{lapl.}}Llapl.​ successfully reconstructs the image. Remaining intensity variations are due to the ill-posedness of the problem.

泊松图像重建。 求解泊松方程可以从导数重建图像。我们在图 3 中展示用 SIREN 做这件事的结果。分别用真值梯度(经由 Lgrad.\mathcal{L}_{\mathrm{grad.}}Lgrad.​)或拉普拉斯(经由 Llapl.\mathcal{L}_{\mathrm{lapl.}}Llapl.​)监督隐式表示,都能成功重建图像。残存的强度偏差来自该问题的不适定性。

Poisson image editing. Images can be seamlessly fused in the gradient domain [49]. For this purpose, Φ\PhiΦ is supervised using Lgrad.\mathcal{L}_{\mathrm{grad.}}Lgrad.​ of Eq. (5), where ∇xf(x)\nabla_x f(x)∇x​f(x) is a composite function of the gradients of two images f1,2f_{1,2}f1,2​: ∇xf(x)=α⋅∇f1(x)+(1−α)⋅∇f2(x)\nabla_x f(x)=\alpha\cdot\nabla f_1(x)+(1-\alpha)\cdot\nabla f_2(x)∇x​f(x)=α⋅∇f1​(x)+(1−α)⋅∇f2​(x), α∈[0,1]\alpha\in[0,1]α∈[0,1]. Fig. 3 shows two images seamlessly fused with this approach.

泊松图像编辑。 图像可以在梯度域中无缝融合 [49]。为此,用公式 (5) 中的 Lgrad.\mathcal{L}_{\mathrm{grad.}}Lgrad.​ 监督 Φ\PhiΦ,其中 ∇xf(x)\nabla_x f(x)∇x​f(x) 是两幅图像 f1,2f_{1,2}f1,2​ 之梯度的合成函数:∇xf(x)=α⋅∇f1(x)+(1−α)⋅∇f2(x)\nabla_x f(x)=\alpha\cdot\nabla f_1(x)+(1-\alpha)\cdot\nabla f_2(x)∇x​f(x)=α⋅∇f1​(x)+(1−α)⋅∇f2​(x),α∈[0,1]\alpha\in[0,1]α∈[0,1]。图 3 展示了用这种方法无缝融合的两幅图像。

4.2 Representing Shapes with Signed Distance Functions

4.2 用符号距离函数表示形状

Inspired by recent work on shape representation with differentiable signed distance functions (SDFs) [1, 4, 9], we fit SDFs directly on oriented point clouds using both ReLU-based implicit neural representations and SIRENs. This amounts to solving a particular Eikonal boundary value problem that constrains the norm of spatial gradients ∣∇xΦ∣|\nabla_x\Phi|∣∇x​Φ∣ to be 1 almost everywhere. Note that ReLU networks are seemingly ideal for representing SDFs, as their gradients are locally constant and their second derivatives are 0. Solving the Eikonal equation with an implicit neural representation with ReLU activations was previously proposed in [9]. We fit a SIREN to an oriented point cloud using a loss of the form

受近期用可微符号距离函数(SDF)做形状表示的工作启发 [1, 4, 9],我们在带法向的点云上直接拟合 SDF,同时比较基于 ReLU 的隐式神经表示和 SIREN。这相当于求解一类特定的 Eikonal 边值问题,要求空间梯度的范数 ∣∇xΦ∣|\nabla_x\Phi|∣∇x​Φ∣ 几乎处处为 1。需要指出,ReLU 网络看似最适合表示 SDF,因为它们的梯度局部为常数,二阶导数为 0。此前已有工作用带 ReLU 激活的隐式神经表示来求解 Eikonal 方程 [9]。我们用如下形式的损失,把 SIREN 拟合到带法向的点云上:

Lsdf=∫Ω∣∣∇xΦ(x)∣−1∣ dx+∫Ω0∥Φ(x)∥+(1−⟨∇xΦ(x),n(x)⟩) dx+∫Ω∖Ω0ψ(Φ(x)) dx,(6)\mathcal{L}_{\mathrm{sdf}}=\int_{\Omega}\bigl||\nabla_x\Phi(x)|-1\bigr|\,dx+\int_{\Omega_0}\|\Phi(x)\|+\bigl(1-\langle\nabla_x\Phi(x),n(x)\rangle\bigr)\,dx+\int_{\Omega\setminus\Omega_0}\psi\bigl(\Phi(x)\bigr)\,dx, \tag{6}Lsdf​=∫Ω​​∣∇x​Φ(x)∣−1​dx+∫Ω0​​∥Φ(x)∥+(1−⟨∇x​Φ(x),n(x)⟩)dx+∫Ω∖Ω0​​ψ(Φ(x))dx,(6)

Here, ψ(Φ(x))=exp⁡(−α⋅∣Φ(x)∣)\psi(\Phi(x))=\exp(-\alpha\cdot|\Phi(x)|)ψ(Φ(x))=exp(−α⋅∣Φ(x)∣), α≫1\alpha\gg 1α≫1 penalizes off-surface points for creating SDF values close to 0. Ω\OmegaΩ is the whole domain and we denote the zero-level set of the SDF as Ω0\Omega_0Ω0​. The model Φ(x)\Phi(x)Φ(x) is supervised using oriented points sampled on a mesh, where we require the SIREN to respect Φ(x)=0\Phi(x)=0Φ(x)=0 and its normals n(x)=∇f(x)n(x)=\nabla f(x)n(x)=∇f(x). During training, each minibatch contains an equal number of points on and off the mesh, each one randomly sampled over Ω\OmegaΩ. As seen in Fig. 4, the proposed periodic activations significantly increase the details of objects and the complexity of scenes that can be represented by these neural SDFs, parameterizing a full room from the ICL-NUIM dataset [50] with only a single five-layer fully connected neural network. This is in contrast to concurrent work that addresses the same failure of conventional MLP architectures to represent complex or large scenes by locally decoding a discrete representation, such as a voxelgrid, into an implicit neural representation [11, 12, 51]. We note that the resulting representations can be quite compact. For instance, the Thai statue shown in Figure 4 is reconstructed at a high fidelity while requiring only 260 kB while the naive mesh representation of this dataset requires 293 MB. Similarly, the SIREN representation of the room requires only about 1 MB whereas the naive mesh representation requires 579 MB. Please refer to the supplemental material for additional discussions on compression capabilities of SIREN.

这里,ψ(Φ(x))=exp⁡(−α⋅∣Φ(x)∣)\psi(\Phi(x))=\exp(-\alpha\cdot|\Phi(x)|)ψ(Φ(x))=exp(−α⋅∣Φ(x)∣),α≫1\alpha\gg 1α≫1,用来惩罚离面点产生接近 0 的 SDF 值。Ω\OmegaΩ 是整个定义域,我们把 SDF 的零水平集记为 Ω0\Omega_0Ω0​。模型 Φ(x)\Phi(x)Φ(x) 用从网格上采样的带法向点来监督,我们要求 SIREN 满足 Φ(x)=0\Phi(x)=0Φ(x)=0,并且其法向为 n(x)=∇f(x)n(x)=\nabla f(x)n(x)=∇f(x)。训练时,每个小批次包含数量相等的面上点和面外点,各自在 Ω\OmegaΩ 上随机采样。如图 4 所示,提出的周期激活显著提高了这些神经 SDF 所能表示的物体细节和场景复杂度,仅用一个五层全连接神经网络就参数化了 ICL-NUIM 数据集 [50] 中的一整间房间。这与同期工作形成对照:那些工作针对常规 MLP 架构难以表示复杂或大型场景的同一问题,采取的办法是把体素网格一类离散表示局部解码成隐式神经表示 [11, 12, 51]。我们注意到,所得表示可以相当紧凑。例如,图 4 中的 Thai statue 被高保真重建,只需 260 kB,而该数据的朴素网格表示需要 293 MB。类似地,房间的 SIREN 表示大约只需 1 MB,而朴素网格表示需要 579 MB。关于 SIREN 压缩能力的更多讨论见补充材料。

4.3 Solving the Helmholtz and Wave Equations

4.3 求解亥姆霍兹方程和波动方程

The Helmholtz and wave equations are second-order partial differential equations related to the physical modeling of diffusion and waves. They are closely related through a Fourier-transform relationship, with the Helmholtz equation given as

亥姆霍兹方程和波动方程是与扩散和波动的物理建模相关的二阶偏微分方程。它们通过傅里叶变换关系紧密相连,亥姆霍兹方程写为

H(m) Φ(x)=−f(x),with H(m)=(Δ+m(x) w2).(7)H(m)\,\Phi(x)=-f(x), \quad\text{with }H(m)=\bigl(\Delta+m(x)\,w^{2}\bigr). \tag{7}H(m)Φ(x)=−f(x),with H(m)=(Δ+m(x)w2).(7)

Here, f(x)f(x)f(x) represents a known source function, Φ(x)\Phi(x)Φ(x) is the unknown wavefield, and the squared slowness m(x)=1/c(x)2m(x)=1/c(x)^{2}m(x)=1/c(x)2 is a function of the wave velocity c(x)c(x)c(x). In general, the solutions to the Helmholtz equation are complex-valued and require numerical solvers to compute. As the Helmholtz and wave equations follow a similar form, we discuss the Helmholtz equation here, with additional results and discussion for the wave equation in the supplement.

这里,f(x)f(x)f(x) 表示已知的源函数,Φ(x)\Phi(x)Φ(x) 是未知波场,平方慢度 m(x)=1/c(x)2m(x)=1/c(x)^{2}m(x)=1/c(x)2 是波速 c(x)c(x)c(x) 的函数。一般而言,亥姆霍兹方程的解是复值的,需要数值求解器来计算。由于亥姆霍兹方程和波动方程形式相近,这里讨论亥姆霍兹方程,波动方程的更多结果和讨论见补充材料。

Solving for the wavefield. We solve for the wavefield by parameterizing Φ(x)\Phi(x)Φ(x) with a SIREN. To accommodate a complex-valued solution, we configure the network to output two values, interpreted as the real and imaginary parts. Training is performed on randomly sampled points xxx within the domain Ω={x∈R2∣∥x∥∞<1}\Omega=\{x\in\mathbb{R}^{2}\mid\|x\|_{\infty}<1\}Ω={x∈R2∣∥x∥∞​<1}. The network is supervised using a loss function based on the Helmholtz equation:

求解波场。 我们用 SIREN 参数化 Φ(x)\Phi(x)Φ(x) 来求解波场。为容纳复值解,我们把网络配置成输出两个值,分别解释为实部和虚部。训练在定义域 Ω={x∈R2∣∥x∥∞<1}\Omega=\{x\in\mathbb{R}^{2}\mid\|x\|_{\infty}<1\}Ω={x∈R2∣∥x∥∞​<1} 内随机采样的点 xxx 上进行。网络用基于亥姆霍兹方程的损失函数来监督:

LHelmholtz=∫Ωλ(x) ∥H(m)Φ(x)+f(x)∥ dx,\mathcal{L}_{\mathrm{Helmholtz}}=\int_{\Omega}\lambda(x)\,\|H(m)\Phi(x)+f(x)\|\,dx,LHelmholtz​=∫Ω​λ(x)∥H(m)Φ(x)+f(x)∥dx,
with λ(x)=k\lambda(x)=kλ(x)=k, a hyperparameter, when f(x)≠0f(x)\neq 0f(x)=0 (corresponding to the inhomogeneous contribution to the Helmholtz equation) and λ(x)=1\lambda(x)=1λ(x)=1 otherwise (for the homogenous part). Each minibatch contains samples from both contributions and kkk is set so the losses are approximately equal at the beginning of training. In practice, we use a slightly modified form of Equation (7) to include the perfectly matched boundary conditions that are necessary to ensure a unique solution [52] (see supplement for details).

LHelmholtz=∫Ωλ(x) ∥H(m)Φ(x)+f(x)∥ dx,\mathcal{L}_{\mathrm{Helmholtz}}=\int_{\Omega}\lambda(x)\,\|H(m)\Phi(x)+f(x)\|\,dx,LHelmholtz​=∫Ω​λ(x)∥H(m)Φ(x)+f(x)∥dx,
其中当 f(x)≠0f(x)\neq 0f(x)=0 时(对应于亥姆霍兹方程的非齐次部分)取 λ(x)=k\lambda(x)=kλ(x)=k(一个超参数),否则(齐次部分)取 λ(x)=1\lambda(x)=1λ(x)=1。每个小批次都包含来自这两部分的样本,并设定 kkk,使训练开始时两项损失大致相等。实践中,我们对公式 (7) 做了略微修改,以纳入保证解唯一所必需的完全匹配边界条件 [52](细节见补充材料)。

Figure 5: Direct inversion of the Helmholtz equation and neural full-waveform inversion

Figure 5: Direct Inversion: We solve the Helmholtz equation for a single point source placed at the center of a medium (green dot) with uniform wave propagation velocity (top left). The SIREN solution closely matches a principled grid solver [52] while other network architectures fail to find the correct solution. Neural Full-Waveform Inversion (FWI): A scene contains a source (green) and a circular wave velocity perturbation centered at the origin (top left). With the scene velocity known a priori, SIREN directly reconstructs a wavefield that closely matches a principled grid solver [52] (bottom left, middle left). For FWI, the velocity and wavefields are reconstructed with receiver measurements (blue dots) from sources triggered in sequence (green, red dots). The SIREN velocity model outperforms a principled FWI solver [53], accurately predicting wavefields. FWI MSE values are calculated across all wavefields and the visualized real wavefield corresponds to the green source.

图 5:直接反演:我们在波传播速度均匀的介质中心放置单个点源(绿点),求解亥姆霍兹方程(左上)。SIREN 的解与原则性网格求解器 [52] 密切吻合,而其他网络架构无法找到正确的解。神经全波形反演(FWI):场景中有一个源(绿色)以及位于原点的圆形波速扰动(左上)。在事先已知场景波速时,SIREN 直接重建的波场与原则性网格求解器 [52] 密切吻合(左下、中左)。在 FWI 中,波速和波场由依次触发的源(绿点、红点)在接收器(蓝点)上的测量重建。SIREN 的速度模型优于原则性 FWI 求解器 [53],并能准确预测波场。FWI 的均方误差在全部波场上计算,可视化的实部波场对应于绿色源。

Results are shown in Fig. 5 for solving the Helmholtz equation in two dimensions with spatially uniform wave velocity and a single point source (modeled as a Gaussian with σ2=10−4\sigma^{2}=10^{-4}σ2=10−4). The SIREN solution is compared with a principled solver [52] as well as other neural network solvers. All evaluated network architectures use the same number of hidden layers as SIREN but with different activation functions. In the case of the RBF network, we prepend a Gaussian RBF layer with 1024 hidden units and use a tanh activation for all the other layers. SIREN is the only representation capable of producing a high-fidelity reconstruction of the wavefield. We also note that the tanh network has a similar architecture to recent work on neural PDE solvers [44], except we increase the network size to match SIREN.

图 5 给出了在二维、波速空间均匀、单个点源(建模为 σ2=10−4\sigma^{2}=10^{-4}σ2=10−4 的高斯)条件下求解亥姆霍兹方程的结果。SIREN 的解与原则性求解器 [52] 以及其他神经网络求解器做了比较。所有被评估的网络架构都与 SIREN 使用相同数量的隐层,只是激活函数不同。对 RBF 网络,我们在前面加了一个有 1024 个隐单元的高斯 RBF 层,其余层使用 tanh 激活。SIREN 是唯一能够对波场做出高保真重建的表示。我们还注意到,tanh 网络的架构与近期神经偏微分方程求解器的工作 [44] 类似,只是我们增大了网络规模以与 SIREN 对齐。

Neural full-waveform inversion (FWI). In many wave-based sensing modalities (radar, sonar, seismic imaging, etc.), one attempts to probe and sense across an entire domain using sparsely placed sources (i.e., transmitters) and receivers. FWI uses the known locations of sources and receivers to jointly recover the entire wavefield and other physical properties, such as permittivity, density, or wave velocity. Specifically, the FWI problem can be described as [54]

神经全波形反演(FWI)。 在许多基于波动的传感模态中(雷达、声呐、地震成像等),人们试图用稀疏布置的源(即发射器)和接收器,对整个区域进行探测和感知。FWI 利用源和接收器的已知位置,联合恢复整个波场以及其他物理性质,例如介电常数、密度或波速。具体而言,FWI 问题可以描述为 [54]

arg⁡min⁡m,Φ∑i=1N∫Ω∥Xr(Φi(x)−ri(x))∥ dxs.t.H(m) Φi(x)=−fi(x),  1≤i≤N,  ∀x∈Ω,(8)\arg\min_{m,\Phi}\sum_{i=1}^{N}\int_{\Omega}\|X_r(\Phi_i(x)-r_i(x))\|\,dx \quad\text{s.t.}\quad H(m)\,\Phi_i(x)=-f_i(x),\; 1\le i\le N,\;\forall x\in\Omega, \tag{8}argm,Φmin​i=1∑N​∫Ω​∥Xr​(Φi​(x)−ri​(x))∥dxs.t.H(m)Φi​(x)=−fi​(x),1≤i≤N,∀x∈Ω,(8)
where there are NNN sources, XrX_rXr​ samples the wavefield at the receiver locations, and ri(x)r_i(x)ri​(x) models receiver data for the iiith source.

arg⁡min⁡m,Φ∑i=1N∫Ω∥Xr(Φi(x)−ri(x))∥ dxs.t.H(m) Φi(x)=−fi(x),  1≤i≤N,  ∀x∈Ω,(8)\arg\min_{m,\Phi}\sum_{i=1}^{N}\int_{\Omega}\|X_r(\Phi_i(x)-r_i(x))\|\,dx \quad\text{s.t.}\quad H(m)\,\Phi_i(x)=-f_i(x),\; 1\le i\le N,\;\forall x\in\Omega, \tag{8}argm,Φmin​i=1∑N​∫Ω​∥Xr​(Φi​(x)−ri​(x))∥dxs.t.H(m)Φi​(x)=−fi​(x),1≤i≤N,∀x∈Ω,(8)
其中有 NNN 个源,XrX_rXr​ 在接收器位置对波场采样,ri(x)r_i(x)ri​(x) 建模第 iii 个源的接收器数据。

We first use a SIREN to directly solve Eq. 7 for a known wave velocity perturbation, obtaining an accurate wavefield that closely matches that of a principled solver [52] (see Fig. 5, right). Without a priori knowledge of the velocity field, FWI is used to jointly recover the wavefields and velocity. Here, we use 5 sources and place 30 receivers around the domain, as shown in Fig. 5. Using the principled solver, we simulate the receiver measurements for the 5 wavefields (one for each source) at a single frequency of 3.2 Hz, which is chosen to be relatively low for improved convergence. We pre-train SIREN to output 5 complex wavefields and a squared slowness value for a uniform velocity. Then, we optimize for the wavefields and squared slowness using a penalty method variation [54] of Eq. 8 (see the supplement for additional details). In Fig. 5, we compare to an FWI solver based on the alternating direction method of multipliers [53, 55]. With only a single frequency for the inversion, the principled solver is prone to converge to a poor solution for the velocity. As shown in Fig. 5, SIREN converges to a better velocity solution and accurate solutions for the wavefields. All reconstructions are performed or shown at 256×256256\times 256256×256 resolution to avoid noticeable stair-stepping artifacts in the circular velocity perturbation.

我们首先在已知波速扰动的情况下,用 SIREN 直接求解公式 (7),得到与原则性求解器 [52] 密切吻合的准确波场(见图 5 右)。在事先不知道速度场时,则用 FWI 联合恢复波场和波速。这里我们使用 5 个源,并在区域周围放置 30 个接收器,如图 5 所示。我们用原则性求解器,在单一频率 3.2 Hz 上为这 5 个波场(每个源一个)模拟接收器测量;选用相对较低的频率是为了改善收敛。我们先预训练 SIREN,使其在均匀波速下输出 5 个复波场和一个平方慢度值。然后,用公式 (8) 的一种罚函数变体 [54] 优化波场和平方慢度(更多细节见补充材料)。在图 5 中,我们与基于乘数交替方向法的 FWI 求解器 [53, 55] 做比较。在只用单一频率做反演时,原则性求解器容易收敛到较差的速度解。如图 5 所示,SIREN 收敛到更好的速度解,以及准确的波场解。全部重建都在 256×256256\times 256256×256 分辨率上完成或展示,以避免圆形波速扰动出现明显的锯齿伪影。

4.4 Learning a Space of Implicit Functions

4.4 学习隐式函数空间

A powerful concept that has emerged for implicit representations is to learn priors over the space of functions that define them [1, 2, 10]. Here we demonstrate that the function space parameterized by SIRENs also admits the learning of powerful priors. Each of these SIRENs Φj\Phi_jΦj​ are fully defined by their parameters θj∈Rl\theta_j\in\mathbb{R}^lθj​∈Rl. Assuming that all parameters θj\theta_jθj​ of a class exist in a kkk-dimensional subspace of Rl\mathbb{R}^lRl, k<lk<lk<l, then these parameters can be well modeled by latent code vectors in z∈Rkz\in\mathbb{R}^kz∈Rk. Like in neural processes [57–59], we condition these latent code vectors on partial observations of the signal O∈RmO\in\mathbb{R}^mO∈Rm through an encoder

对隐式表示而言,一个已经出现的有力想法是:在定义它们的函数空间上学习先验 [1, 2, 10]。这里我们表明,由 SIREN 参数化的函数空间同样允许学习有力的先验。每一个这样的 SIREN Φj\Phi_jΦj​ 完全由其参数 θj∈Rl\theta_j\in\mathbb{R}^lθj​∈Rl 定义。假定某一类的全部参数 θj\theta_jθj​ 都落在 Rl\mathbb{R}^lRl 的一个 kkk 维子空间中,k<lk<lk<l,那么这些参数就可以用潜在编码向量 z∈Rkz\in\mathbb{R}^kz∈Rk 很好地建模。与神经过程中一样 [57–59],我们通过编码器,用信号的部分观测 O∈RmO\in\mathbb{R}^mO∈Rm 来条件化这些潜在编码向量

C:Rm→Rk,Oj↦C(Oj)=zj,(9)C:\mathbb{R}^m\to\mathbb{R}^k, \qquad O_j\mapsto C(O_j)=z_j, \tag{9}C:Rm→Rk,Oj​↦C(Oj​)=zj​,(9)

and use a ReLU hypernetwork [60], to map the latent code to the weights of a SIREN, as in [10]:

并用一个 ReLU 超网络 [60],把潜在编码映射为 SIREN 的权重,如 [10] 那样:

Ψ:Rk→Rl,zj↦Ψ(zj)=θj.(10)\Psi:\mathbb{R}^k\to\mathbb{R}^l, \qquad z_j\mapsto\Psi(z_j)=\theta_j. \tag{10}Ψ:Rk→Rl,zj​↦Ψ(zj​)=θj​.(10)

We replicated the experiment from [57] on the CelebA dataset [56] using a set encoder. Additionally, we show results using a convolutional neural network encoder which operates on sparse images. Interestingly, this improves the quantitative and qualitative performance on the inpainting task. At test time, this enables reconstruction from sparse pixel observations, and, thereby, inpainting. Fig. 6 shows test-time reconstructions from a varying number of pixel observations. Note that these inpainting results were all generated using the same model, with the same parameter values. Tab. 1 reports a quantitative comparison to [57], demonstrating that generalization over SIREN representations is at least equally as powerful as generalization over images.

我们在 CelebA 数据集 [56] 上用集合编码器复现了 [57] 中的实验。此外,我们还展示了用卷积神经网络编码器在稀疏图像上操作的结果。有意思的是,这改善了补全任务上的定量和定性表现。在测试时,这使我们可以从稀疏像素观测重建信号,从而实现补全。图 6 展示了在不同数量的像素观测下的测试时重建。需要指出,这些补全结果都由同一个模型、同一套参数值生成。表 1 给出了与 [57] 的定量比较,表明在 SIREN 表示上做泛化,至少与在图像上做泛化同样有力。

Figure 6: Generalizing across SIREN implicit functions for CelebA image inpainting

Figure 6: Generalizing across implicit functions parameterized by SIRENs on the CelebA dataset [56]. Image inpainting results are shown for various numbers of context pixels in OjO_jOj​.

图 6:在 CelebA 数据集 [56] 上,对由 SIREN 参数化的隐式函数做泛化。展示了 OjO_jOj​ 中不同数量上下文像素下的图像补全结果。

Table 1: Quantitative comparison to Conditional Neural Processes [57] (CNPs) on the 32×3232\times 3232×32 CelebA test set. The pixel-wise mean squared errors are reported.

Number of Context Pixels 10 100 1000
CNP [57] 0.039 0.016 0.009
Set Encoder + Hypernet. 0.035 0.013 0.009
CNN Encoder + Hypernet. 0.033 0.009 0.008

表 1:在 32×3232\times 3232×32 的 CelebA 测试集上,与条件神经过程 [57](CNP)的定量比较。报告的是逐像素均方误差。

上下文像素数 10 100 1000
CNP [57] 0.039 0.016 0.009
集合编码器 + 超网络 0.035 0.013 0.009
CNN 编码器 + 超网络 0.033 0.009 0.008

5 Discussion and Conclusion

5 讨论与结论

The question of how to represent a signal is at the core of many problems across science and engineering. Implicit neural representations may provide a new tool for many of these by offering a number of potential benefits over conventional continuous and discrete representations. We demonstrate that periodic activation functions are ideally suited for representing complex natural signals and their derivatives using implicit neural representations. We also prototype several boundary value problems that our framework is capable of solving robustly. There are several exciting avenues for future work, including the exploration of other types of inverse problems and applications in areas beyond implicit neural representations, for example neural ODEs [46]. While we demonstrate the feasibility of generalizing across signals represented by SIREN networks, the fidelity of the resulting representations is limited—investigating effective alternatives is an important direction for future work. An immediate application of SIREN may be the compression of large-scale 3D models, as SIREN may represent them at a high visual fidelity with a relativily small number of parameters and resulting small file sizes.

如何表示一个信号,是科学与工程中许多问题的核心。隐式神经表示相对传统的连续和离散表示可能带来若干潜在好处,从而为其中许多问题提供新的工具。我们表明,周期激活函数非常适合用隐式神经表示来刻画复杂自然信号及其导数。我们还给出了若干边值问题的原型,表明本文框架能够稳健地求解它们。未来工作有几个值得期待的方向,包括探索其他类型的逆问题,以及在隐式神经表示之外的领域中的应用,例如神经常微分方程 [46]。虽然我们展示了在由 SIREN 网络表示的信号之间做泛化是可行的,但所得表示的保真度仍然有限——研究有效的替代方案是未来工作的一个重要方向。SIREN 的一个直接应用可能是大规模三维模型的压缩,因为它可以用相对较少的参数和由此得到的较小文件,以很高的视觉保真度表示这些模型。

Concurrent work investigates directions related to our approach. Locally decoding a discrete voxelgrid into an implicit neural representation [11, 12, 51] similarly enables the representation of fine detail. Tancik et al. [61] extend the previously proposed first-layer positional encoding [5, 48] and investigate its properties through the perspective of the neural tangent kernel [62].

同期工作探讨了与我们方法相关的方向。把离散体素网格局部解码成隐式神经表示 [11, 12, 51],同样能够表示细部。Tancik 等人 [61] 扩展了此前提出的第一层位置编码 [5, 48],并从神经正切核的角度研究了它的性质 [62]。

Broader Impact

更广泛的影响

The proposed SIREN representation enables accurate representations of natural signals, such as images, audio, and video in a deep learning framework. This may be an enabler for downstream tasks involving such signals, such as classification for images or speech-to-text systems for audio. Such applications may be leveraged for both positive and negative ends. SIREN may in the future further enable novel approaches to the generation of such signals. This has potential for misuse in impersonating actors without their consent. For an in-depth discussion of such so-called DeepFakes, we refer the reader to a recent review article on neural rendering [16].

提出的 SIREN 表示能够在深度学习框架中准确表示图像、音频和视频等自然信号。这可能为涉及这类信号的下游任务提供支持,例如图像分类,或音频上的语音转写系统。这些应用既可能被用于正面目的,也可能被用于负面目的。SIREN 在未来还可能进一步促成生成这类信号的新方法。这存在未经当事人同意而冒充其形象的滥用风险。关于所谓 DeepFake 的深入讨论,我们建议读者参阅一篇关于神经渲染的近期综述 [16]。

Acknowledgments and Disclosure of Funding

致谢与资助声明

V.S., A.W.B., and D.B.L. were supported by a Stanford Graduate Fellowship. J.N.P.M was supported by a Swiss National Science Foundation Fellowship (P2EZP2-181817). G.W. was supported by a Sloan Fellowship, by the NSF (award numbers 1553333 and 1839974), and a PECASE by the ARO.

V.S.、A.W.B. 和 D.B.L. 得到斯坦福研究生奖学金资助。J.N.P.M 得到瑞士国家科学基金会奖学金资助(P2EZP2-181817)。G.W. 得到 Sloan 奖学金、美国国家科学基金会(资助号 1553333 和 1839974)以及陆军研究办公室 PECASE 的资助。

References

参考文献

[1] Jeong Joon Park, Peter Florence, Julian Straub, Richard Newcombe, and Steven Lovegrove. Deepsdf: Learning continuous signed distance functions for shape representation. In Proc. CVPR, 2019.

[2] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proc. CVPR, 2019.

[3] Shunsuke Saito, Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proc. ICCV, pages 2304–2314, 2019.

[4] Matan Atzmon and Yaron Lipman. Sal: Sign agnostic learning of shapes from raw data. In Proc. CVPR, 2020.

[5] Ben Mildenhall, Pratul P Srinivasan, Matthew Tancik, Jonathan T Barron, Ravi Ramamoorthi, and Ren Ng. Nerf: Representing scenes as neural radiance fields for view synthesis. In Proc. ECCV, 2020.

[6] Kyle Genova, Forrester Cole, Daniel Vlasic, Aaron Sarna, William T Freeman, and Thomas Funkhouser. Learning shape templates with structured implicit functions. In Proc. ICCV, pages 7154–7164, 2019.

[7] Kyle Genova, Forrester Cole, Avneesh Sud, Aaron Sarna, and Thomas Funkhouser. Deep structured implicit functions. arXiv preprint arXiv:1912.06126, 2019.

[8] Mateusz Michalkiewicz, Jhony K Pontes, Dominic Jack, Mahsa Baktashmotlagh, and Anders Eriksson. Implicit surface representations as layers in neural networks. In Proc. ICCV, pages 4743–4752, 2019.

[9] Amos Gropp, Lior Yariv, Niv Haim, Matan Atzmon, and Yaron Lipman. Implicit geometric regularization for learning shapes. In Proc. ICML, 2020.

[10] Vincent Sitzmann, Michael Zollhöfer, and Gordon Wetzstein. Scene representation networks: Continuous 3d-structure-aware neural scene representations. In Proc. NeurIPS 2019, 2019.

[11] Chiyu Jiang, Avneesh Sud, Ameesh Makadia, Jingwei Huang, Matthias Nießner, and Thomas Funkhouser. Local implicit grid representations for 3d scenes. In Proc. CVPR, pages 6001–6010, 2020.

[12] Songyou Peng, Michael Niemeyer, Lars Mescheder, Marc Pollefeys, and Andreas Geiger. Convolutional occupancy networks. In Proc. ECCV, 2020.

[13] Zhiqin Chen and Hao Zhang. Learning implicit fields for generative shape modeling. In Proc. CVPR, pages 5939–5948, 2019.

[14] Michael Oechsle, Lars Mescheder, Michael Niemeyer, Thilo Strauss, and Andreas Geiger. Texture fields: Learning texture representations in function space. In Proc. ICCV, 2019.

[15] Michael Niemeyer, Lars Mescheder, Michael Oechsle, and Andreas Geiger. Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision. In Proc. CVPR, 2020.

[16] Ayush Tewari, Ohad Fried, Justus Thies, Vincent Sitzmann, Stephen Lombardi, Kalyan Sunkavalli, Ricardo Martin-Brualla, Tomas Simon, Jason Saragih, Matthias Nießner, et al. State of the art on neural rendering. Proc. Eurographics, 2020.

[17] Michael Niemeyer, Lars Mescheder, Michael Oechsle, and Andreas Geiger. Occupancy flow: 4d reconstruction by learning particle dynamics. In Proc. ICCV, 2019.

[18] Amit Kohli, Vincent Sitzmann, and Gordon Wetzstein. Semantic implicit neural scene representations with semi-supervised training. Proc. 3DV 2020, 2020.

[19] Ronald Gallant and Halbert White. There exists a neural network that does not make avoidable mistakes. In Proc. IEEE Int. Conference on Neural Networks, pages 657–664, 1988.

[20] Abylay Zhumekenov, Malika Uteuliyeva, Olzhas Kabdolov, Rustem Takhanov, Zhenisbek Assylbekov, and Alejandro J Castro. Fourier neural networks: A comparative study. arXiv preprint arXiv:1902.03011, 2019.

[21] Josep M Sopena, Enrique Romero, and Rene Alquezar. Neural networks with periodic and monotonic activation functions: a comparative study in classification problems. In Proc. ICANN, 1999.

[22] Kwok-wo Wong, Chi-sing Leung, and Sheng-jiang Chang. Handwritten digit recognition using multilayer feedforward neural networks with periodic and monotonic activation functions. In Object recognition supported by user interaction for service robots, volume 3, pages 106–109. IEEE, 2002.

[23] Giambattista Parascandolo, Heikki Huttunen, and Tuomas Virtanen. Taming the waves: sine as activation function in deep neural networks, 2016. URL https://openreview.net/forum?id=Sks3zF9eg.

[24] Subham S Sahoo, Christoph H Lampert, and Georg Martius. Learning equations for extrapolation and control. arXiv preprint arXiv:1806.07259, 2018.

[25] Peng Liu, Zhigang Zeng, and Jun Wang. Multistability of recurrent neural networks with nonmonotonic activation functions and mixed time delays. IEEE Trans. on Systems, Man, and Cybernetics: Systems, 46 (4):512–523, 2015.

[26] Renée Koplon and Eduardo D Sontag. Using fourier-neural recurrent networks to fit sequential input/output data. Neurocomputing, 15(3-4):225–248, 1997.

[27] M Hisham Choueiki, Clark A Mount-Campbell, and Stanley C Ahalt. Implementing a weighted least squares procedure in training a neural network to solve the short-term load forecasting problem. IEEE Trans. on Power systems, 12(4):1689–1694, 1997.

[28] René Alquézar Mancho. Symbolic and connectionist learning techniques for grammatical inference. Universitat Politècnica de Catalunya, 1997.

[29] JM Sopena and R Alquezar. Improvement of learning in recurrent networks by substituting the sigmoid activation function. In Proc. ICANN, pages 417–420. Springer, 1994.

[30] Michal Rosen-Zvi, Michael Biehl, and Ido Kanter. Learnability of periodic activation functions: General results. Physical Review E, 58(3):3606, 1998.

[31] Emmanuel J Candès. Harmonic analysis of neural networks. Applied and Computational Harmonic Analysis, 6(2):197–218, 1999.

[32] Shaobo Lin, Xiaofei Guo, Feilong Cao, and Zongben Xu. Approximation by neural networks with scattered data. Applied Mathematics and Computation, 224:29–35, 2013.

[33] Sho Sonoda and Noboru Murata. Neural network with unbounded activation functions is universal approximator. Applied and Computational Harmonic Analysis, 43(2):233–268, 2017.

[34] Kenneth O Stanley. Compositional pattern producing networks: A novel abstraction of development. Genetic programming and evolvable machines, 8(2):131–162, 2007.

[35] Alexander Mordvintsev, Nicola Pezzotti, Ludwig Schubert, and Chris Olah. Differentiable image parameterizations. Distill, 3(7):e12, 2018.

[36] Sylwester Klocek, Łukasz Maziarka, Maciej Wołczyk, Jacek Tabor, Jakub Nowak, and Marek Śmieja. Hypernetwork functional image representation. In Proc. ICANN, pages 496–510. Springer, 2019.

[37] Hyuk Lee and In Seok Kang. Neural algorithm for solving differential equations. Journal of Computational Physics, 91(1):110–131, 1990.

[38] Isaac E Lagaris, Aristidis Likas, and Dimitrios I Fotiadis. Artificial neural networks for solving ordinary and partial differential equations. IEEE Trans. on neural networks, 9(5):987–1000, 1998.

[39] Shouling He, Konrad Reif, and Rolf Unbehauen. Multilayer neural networks for solving a class of partial differential equations. Neural networks, 13(3):385–396, 2000.

[40] Nam Mai-Duy and Thanh Tran-Cong. Approximation of function and its derivatives using radial basis function networks. Applied Mathematical Modelling, 27(3):197–220, 2003.

[41] Leah Bar and Nir Sochen. Unsupervised deep learning algorithm for pde-based forward and inverse problems. arXiv preprint arXiv:1904.05417, 2019.

[42] Justin Sirignano and Konstantinos Spiliopoulos. Dgm: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339–1364, 2018.

[43] Maziar Raissi. Deep hidden physics models: Deep learning of nonlinear partial differential equations. The Journal of Machine Learning Research, 19(1):932–955, 2018.

[44] Maziar Raissi, Paris Perdikaris, and George E Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019.

[45] Jens Berg and Kaj Nyström. A unified deep artificial neural network approach to partial differential equations in complex geometries. Neurocomputing, 317:28–41, 2018.

[46] Tian Qi Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In Proc. NIPS, pages 6571–6583, 2018.

[47] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In Proc. NIPS Workshops, 2017.

[48] Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. In Proc. NeurIPS, pages 1177–1184, 2008.

[49] Patrick Pérez, Michel Gangnet, and Andrew Blake. Poisson image editing. ACM Trans. on Graphics, 22 (3):313–318, 2003.

[50] Ankur Handa, Thomas Whelan, John McDonald, and Andrew J Davison. A benchmark for rgb-d visual odometry, 3d reconstruction and slam. In Proc. ICRA, pages 1524–1531. IEEE, 2014.

[51] Rohan Chabra, Jan Eric Lenssen, Eddy Ilg, Tanner Schmidt, Julian Straub, Steven Lovegrove, and Richard Newcombe. Deep local shapes: Learning local sdf priors for detailed 3d reconstruction. arXiv preprint arXiv:2003.10983, 2020.

[52] Zhongying Chen, Dongsheng Cheng, Wei Feng, and Tingting Wu. An optimal 9-point finite difference scheme for the helmholtz equation with pml. International Journal of Numerical Analysis & Modeling, 10 (2), 2013.

[53] Hossein S Aghamiry, Ali Gholami, and Stéphane Operto. Improving full-waveform inversion by wavefield reconstruction with the alternating direction method of multipliers. Geophysics, 84(1):R139–R162, 2019.

[54] Tristan Van Leeuwen and Felix J Herrmann. Mitigating local minima in full-waveform inversion by expanding the search space. Geophysical Journal International, 195(1):661–667, 2013.

[55] Stephen Boyd, Neal Parikh, Eric Chu, Borja Peleato, Jonathan Eckstein, et al. Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends® in Machine learning, 3(1):1–122, 2011.

[56] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proc. ICCV, December 2015.

[57] Marta Garnelo, Dan Rosenbaum, Chris J Maddison, Tiago Ramalho, David Saxton, Murray Shanahan, Yee Whye Teh, Danilo J Rezende, and SM Eslami. Conditional neural processes. arXiv preprint arXiv:1807.01613, 2018.

[58] SM Ali Eslami, Danilo Jimenez Rezende, Frederic Besse, Fabio Viola, Ari S Morcos, Marta Garnelo, Avraham Ruderman, Andrei A Rusu, Ivo Danihelka, Karol Gregor, et al. Neural scene representation and rendering. Science, 360(6394):1204–1210, 2018.

[59] Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive neural processes. Proc. ICLR, 2019.

[60] David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. In Proc. ICLR, 2017.

[61] Matthew Tancik, Pratul P Srinivasan, Ben Mildenhall, Sara Fridovich-Keil, Nithin Raghavan, Utkarsh Singhal, Ravi Ramamoorthi, Jonathan T Barron, and Ren Ng. Fourier features let networks learn high frequency functions in low dimensional domains. In Proc. NeurIPS, 2020.

[62] Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. In Proc. NeurIPS, pages 8571–8580, 2018.