arXiv Science⌕ Search

arXiv subjects

Rafał Topolnicki

Publications and source records attributed to Rafał Topolnicki.

9 recordsLinked to original sources

Topological analysis of permeability tensor in anisotropic porous media

The permeability of an anisotropic porous medium is a tensor whose off-diagonal components, which describe the deflection of the macroscopic flux away from the driving force, are small and change sign under reflections. We ask whether direction-aware topological data analysis can predict the full permeability tensor of three-dimensional porous media directly from their geometry. We introduce two direction-aware topological descriptors for flow problems: a cone-based filtration, adapted from our earlier work on the elastic stiffness tensor, and a throat-scale filtration built on the distance transform of the pore space. Using permeability tensors computed with the lattice Boltzmann method, we compare them with a comprehensive set of non-topological baselines, comprising statistical microstructure descriptors and physics-based permeability estimators. The topological descriptors are most informative for the off-diagonal components, which the baselines capture least well. There the throat-scale filtration alone outperforms every non-topological descriptor set, including the union of all statistical descriptors and physics-based estimators, and adding it to the baselines consistently improves the prediction. We also confirm the approach on real rock data.

physics.comp-ph↗

Can end-to-end learning from raw electronic structure explain magnetic anisotropy?

Machine-learning models trained directly on electronic spectra can predict spin--orbit-driven properties, yet models with comparable predictive accuracy may learn different electronic dependencies. We examine this problem using magnetic anisotropy in atomic-scale magnets and a validation strategy designed to assess the physical relevance of learned spectral relationships. We compare a bidirectional gated recurrent unit and a one-dimensional convolutional neural network, both trained to predict magnetic anisotropy energy (MAE) from spin- and orbital-resolved scalar-relativistic densities of states (SR-DOS). Despite comparable in-domain (ID) accuracy, the architectures learn only partly overlapping spectral dependencies. Shapley additive explanations identify spectral features shared between the two architectures that can be associated with plausible spin--orbit-coupling pathways consistent with second-order perturbation theory (PT2). Adding PT2-derived MAE contributions to the model inputs has little effect on ID performance but can improve transfer beyond the training domain, with gains differing between architectures. Controlled spectral perturbations further demonstrate that similar attribution patterns do not imply the same functional dependence of the predicted MAE on spectral weight. The contrasting responses provide a functional context for architecture-dependent out-of-domain transfer. End-to-end learning can identify candidate electronic signatures of magnetic anisotropy. Their credible microscopic interpretation, however, rests on convergent evidence from predictive performance, model comparison, physical theory, controlled spectral interventions, and evaluation under distribution shift.

cond-mat.mtrl-sci↗

Robust Importance Sampling for Rare Events via Constrained Gaussian Mixtures

We study estimating rare-event probabilities $I = \mathbb{P}(g(\mathbf{X}) > γ)$ with $\mathbf{X} \sim \mathcal{N}(\boldsymbolμ, \boldsymbolΣ)$ and general $g : \mathbb{R}^d \to \mathbb{R}$. We address this problem through importance sampling, and propose a framework that substantially improves efficiency and robustness over baselines such as crude Monte Carlo, adaptive cross-entropy, variational-inference-based methods (including reverse- and forward-KL approaches), as well as Safe-ICE, Subset Simulation, and Sequential Monte Carlo, drawing on ideas from both rare-event estimation and cross-entropy optimization. The key contribution has two parts: first, we separate the problem into coverage, to overcome the cold-start barrier, and fitting, to refine proposals once a meaningful signal is available; second, we constrain the final GMM proposal so that it has finite importance-sampling variance (since coverage alone is not sufficient -- without safeguards, importance sampling may still suffer from infinite variance). Together, these ingredients yield expressive proposals; finite variance does not by itself guarantee practical stability at a fixed sampling budget. Extensive experiments demonstrate substantial variance reduction, strong robustness across diverse benchmarks, and favorable cost--efficiency trade-offs, with the proposed approach often outperforming these baselines, particularly in high-dimensional and multimodal settings where competing methods frequently become unstable or fail. Our code is available at https://github.com/lorek/robust-cfi-is.

cs.LG↗

Estimation of conditional inequality curves and measures via estimating the conditional quantile function

In the paper conditional inequality curves and measures are proposed which allow us to describe the inequality/concentration of the conditional distribution of the feature we are interested in with respect to certain continuous variables. Moreover, for a graphical illustration of the change in values of the proposed conditional indices, a curve of conditional inequality measures is introduced. To estimate the curves and measures, a new method is proposed to estimate the conditional quantile function. This method uses quantile regression estimates for a given set of quantile orders, followed by isotonic regression on the estimated regression coefficients to ensure that the estimated conditional quantile function is nondecreasing. The consistency of the proposed estimators is proved while their finite sample performance is evaluated through simulation studies and compared with existing approaches. Finally, practical application of conditional curves and measures is demonstrated by determining estimated curves of conditional salary inequalities with respect to years of experience in different employee tenure groups, based on some real data. The code used to prepare the simulation results presented in this paper is available in a dedicated GitHub repository.

math.ST↗

Direction-aware topological descriptors for elastic stiffness tensor prediction in porous materials

Classical topological descriptors used in topological data analysis (TDA) are invariant under permutations of spatial axes and therefore cannot represent the loading direction, which is essential for modeling anisotropic mechanical response. Here, this limitation is addressed by introducing a direction-aware TDA framework in which the loading axis is explicitly embedded into filtration functions used to compute both persistent homology and Euler characteristic profile descriptors. We apply this framework to predict the full elastic stiffness tensor of porous microstructures using non-directional as well as direction-aware descriptors of the structures as well as convolutional neural networks trained directly on the voxelized structure. We show that the performance of all those are comparable on the diagonal uniaxial, Poisson, and shear components. However for the twelve off-diagonal, normal shear coupling components - which govern elastic anisotropy and are the hardest to predict - only direction-aware topology retains meaningful predictive power, with all baselines, non-directional descriptors and the CNN collapsing to near-chance accuracy. When used as inputs to gradient-boosted tree models, the proposed descriptors match or exceed the accuracy of the convolutional neural network specifically on these hardest-to-predict coupling terms, despite relying on a compact, physically interpretable representation that is orders of magnitude smaller than the raw voxel grid. Overall, the results establish direction-aware TDA as a practical route for linking porous microstructure to the full anisotropic elastic response, capturing coupling terms that conventional descriptors and end-to-end deep learning models fail to resolve.

physics.comp-ph↗

Transferable 3D Convolutional Neural Networks for Elastic Constants Prediction in Nanoporous Metals

The topology of nanoporous metals is crucial for determining their mechanical response. In this work, we generated 6,000 gold and 422 silver nanoporous structures and calculated three components of elastic modulus with Molecular Dynamics simulations, resulting in 19,263 data points. This study compared two distinct approaches of predicting elastic modulus: a Fully-Connected neural network trained on precomputed topological descriptors, and several 3D Convolutional neural network architectures adapted from computer vision. The 3D CNNs outperformed the descriptor-based baseline model ($R^2 = 0.704$), with to-performing DenseNet-201 architecture achieving $R^2 = 0.955$. Additionally, the effects of training grid resolution, dataset size, and descriptor integration into a model were investigated. We further demonstrated model robustness through Transfer learning: a pretrained model was fine-tuned on a much smaller dataset of denser gold structures and the dataset of denser silver structures. Finally, the trained model was employed to evaluate the mechanical properties of 100,000 stochastic nanoporous gold structures and identify the Pareto optimal designs.

cond-mat.mtrl-sci↗

Physics-informed convolutional neural networks for fluid flow through porous media

Accurate simulation of fluid flow in porous media is challenging due to complex pore-space geometries and the computational cost of solving the Navier-Stokes equations. This difficulty is particularly important when repeated simulations are required, as standard numerical solvers may converge slowly in intricate porous domains. We present a neural-network-based framework for predicting pore-scale velocity fields directly from sample geometry. The method uses a convolutional encoder-decoder architecture with skip connections to preserve spatial detail while extracting multi-scale features. Physical consistency is encouraged through a custom loss function combining velocity reconstruction with incompressibility, no-flow conditions inside solids, periodicity constraints, and agreement with the global tortuosity index. We analyze the influence of the corresponding loss weights and quantify the contribution of individual loss components to prediction accuracy. Several CNN backbones are evaluated to identify architectures providing accurate and robust predictions. The generalization ability of the trained model is tested on samples outside the training distribution, including changes in obstacle geometry, boundary conditions, porosity, and realistic porous structures. Finally, we demonstrate a practical use of the predicted velocity fields as initial conditions for Lattice-Boltzmann simulations. This warm-start strategy accelerates solver convergence, reducing the number of iterations in over 90% of tested cases.

cs.LG↗

Reducing Estimation Uncertainty Using Normalizing Flows and Stratification

Estimating the expectation of a real-valued function of a random variable from sample data is a critical aspect of statistical analysis, with far-reaching implications in various applications. Current methodologies typically assume (semi-)parametric distributions such as Gaussian or mixed Gaussian, leading to significant estimation uncertainty if these assumptions do not hold. We propose a flow-based model, integrated with stratified sampling, that leverages a parametrized neural network to offer greater flexibility in modeling unknown data distributions, thereby mitigating this limitation. Our model shows a marked reduction in estimation uncertainty across multiple datasets, including high-dimensional (30 and 128) ones, outperforming crude Monte Carlo estimators and Gaussian mixture models. Reproducible code is available at https://github.com/rnoxy/flowstrat.

cs.LG↗

Topology-Driven Goodness-of-Fit Tests in Arbitrary Dimensions

This paper adopts a tool from computational topology, the Euler characteristic curve (ECC) of a sample, to perform one- and two-sample goodness of fit tests. We call our procedure TopoTests. The presented tests work for samples of arbitrary dimension, having comparable power to the state-of-the-art tests in the one-dimensional case. It is demonstrated that the type I error of TopoTests can be controlled and their type II error vanishes exponentially with increasing sample size. Extensive numerical simulations of TopoTests are conducted to demonstrate their power for samples of various sizes.

stat.ME↗