SharpNet: Enhancing MLPs to Represent Functions with Controlled Non-differentiability
Hanting Niu, Junkai Deng, Fei Hou, Wencheng Wang, Ying He
Abstract
Multi-layer perceptrons (MLPs) are a standard tool for learning and function approximation, but they inherently produce globally smooth outputs. Consequently, they struggle to represent functions that are continuous yet intentionally non-differentiable (i.e., functions with prescribed C 0 sharp features) without ad hoc post-processing. We present SharpNet , a modified MLP architecture that encodes user-specified sharp features by augmenting the network with an auxiliary feature function defined as the solution to Poisson's equation with jump Neumann boundary conditions. This feature function is evaluated via an efficient local integral and is fully differentiable with respect to the feature locations, allowing us to jointly optimize both the feature locations and the MLP parameters to recover the target function or geometry. This construction provides precise control over where non-differentiability occurs, enforcing the desired C 0 behavior at feature locations while preserving smoothness elsewhere. We validate SharpNet on 2D problems and 3D CAD reconstruction, and compare it with several state-of-the-art baselines. In both settings, SharpNet accurately recovers sharp edges and corners while remaining smooth away from them, whereas existing methods tend to blur gradient discontinuities. Qualitative and quantitative results demonstrate the effectiveness of our approach. Our project page, code and models are publicly available at https://sharpnettech.github.io.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on14
- Instant neural graphics primitives with a multiresolution hash encodingThomas Müller, Alex Evans, Christoph Schied, Alexander KellerSIGGRAPH 2022 · 4,089 citations
- Implicit Neural Representations with Periodic Activation FunctionsVincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell et al.NeurIPS 2020 · 4,008 citations
- NeuS: Learning Neural Implicit Surfaces by Volume Rendering for Multi-view ReconstructionPeng Wang, Lingjie Liu, Yuan Liu, Christian Theobalt et al.NeurIPS 2021 · 2,500 citations
- Neural-Pull: Learning Signed Distance Function from Point clouds by Learning to Pull Space onto SurfaceBaorui Ma, Zhizhong Han, Yu-Shen Liu, Matthias ZwickerICML 2021 · 215 citations
- Geometry-Consistent Neural Shape Representation with Implicit Displacement FieldsYifan Wang, Lukas Rahmann, Olga Sorkine-HornungICLR 2022 · 81 citations
Related papers
- Neural dual contouringZhiqin Chen, Andrea Tagliasacchi, Thomas A. Funkhouser, Hao ZhangSIGGRAPH 2022 · 98 citations
- Deep Implicit Moving Least-Squares Functions for 3D ReconstructionShi-Lin Liu, Hao-Xiang Guo, Hao Pan, Peng-Shuai Wang et al.CVPR 2021
- Implicit Geometric Regularization for Learning ShapesAmos Gropp, Lior Yariv, Niv Haim, Matan Atzmon et al.ICML 2020 · 1,001 citations
- Learning Smooth Neural Functions via Lipschitz RegularizationHsueh-Ti Derek Liu, Francis Williams, Alec Jacobson, Sanja Fidler et al.SIGGRAPH 2022 · 63 citations
- CAPRI-Net: Learning Compact CAD Shapes with Adaptive Primitive AssemblyFenggen Yu, Zhiqin Chen, Manyi Li, Aditya Sanghi et al.CVPR 2022 · 53 citations
