Search arXivSearch

arXiv · 2604.08116

A unifying view of contrastive learning, importance sampling, and bridge sampling for energy-based models

Abstract

In the last decades, energy-based models (EBMs) have become an important class of probabilistic models in which a component of the likelihood is intractable and therefore cannot be evaluated explicitly. Consequently, parameter estimation in EBMs is challenging for conventional inference methods. In this work, we provide a unified framework that connects noise contrastive estimation (NCE), reverse logistic regression (RLR), multiple importance sampling (MIS), and bridge sampling within the context of EBMs. We further show that these methods are equivalent under specific conditions. This unified perspective clarifies relationships among existing methods and enables the development of new estimators, with the potential to improve statistical and computational efficiency. Furthermore, this study helps elucidate the success of NCE in terms of its flexibility and robustness, while also identifying scenarios in which its performance can be further improved. Hence, rather than being a purely descriptive review, this work offers a unifying perspective and additional methodological contributions. The MATLAB code used in the numerical experiments is also made freely available to support the reproducibility of the results.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Luca Martino. 2026-06-25. A unifying view of contrastive learning, importance sampling, and bridge sampling for energy-based models. https://arxiv.org/abs/2604.08116

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

KATOsuper: Surrogate-accelerated neural topology optimization with sensitivity-consistent Fourier neural operators

Topology optimization (TO) remains computationally intensive due to repeated finite element analysis (FEA) evaluations required at each iteration. While neural network-based surrogates offer potential acceleration, existing approaches often suffer from gradient inconsistency between predicted objectives and sensitivities, leading to optimization instability. This work presents KATOsuper, an objective-agnostic framework that couples neural-reparameterized topology optimization with a Sensitivity-Consistent Fourier Neural Operator (SC-FNO). The framework employs the forward_split architecture, which derives deployed sensitivities via automatic differentiation through the predicted objective field and thereby preserves consistency between the predicted objective and the gradient used for optimization. The case studies include three 2D benchmark problems and three 3D structures considering compliance or stress minimization. A physics-informed multi-channel input encoding with Fourier position embedding enables resolution-invariant learning, supporting zero-shot extrapolation beyond the training resolution, with useful performance at moderate scaling factors and topology-preserving exploration at up to 64x without retraining. The framework extends to 3D through KATO3D, featuring novel KANConv3D blocks with learnable B-spline activations. KATOsuper demonstrates 15--110x deployment-time speedup over MATLAB baselines while maintaining competitive optimality, with the clearest gains observed in complex 3D and stress-optimization cases. The insight that sensitivity direction matters more than magnitude enables robust optimization even with approximate physics evaluation, extensible to other differentiable physics-driven design objectives.

cs.CE

Geometry-Based Metrics for Early-Stage Hull-Form Producibility Screening

This paper presents a representation-aware framework for geometry-based screening of hull-form producibility at early design stages. The proposed signature combines dimensionless total and signed developability deviation with curvature-class area fractions, distributed fields, metric-specific validity, and representation provenance. These descriptors characterize surface features relevant to plate forming and developability, but are not calibrated predictors of fabrication cost, forming effort, or process feasibility. Native IGES/STEP boundary representations (BReps) are evaluated through direct differential geometry and trimmed-domain quadrature, whereas triangulated surfaces use discrete curvature recovery and area-weighted aggregation. Analytical and semi-analytical controls verify the formulation, while matched-face BRep-to-mesh tests assess discrete curvature recovery. Application to DTMB 5415, KCS, JBC, and KVLCC2M shows that curvature intensity and areal extent provide complementary information and that derivative-based outcomes can be representation sensitive. KCS, for example, exhibits approximately 24% greater developability deviation than DTMB 5415, while double-curved regions occupy 72.9% of its valid surface versus nearly the entire DTMB valid surface. The resulting quantities provide an early geometric screening layer for subsequent use as objectives, constraints, surrogate responses, or design-space features. HullProd, the companion open-source software, implements the signature, distributed fields, validity, and provenance.

cs.CE

Topology optimization of multimaterial aircraft pylons using generalized shape function approach

As the primary structural component connecting the engine to the wing or fuselage, an aircraft pylon requires optimized structural efficiency; this paper provides topology optimization of multimaterial pylons using the generalized shape function (gSF) approach. The gSF method uses $n$ natural-coordinate design variables per element to provide optimized designs up to $2^n$ distinct material phases while promoting close to discrete material layouts in conjunction with the density and formulated Heaviside projection filters. Pylon structural compliance is minimized subject to volume constraints. Exploiting the geometric features of a typical pylon structure, multimaterial evolution is performed on a corresponding 2D design domain representing the midplane, with up to 14 candidate materials. The optimized two-dimensional layout is then extruded to achieve the corresponding three-dimensional optimized pylon structure. The Method of Moving Asymptotes is employed to achieve the final design variables. The resulting convergence histories exhibit smooth and stable objective minimization. The results highlight the capability of the multimaterial topology optimization framework to effectively optimized aircraft pylons with multiple candidate materials, without requiring a considerable expansion of the design variable set.

cs.CE