# STAR-XPC: Set Transformer for Estimating X-ray Transmission in Polymer Composites

DevFeed: [STAR-XPC: Set Transformer for Estimating X-ray Transmission in Polymer Composites](<https://devfeed.tech/articles/star-xpc-set-transformer-for-estimating-x-ray-transmission-in-polymer-composites-94796.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.28709>)

Author: Can Erer, H. Birkan Yilmaz, Nebahat Aral

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [swift-transformers](<https://devfeed.tech/topics/swift-transformers.md>)

Tags: [beam](<https://devfeed.tech/tags/beam.md>), [chemistry](<https://devfeed.tech/tags/chemistry.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [inference](<https://devfeed.tech/tags/inference.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [orders](<https://devfeed.tech/tags/orders.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [radiation](<https://devfeed.tech/tags/radiation.md>), [ratio](<https://devfeed.tech/tags/ratio.md>), [set](<https://devfeed.tech/tags/set.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [transmission](<https://devfeed.tech/tags/transmission.md>)

## AI overview

STAR-XPC estimates X-ray transmission through polymer shielding composites in milliseconds, providing a fast surrogate for Monte Carlo simulations that can take several hours. It uses a permutation-invariant Set Transformer to process mixtures of up to 11 molecular constituents, their mass fractions, and four bulk physical descriptors; ChemBERTa supplies constituent embeddings. The model was trained on 4,697 configurations generated with PENELOPE/penEasy for polyethylene-based slabs 0.15-2.5 mm thick under 30, 80, 100, and 120 kV sources. In jointly stratified, leakage-free 10-fold cross-validation, it achieved R² = 0.9988, median absolute percentage error of 1.15%, and an alpha-trimmed error of 1.66%. These results are reported for the simulated configurations and described setup.

## Source excerpt

arXiv:2610.28709v1 Announce Type: new Abstract: Evaluating the energy transmission ratio of an X-ray beam through a polymer composite is a challenging task in radiation shielding studies. The reference solution with Monte Carlo transport simulation is highly accurate but computationally expensive: each of our reference simulations is capped at $4\times10^9$ photon histories and a 20,000 s (over 5 hours) time limit, while closed-form analytical methods fail to represent such complex scenarios. We present an artificial neural network model that maps the unordered multi-set of molecular constituents, their mass fractions, and four bulk physical descriptors directly to the transmission ratio $I(t)/I_0$ in 1-3 milliseconds. The model is a Set Transformer, which makes it permutation invariant by construction and accepts mixtures of different sizes up to 11 constituents within a fixed-size padded set. Each constituent is embedded with a chemistry-pretrained transformer language model, ChemBERTa. In our proposed method, training data are produced by an automated PENELOPE/penEasy pipeline using the radiation source at 30, 80, 100, and 120 kV tube voltages over polyethylene-based shielding composite slabs of thicknesses spanning 0.15-2.5 mm. After preprocessing, the dataset contains $n = 4697$ simulated configurations on which a leakage-free, jointly stratified 10-fold cross-validation is performed, attaining mean squared error MSE = $(1.12 \pm 0.56)\times10^{-4}$, normalized-MSE percentage NMSE% = 0.0294% $\pm$ 0.0147%, and $R^2 = 0.9988$. The corresponding per-sample percentage errors give an alpha-trimmed ($\alpha = 0.10$) absolute percentage error (APE) of 1.66% and a median APE of 1.15%. Our model's inference is several orders of magnitude faster than the underlying Monte Carlo simulation (sub-millisecond per query vs. several hours for the reference run) with effective accuracy in predicting $I(t)/I_0$.