원시데이터 수집 시스템
선정목록으로

Elucidating governing factors of PFAS removal by polyamide membranes using machine learning and molecular simulations

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)

기본 정보

저자
  1. Nohyeong Jeong — School of Civil & Environmental Engineering, Georgia Institute of Technology, Atlanta, GA, 30332, USA
  2. Shinyun Park — Department of Civil and Environmental Engineering, Colorado State University, Fort Collins, CO, 80523, USA|||School of Sustainable Engineering and the Built Environment, Arizona State University, Tempe, AZ, 85287, USA
  3. Subhamoy Mahajan — Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, 53706, USA
  4. Ji Zhou — Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, 53706, USA
  5. Jens Blotevogel — Commonwealth Scientific and Industrial Research Organisation (CSIRO), Environment, Waite Campus, Urrbrae, 5064, Australia|||Department of Civil and Environmental Engineering, Colorado State University, Fort Collins, CO, 80523, USA
  6. Ying Li — Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, 53706, USA. yli2562@wisc.edu|||Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, 53706, USA
  7. Tiezheng Tong — Department of Civil and Environmental Engineering, Colorado State University, Fort Collins, CO, 80523, USA. tiezheng.tong@asu.edu|||School of Sustainable Engineering and the Built Environment, Arizona State University, Tempe, AZ, 85287, USA. tiezheng.tong@asu.edu|||School of Sustainable Engineering and the Built Environment, Arizona State University, Tempe, AZ, 85287, USA|||Department of Civil and Environmental Engineering, Colorado State University, Fort Collins, CO, 80523, USA
  8. Yongsheng Chen — School of Civil & Environmental Engineering, Georgia Institute of Technology, Atlanta, GA, 30332, USA. yongsheng.chen@ce.gatech.edu|||School of Civil & Environmental Engineering, Georgia Institute of Technology, Atlanta, GA, 30332, USA
DOI
10.1038/s41467-024-55320-9
저널
Nature Communications
발행년도
2024
발행기관
Nature Portfolio
피인용수
48
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41467-024-55320-9
토픽
Membrane Separation and Gas Transport
OpenAlex ID
W4405895621

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
polyamide membranes, PFAS removal, machine learning, molecular dynamics simulations, nanofiltration
판단 근거
본 논문은 수처리용 폴리아미드(polyamide) 분리막의 PFAS 제거 성능을 머신러닝과 분자 시뮬레이션으로 분석한 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, 수소연료전지(PEMFC)용 중공사막(hollow fiber membrane) 및 고분자막 연구에 사용되는 폴리아미드 소재의 막 투과 메커니즘 및 물성 제어 원리에 학술적 응용이 가능합니다.
R&D 활용 포인트
폴리아미드 기반 분리막의 이온 전도성, 선택적 투과성 및 화학적 내구성을 설계할 때, 머신러닝 모델을 활용하여 특정 오염물질이나 이온에 대한 막의 거동을 예측하고 최적의 막 구조를 설계하는 데 활용할 수 있습니다.
평가 입력
본문 78,347자 중 30,032자 발췌

초록

Per- and polyfluoroalkyl substances (PFASs) have recently garnered considerable concerns regarding their impacts on human and ecological health. Despite the important roles of polyamide membranes in remediating PFASs-contaminated water, the governing factors influencing PFAS transport across these membranes remain elusive. In this study, we investigate PFAS rejection by polyamide membranes using two machine learning (ML) models, namely XGBoost and multimodal transformer models. Utilizing the Shapley additive explanation method for XGBoost model interpretation unveils the impacts of both PFAS characteristics and membrane properties on model predictions. The examination of the impacts of chemical structure involves interpreting the multimodal transformer model incorporated with simplified molecular input line entry system strings through heat maps, providing a visual representation of the attention score assigned to each atom of PFAS molecules. Both ML interpretation methods highlight the dominance of electrostatic interaction in governing PFAS transport across polyamide membranes. The roles of functional groups in altering PFAS transport across membranes are further revealed by molecular simulations. The combination of ML with computer simulations not only advances our knowledge of PFAS removal by polyamide membranes, but also provides an innovative approach to facilitate data-driven feature selection for the development of high-performance membranes with improved PFAS removal efficiency.

본문 78,347자

본문 펼치기
Article https://doi.org/10.1038/s41467-024-55320-9 # Elucidating governing factors of PFAS removal by polyamide membranes using machine learning and molecular simulations Received: 19 March 2024 Accepted: 9 December 2024 Check for updates Nohyeong Jeong 1,6, Shinyun Park2,3,6, Subhamoy Mahajan 4, Ji Zhou4, Jens Blotevogel 2,5, Ying Li 4, Tiezheng Tong 2,3 & Yongsheng Chen 1 Per- and polyfluoroalkyl substances (PFASs) have recently garnered considerable concerns regarding their impacts on human and ecological health. Despite the important roles of polyamide membranes in remediating PFASscontaminated water, the governing factors influencing PFAS transport across these membranes remain elusive. In this study, we investigate PFAS rejection by polyamide membranes using two machine learning (ML) models, namely XGBoost and multimodal transformer models. Utilizing the Shapley additive explanation method for XGBoost model interpretation unveils the impacts of both PFAS characteristics and membrane properties on model predictions. The examination of the impacts of chemical structure involves interpreting the multimodal transformer model incorporated with simplified molecular input line entry system strings through heat maps, providing a visual representation of the attention score assigned to each atom of PFAS molecules. Both ML interpretation methods highlight the dominance of electrostatic interaction in governing PFAS transport across polyamide membranes. The roles of functional groups in altering PFAS transport across membranes are further revealed by molecular simulations. The combination of ML with computer simulations not only advances our knowledge of PFAS removal by polyamide membranes, but also provides an innovative approach to facilitate data-driven feature selection for the development of high-performance membranes with improved PFAS removal efficiency. Per- and polyfluoroalkyl substances (PFASs) are anthropogenic compounds that possess a fluorinated carbon backbone and varying functional head groups. The strong carbon-fluorine bonds and helical conformation that shields the redox-reactive carbons on the inside <sup>1</sup> lead to exceptional stability of PFASs <sup>2,3</sup> with high resistance to water, oil, and heat <sup>4</sup> . These unique properties make PFASs suitable for a broad range of commercial applications, such as nonstick cookware, stainresistance products, and flame retardants <sup>4–7</sup>, but the persistence, toxicity, and bioaccumulative potential of PFASs have garnered considerable concerns regarding their impacts on both human and 1School of Civil & Environmental Engineering, Georgia Institute of Technology, Atlanta, GA 30332, USA. 2Department of Civil and Environmental Engineering, Colorado State University, Fort Collins, CO 80523, USA. <sup>3</sup> School of Sustainable Engineering and the Built Environment, Arizona State University, Tempe, AZ 85287, USA. <sup>4</sup> Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI 53706, USA. <sup>5</sup> Commonwealth Scientific and Industrial Research Organisation (CSIRO), Environment, Waite Campus, Urrbrae 5064, Australia. <sup>6</sup> These authors contributed equally: Nohyeong Jeong, Shinyun Park. [e-mail: yli2562@wisc.edu; tiezheng.tong@asu.edu; yongsheng.chen@ce.gatech.edu](mailto:yli2562@wisc.edu) ecological health <sup>8,9</sup> . The health concerns on long-chain PFASs, such as perfluorooctane sulfonic acid (PFOS) and perfluorooctanoic acid (PFOA), have led to gradual phase-out in long-chain PFAS production within North America and Europe <sup>10</sup>, which is accompanied by a shift towards higher productions of shorter-chain alternatives <sup>11–13</sup> . However, recent investigations also reveal toxicity associated with short-chain PFAS compounds due to their similar persistence and higher mobility compared to their long-chain counterparts <sup>11,12</sup> . The ubiquitous presence of PFASs in global water resources has raised alarm as reported by numerous studies <sup>4,14–18</sup> . It has been suggested that PFAS-contaminated drinking water is one of the major pathways of PFAS exposure to humans <sup>19–21</sup>, resulting from ineffective PFAS removal by conventional water treatment processes <sup>19,22</sup> . Recently, the U.S. Environmental Protection Agency (USEPA) proposed the final National Primary Drinking Water Regulation for six PFAS species, setting extremely low maximum contamination levels (MCLs) for PFOA and PFOS at 4 ng L^-1 as well as other PFASs including perfluorohexane sulfonic acid (PFHxS), perfluorononanoic acid (PFNA), and GenX at 10 ng L^-1 <sup>23</sup> . Such stringent regulations, along with the threat of an expanding list of PFASs with regulatory implications, warrant the need to develop effective technologies for PFAS removal <sup>23</sup> . Such technologies are vital for the potential upgrade of water treatment facilities to meet the corresponding regulations. Membrane separation represents an important approach of treating PFAS-contaminated water sources <sup>24–26</sup> . Previous studies have evaluated the efficiencies of PFAS removal by nanofiltration (NF) and reverse osmosis (RO), in which a dense polyamide membrane with subnanometer pores is used to allow faster and selective transport of water over PFAS <sup>26–30</sup> . While several studies have applied computational chemistry techniques to predict PFAS degradation and adsorption <sup>31–33</sup>, to the best of our knowledge, no effective approaches for predicting membrane separation performance in PFAS removal, which is essential for rational membrane selection and design, have been reported in the literature. Such a knowledge gap is largely due to the lack of a mechanistic understanding of PFAS interactions with polyamide membranes at both the water-membrane interface and the molecular level. Despite the importance of membrane and PFAS properties in governing PFAS transport, a fundamental property-structureperformance relationship has not been established for PFAS removal by polyamide NF and RO membranes. Various PFAS compounds, which are well beyond the well-studied PFOS and PFOA, may vary in functional group substitution, ionization state, chain length, and other characteristics <sup>34,35</sup> . The diverse properties of PFASs, coupled with the existence of membranes with varied perm-selectivity, make the identification of key factors governing PFAS removal in membrane treatment a particularly complex and challenging task. Predictive models that can accurately estimate the efficiency of PFAS removal while unveiling the influences of membrane and molecular properties on PFAS transport across polyamide membranes are critical. Such models not only contribute to the advancement of knowledge but also facilitate wide adoption of polyamide NF and RO membranes for the remediation of PFAS-contaminated waters. In recent years, machine learning (ML) algorithms have been increasingly applied to predicting membrane performance and investigating the governing mechanisms of membrane separation <sup>36–40</sup> . Thanks to its powerful capability of leveraging large datasets, ML can uncover intricate relationships among multiple variables. While ML has been successfully used to forecast the efficiency of polyamide NF and RO membranes in removing organic micropollutants <sup>36,41,42</sup>, its applications to PFAS removal are very limited <sup>40</sup> . Furthermore, ML models predicting membrane performance in the literature have predominantly relied on molecular descriptors, such as molecular weight and logarithm of n-octanol/water partition coefficient (log Kow), while direct utilization of chemical structures as input variables has been rarely explored. The incorporation of chemical structure in ML models can provide a more in-depth understanding of how specific structural features influence the behavior of PFAS transport during membrane filtration. However, integrating information of chemical structure into ML models remains a significant challenge given the diverse molecular configurations of PFAS compounds. Transformer neural network, initially developed for natural language processing (NLP), has been successfully applied to computer vision and material design <sup>43–45</sup> . Unlike traditional neural networks, transformers apply a novel mechanism known as “attention”, which allows them to selectively prioritize input variables during model training <sup>46</sup> . This distinct mechanism enables transformers to effectively analyze and identify the interdependencies between variables, highlighting the influences of individual elements within a sequence. By utilizing simplified molecular input line entry system (SMILES) strings to represent the intricate chemical structures of PFAS compounds, the robust capabilities of transformers in analyzing sequential data offer a promising approach to exploring the impacts of chemical structures on the transport of PFASs across polyamide membranes. In this study, we employ XGBoost and multimodal transformer models to elucidate the performance and underlying mechanisms of PFAS removal by polyamide NF and RO membranes (Fig. 1). Using training data collected from existing literature sources, the predictive performances of the ML models are evaluated with our experimental data obtained from NF treatment of aqueous film forming foam (AFFF)-contaminated feedwater. Given that AFFF contains a diverse set of PFAS compounds, evaluating the ML models with this PFAS mixture serves as a robust method to validate the accuracy and generalizability of models in predicting membrane performance for PFAS removal. To investigate the PFAS transport mechanisms with XGBoost model, we employ Shapley additive explanation (SHAP), a model interpretation method rooted in the cooperative game theory <sup>47</sup>, to analyze the key governing factors influencing PFAS removal by polyamide membranes. We then introduce a novel methodology utilizing a multimodal transformer model to investigate the role of chemical structure in governing PFAS removal through heat maps, which visualize the contributions of individual chemical elements to the model prediction. The integrated interpretation applied to XGBoost and multimodal transformer models provides macroscopic insights related to membrane and PFAS properties, as well as microscopic perspectives pertaining to chemical structure. This approach enhances our understanding of PFAS removal by offering a comprehensive analysis at both levels. The molecular mechanisms underlying PFAS removal by polyamide NF and RO membranes unveiled by the ML models were further probed by molecular dynamics (MD) simulations. We conclude with a discussion on the implications of our findings to the use of NF and RO as competitive and vital technologies to achieve efficient remediation of PFAS-contaminated waters. Results and discussion Prediction performance of ML models The XGBoost and multimodal transformer models were trained with 457 data points collected from existing literature sources, which include PFAS removal pertaining to 21 PFAS species and 16 types of polyamide NF and RO membranes. The model performance was subsequently assessed using 77 data points obtained from our own experiments. By evaluating the model accuracy with a complex mixture of PFASs from AFFF-contaminated feedwater (Supplementary Data 1), we demonstrated the performance of the ML models under a more challenging condition (than using individual PFAS). The predictive accuracy was examined using root mean squared error (RMSE) and mean absolute error (MAE). As shown in Fig. 2, the XGBoost model has a RMSE of 8.4% and a MAE of 6.4%, while RMSE and MAE of the multimodal transformer model are 5.9% and 4.5%, respectively (Supplementary Table 1). Although the multimodal transformer model shows slightly better predictive accuracy, such minor differences suggest that these models are comparable in their predictive performance. Compared to previous studies using ML to estimate membrane performance (RMSE of 4.6–17.5%; MAE of 6.1–13.2%) <sup>36–38,41,48</sup>, the XGBoost and multimodal transformer models in this study exhibited comparable or superior predictive accuracy. Expanding the dataset to include a broader range of PFAS removal rates and standardizing experimental protocols across studies are crucial to enhance model accuracy and reliability further. Additionally, as shown by our recent publications <sup>36,37</sup>, ML models with strong predictive performance can adequately capture solute transport mechanisms. Accordingly, we evaluate the potentialof our ML models to reveal the governing factors of PFAS removal by polyamide NF and RO membranes in the next sections. Identifying key factors for PFAS removal by the SHAP method Although ML techniques have been increasingly applied in the fields of environmental science and engineering <sup>36–40,49</sup>, the black box nature of ML makes it challenging to understand the decision-making process. Explainable artificial intelligence (XAI) has been used to explore the contributions of input variables and the underlying knowledge of ML models, enhancing the trust and confidence of the model predictions <sup>36,37,50–53</sup> . In this section, we implemented the SHAP method, a type of XAI based on the cooperative game theory, to elucidate the knowledge of the XGBoost model regarding the governing mechanisms of PFAS removal by polyamide membranes. As shown in Fig. 3a, the SHAP summary plot illustrates the influence of each input variable on the model prediction. The y-axis Experimental data XGBoost SHAP plots Influence of chemical structure on the PFAS removal High Low PFAS structure PFAS removal Multimodal transformer model PFAS removal O O OH F F F F F F F Fig. 1 | Workflow of XGBoost and multimodal transformer models for predicting PFAS removal rates by polyamide NF and RO membranes. The SHAP method was used for the interpretation of the XGBoost model, while attention a) XGBoost Training RMSE: 0.7% Training MAE: 0.5% RMSE: 8.4% MAE: 6.4% Fig. 2 | Predictive performance of XGBoost and the multimodal transformer models for PFAS removal. For the XGBoost model, numerical variables representing PFAS characteristics, membrane properties, and operational conditions were used as input variables. The multimodal transformer model used the same scores of layers from the multimodal transformer model were extracted for presenting the importance of each PFAS atom to the model prediction. b) Transformer Training RMSE: 5.1% Training MAE: 3.3% RMSE: 5.9% MAE: 4.5% Training data Testing data numerical variables in addition to SMILES strings that encode chemical structure of PFAS molecules. The x-and y-axes present the real and predicted removal of PFASs, respectively. Source data are provided as a Source Data file. a) High b) Charge product MWCO log Kow Cin IS Compound size Pressure WCA Charge product MWCO log Kow Cin IS Compound size Pressure WCA -15 -10 -5 0 5 Low SHAPv ulae SHAPI mpotrance c) 5 0 -5 d) e) 5 0 -4 -8 1.8% f) 4 0 -4 -8 -10 -15 -2 0 2 4 6 0 -5 -10 -15 100 200 300 0 2 4 0 2 4 6 8 10 Charge product MWCO( Da) log Kow Cin <sup>(mM)</sup> Fig. 3 | SHAP analysis of key variable influencing PFAS removal prediction by the XGBoost model. a SHAP summary, b SHAP importance, and SHAP dependence plots for (c) charge product, (d), molecular weight cut-off (MWCO), (e) log Kow, and (f) initial concentration of PFAS (Cin) obtained from the XGBoost model. IS and WCA refer to ionic strength and water contact angle of membranes, respectively. arrangement indicates the hierarchical importance of the input variable, with importance descending from the top to the bottom. The colors of dots, combined with their SHAP values, demonstrate the correlations of input variables with their SHAP values. To further quantify these SHAP values, we calculated the average of absolute SHAP values of all data points (i.e., the SHAP importance score). As presented in Fig. 3b, the input variables with the largest contributions to the model predictions (i.e., the highest SHAP importance scores) are charge product (whose definition is described in the Methods section), molecular weight cut-off (MWCO), log Kow, and initial concentration of PFAS (Cin). Considering the membrane separation mechanisms related to those input variables, electrostatic interaction, which is directly represented by the charge product, is the most important separation mechanism that determines the model predictions of PFAS removal by polyamide NF and RO membranes, followed by size exclusion (manifested by MWCO) and adsorption (manifested by log Kow and Cin). Although the SHAP importance score reveals the dominant factors that possess the highest weights to determine the model predictions, the correlation of each input variable with the model output, which is essential to understanding whether the knowledge learned by ML models aligns with the domain knowledge, is still unclear. Hence, we further probed the impacts of the four top-ranked input variables (i.e., charge product, MWCO, log Kow, and Cin) using SHAP dependence plots (Fig. 3c–f), which elucidate how the SHAP value changes as a function of each variable. As shown in Fig. 3c, the SHAP values increase with charge product (i.e., an increase of charge product leads to an increase of PFAS removal rate). Due to the acidic functional groups (e.g., carboxyl and sulfonate groups) and strong electronegativity of fluorine <sup>54</sup>, most PFASs exhibit low pKa values (typically pKa < 1, Supplementary Table 2). Therefore, PFASs are subject to nearly complete deprotonation and carry negative charges under most experimental pH conditions (pH of 3.5–10.0) from which the PFAS removaldata were collected. Except for perfluorooctane sulfonamide (FOSA), electrostatic repulsion (i.e., charge product>0) exists between the PFASs and the membrane surface, due to the negative charge of polyamide membranes as a result of carboxyl groups generated from hydrolysis For easier comparison, each importance score is normalized by the importance score of the input variable with the highest importance in Fig. 3b. The encircled data points in Fig. 3e indicate outliers. Source data are provided as a Source Data file. of the unreacted acyl chloride (−C( = O)Cl) groups <sup>55</sup> . As electrostatic repulsion between the negatively charged PFASs and membrane surface gets stronger (an increase of charge product), a higher removal rate of PFAS is correctly predicted by the XGBoost model (higher SHAP values). The contribution of MWCO to the model prediction is presented in Fig. 3d. The decrease of MWCO leads to an increase of SHAP values, indicating that lower PFAS removal rates are predicted by the ML model for membranes with higher MWCO values, which are typically related to larger membrane pore sizes. This result is consistent with the mechanism of size exclusion for membrane separation. For example, the data points with low SHAP values (e.g., less than −4.2, indicating low PFAS removal) are associated with membranes with the highest MWCO (e.g., the XN45 membrane), which are known as loose polyamide NF membranes that have limited solute-retaining capability. The third- and fourth-ranked variables are log Kow and the initial concentration of PFAS (Cin), both of which are related to adsorption (Fig. 3e, f). Figure 3e shows the influence of log Kow on the model predictions. Except for a small fraction (1.8%) of outliers, higher SHAP values were generally observed as a result of an increase of log Kow, which corresponds to a higher tendency of adsorption <sup>56,57</sup> . As reported in the literature <sup>56,58,59</sup>, adsorption of PFASs to the membrane surface contributes to their removal by NF membranes, especially at the early stage of membrane filtration. Also, the binding kinetics for long-chain PFASs are faster than short-chain PFASs due to their stronger hydrophobic interactions with membranes <sup>24,56</sup> . While log Kow primarily represents the hydrophobicity of compounds <sup>60,61</sup>, it is also an indirect indicator of PFAS size that is positively correlated to PFAS removal rate based on size exclusion. As the chain length of PFAS species increases, its hydrophobic nature typically gets stronger <sup>59,62</sup>, leading to a higher log Kow. This intertwined relationship between molecular size and hydrophobicity could be attributed when explaining the correlation between SHAP value and log Kow. Despite a high contribution of Cin to the model predictions, we did not observe a clear relationship between Cin and SHAP values (Fig. 3f). a) b) c) Hgih Low PFBA PFPeA PFHxA PFHpA PFOA PFNA PFDA PFUnA PFPrS PFBS PFPeS PFHxS PFHpS PFOS PFDS PFMOPrA PFMOBA GenX 4:2 FTS 6:2 FTS FOSA Fig. 4 | Heat maps highlighting attention scores of atoms for PFASs. Heat maps categorize PFAS into (a) PFCAs (blue box), (b) PFSAs (green box), and (c) other PFASs (orange box). The details of those PFASs categories are shown in Supplementary Table 2. The chemical structures of the PFAS compounds shown in this figure are also presented in Supplementary Fig. 2. Source data are provided as a Source Data file. This lack of trend might be due to a broad range of Cin used in the literature for our dataset. Although a majority ( ~ 70%) of the data points are associated with low PFAS concentrations of less than 20 µM, ~30% of data points involve higher Cin up to higher than 9 mM (Supplementary Fig. 1). Given such a skewed data distribution, it is challenging for the ML model to capture a clear, linear correlation of Cin with the SHAP value across the entire range. Even though, the XGBoost model is still able to capture the impact of Cin from several small portions of the data range without compromising the model performance due to the nature of gradient boosting tree. Probing key factors for PFAS removal by transformer model Although the SHAP approach provides essential insights into the key factors that govern PFAS removal by polyamide NF and RO membranes, it remains elusive how chemical features of PFASs influence their transport across polyamide membranes. To bridge this knowledge gap, we implemented multimodal transformer model, which is known for its effectiveness of processing sequential data like SMILES strings. The heat-map visualization of the attention score of each atom from the multimodal transformer model enables us to identify specific atoms (and the corresponding functionalgroups) thathave the highest importance in model predictions. Based on the functionality of PFAS species, the heat maps were grouped into perfluoroalkyl carboxylic acids (PFCAs), perfluoroalkyl sulfonic acids (PFSAs), and other PFASs (Fig. 4), where the colors of the atoms depict the values of attention scores. As shown by the heat maps of PFCAs (Fig. 4a), the oxygen atomsof the carbonyl group (as part of the carboxyl group) exhibit the highest attention scores across all the PFCA compounds, regardless of the chain length. Similarly, the sulfur atom within the sulfonate group exhibited the highest attention scores for PFSA compounds (Fig. 4b). The particular functional groups associated with those atoms displaying the highest attention scores deprotonate at the experimental pH and result in a negative charge, which largely governs the electrostatic interactions of PFASs with the membrane surface. In contrast, carbon and fluorine atoms tend to exhibit lower attention scores. Therefore, in alignment with the insights revealed by the SHAP method (Fig. 3), the multimodal transformer model consistently identifies electrostatic interaction as the predominant mechanism influencing the model prediction of polyamide NF and RO membrane performance. The heat maps for other PFAS compounds than PFCAs and PFSAs, including perfluoro-3-methoxypropanoic acid (PFMOPrA), perfluoro4-methoxybutanoic acid (PFMOBA), 2,3,3,3-tetrafluoro-2-(heptafluoropropoxy)propanoic acid (GenX), 1H,1H,2H,2H-perfluorohexane sulfonic acid (4:2 FTS), 1H,1H,2H,2H-perfluorooctane sulfonic acid (6:2 FTS), and FOSA, are shown in Fig. 4c. For PFMOPrA, PFMOBA, and GenX, the oxygen atoms associated with the carbonyl group exhibit the highest attention scores, suggesting that the dominant role of electrostatic interaction in regulating PFAS removal also applies to those carboxyl-containing PFAS species. Interestingly, the oxygen atoms representing the ether (−O−) group also show high attention scores for these PFAS species. The presence of an ether group increases the hydrophilicity of PFASs and thus alters their interactions with the membrane (the role of ether group in PFAS-membrane interactions is further discussed in the next section). Also, the heat maps of 4:2 FTS and 6:2 FTS, both of which contain a sulfonate group, demonstrate a similar trend to that of PFSAs. In these cases, the sulfur atom shows the strongest influence on the model predictions. However, the highest attention score of FOSA is attributed to the fluorine atoms at the center of the compound. Unlike other PFAS compounds investigated in this study, the pKa value of FOSA is close to neutral pH (Supplementary Table 2) due to the presence of sulfonamide group. This leads to a reduced degree of deprotonation and consequently, much weaker electrostatic interaction between FOSA and membrane surface. Thus, multimodal transformer model adeptly identifies functional distinctions between FOSA and other PFAS compounds, uniquely prioritizing the estimation of compound size. This estimation, indicated by the distance between the compound’s center and head group, emerges as a pivotal chemical feature for predicting FOSA removal. We further quantify the influence of chemical structure on PFAS removal by calculating the relative percentage of attention score (out of the total attention score summed for all the atoms) for each functional group (Supplementary Fig. 3). Compared to the carboxyl group of PFCAs with the same chain length (excluding the carbon in the functional group), the sulfonate group of PFSAs generally has a higher attention score percentage. Although both PFSAs and PFCAs are easily deprotonated, the pKa values of PFSAs are lower than those of PFCAs (Supplementary Table 2), suggesting more negative molecular charge and consequently stronger electrostatic interactions with membrane surfaces for PFSAs. Such an effect is further supported by the atomic charge (i.e., the distribution of electron density across individual atoms in a molecule <sup>63</sup> ) of PFCAs and PFSAs (Supplementary Figs. 4 and 5). Compared to the oxygen atoms of carboxyl groups, the oxygen atoms of sulfonate groups exhibit more negative atomic charges, indicating stronger electrostatic interactions with membrane surfaces. Thus, the multimodal transformer model discerned such differences in PFAS-membrane interactions when making predictions of PFAS removal by polyamide NF and RO membranes. Additionally, for other PFAS species than PFCAs and PFSAs, the functional groups pertaining to the atom where the atomic charge is the most negative generally match those with the highest attention scores from the Fig. 5 | Molecular dynamics simulation of PFAS rejection mechanisms in a charged PIP-TMC membrane. a The initial system configuration of PFAS (cyan: carbon, yellow: hydrogen, and red: oxygen), polyamide membrane (red; yellow: deprotonation sites), and neutralizing sodium ions (green). The water molecules are not shown. b the potential of mean force for moving PFAS across the polyamide membrane. The dashed line marks the reference free energy. The dotted line marks the boundaries of the dense layer of the polyamide membrane. c Comparison of the multimodal transformer model (except for FOSA), as shown in Fig. 4 and Supplementary Fig. 6. Therefore, both ML models (i.e., the XGBoost model and multimodal transformer model) reveal unequivocally that functional groups relating to electrostatic interactions are the major structural features that govern the removal of most PFASs by polyamide NF and RO membranes. The roles of functional groups in regulating PFAS transport across polyamide membrane will be further explored by computer simulations in the next section. Mechanisms of PFAS transport revealed by MD simulations MD simulations were performed to probe the molecular mechanisms of PFAS transport across a charged and crosslinked piperazine (PIP) effective free energy barrier in the PMF profile (gray) and the number of hydrogen bonds lost by the PFAS at the dense layer of the polyamide membrane (red). Examples of hydrogen bonding (black dashed line) of (d) PFHxA, (e) GenX, and (f) PFPeS in bulk water (top) and the dense layer of the polyamide membrane (bottom). Cyan: carbon, pink: fluorine, white: hydrogen, red: oxygen, and yellow: sulfur. Source data are provided as a Source Data file. trimesoyl chloride (TMC) polyamide membrane (Fig. 5a). We selected three PFASs including PFHxA, GenX, and PFPeS that contain different functional groups (carboxyl, carboxyl+ether, and sulfonic) with identical carbon chain lengths. Due to their low pKa values (Supplementary Table 2), ionized PFAS molecules were used in our simulations. The potential of mean force (PMF) profiles (Fig. 5b) were obtained by umbrella sampling simulations followed by the weighted histogram analysis method (WHAM) <sup>64</sup> to probe the differences between the PFAS transport. Additionally, the PMF of transporting a water molecule was calculated for comparison. Initially, the PMF decreases as PFAS moves from bulk water towards the polyamide membrane ( | z| from 5 to 3.5 nm), denoting spontaneous adsorption due to their hydrophobic character (e.g., Liu et al. <sup>65</sup> ). The adsorption free energy is observed to be −12 to −9 kJ mol^-1. As the PFAS enters the dense layer of the polyamide membrane ( | z | <3.5 nm; dotted lines in Fig. 5b) and moves towards the center, the PMF increases, denoting exclusion free energy arising from size, charge, and dielectric exclusion effects. The exclusion free energy defined as the difference between maximum and minimum PMF is in the range of 55-65 kJ mol^-1. Both the adsorption and exclusion free energy contribute to PFAS rejection. The adsorption free energy presents as an energy barrier for PFAS to move from the polyamide membrane to permeate-side bulk water, whereas exclusion free energies prevent PFAS from entering the membrane. In comparison to PFAS, water does not show any adsorption and has an exclusion free energy of 5.7 kJ mol^-1. The higher energy barriers of PFAS molecules compared to water indicates that PFAS transport is significantly hindered, while water molecules can easily permeate through the membrane. Since the exclusion free energy of PFAS is much higher than its adsorption free energy, the former is more significant for PFAS rejection. These results are consistent with ML results that find charge product and MWCO is more significant for PFAS rejection than log Kow. The permeability and rejection trends of PFAS are dependent on the maximum PMF that reflects the energy barrier ΔG <sup>z</sup> associated with a PFAS reaching the center of the polyamide membrane. The ΔG <sup>z</sup> of PFAS is much higher than water and follows the order GenX ≤ PFPeS <PFHxA (Fig. 5c). To interpret the order of ΔG <sup>z</sup>, van der Waals and electrostatic energies (Supplementary Fig. 7), total number of hydrogen bonds (Supplementary Fig. 8), average orientation of PFAS (Supplementary Fig. 9), and root-mean-squared-deviation of PFAS (a measure of conformational change; Supplementary Fig. 10) were calculated along the reaction coordinate. The increase in electrostatic energy as PFAS moves from bulk water toward the center of the membrane (Supplementary Fig. 7) follows the same order as that of ΔG <sup>z</sup> (GenX <PFPeS <PFHxA). The change in the van der Waals (modeled using Lennard-Jones interactions) and electrostatic (modeled using Coulombic interactions) energies along the reaction coordinates (Supplementary Fig. 7) demonstrates that change in electrostatic interactions is more dominant than van der Waals. Since the PFAS molecules have the same net charge, the difference in electrostatic energies indicates the influence of dipole-dipole and dipole-charge interactions between PFAS and polyamide membrane. This implies that electrostatic attraction from dipole-dipole and dipole-charge interactions between PFAS and the polyamide membrane lowers the energy barrier created by electrostatic repulsion. While the input variables of ML models do not contain dipole properties of PFAS, higher attention scores in carboxyl, sulfonate, and ether groups indicate that the importance of electronegative atoms, which play a significant role in dipole interactions, are captured by the models to a certain degree. The order of van der Waal’s interaction energy is opposite to that of ΔG <sup>z</sup> and much lower in magnitude than electrostatic energy. The fluctuations in the number of hydrogen bonds of PFAS along the reaction coordinate z negatively correlated with the fluctuations in the PMF (Supplementary Fig. 8), indicating that dehydration of PFAS is likely to play a role in regulating PFAS rejection. The total number of hydrogen bonds lost by PFAS as it moves from bulk water ( | z | > 5 nm) to the center of the membrane ( | z | <3.5 nm) is shown in Figs. 5c–f. The number of hydrogen bonds lost is indicative of PFAS dehydration and follows the order of PFHxA <GenX <PFPeS. Such an order does not follow the order of ΔG <sup>z</sup> but matches that of log Kow of PFAS (Supplementary Table 2) because higher lipophilicity leads to higher propensity of PFAS dehydration. Therefore, while dehydration of PFAS might influence the membrane rejection performance, it is not as influential as the effects of electrostatic and size exclusion. This result is also consistent with ML results where log Kow was found to be less influential than parameters associated with electrostatic and size exclusion (e.g., charge product and MWCO). The PFAS molecules exhibited significant changes in orientation and conformation near the center of the membrane, which did not correspond to fluctuations in the PMF (Supplementary Fig. 9). We attribute these changes to the tortuous nature of the pore pathways in the polyamide membrane. Environmental implications In this study, we employed XGBoost and multimodal transformer models to elucidate the governing factors of PFAS removal by polyamide NF and RO membranes. Both XGBoost and multimodal transformer models exhibited high prediction accuracy (with RMSE and MAE values of 6–8% and 5-6%, respectively), effectively correlating multiple variables (including membrane and PFAS properties as well as operational conditions) with membrane efficiency of PFAS rejection. The XGBoost model, interpreted with the SHAP method, and the multimodal transformer model, incorporating SMILES strings, consistently highlight the importance of electrostatic interaction in governing PFAS removal during NF and RO processes. MD simulations results agree well with ML results in identifying electrostatic interaction as a major governing factor for PFAS removal by polyamide membrane. Also, MD simulations confirm the importance of functional groups in regulating PFAS transport. Specifically, MD simulations demonstrate that electrostatic attraction from dipole interactions reduces the electrostatic exclusion effects. Additionally, PFAS dehydration (loss of hydrogen bonds) is identified as one important factor for PFAS rejection. The ML model interpretation plays a pivotal role in unraveling the complex mechanisms behind predictive analytics. In this study, ML model interpretation methods, including the SHAP method for the XGBoost model and heat maps highlighting the attention scores for the multimodal transformer model, unveil the underlying mechanisms of PFAS transport, based on which the performance predictions of ML models are determined. On one hand, the SHAP method for interpreting the XGBoost model reveals the general and macroscopic insights on how numerical values representing material properties and operational conditions govern the efficiency of NF and RO in removing PFASs. On the other hand, the multimodal transformer model integrated with molecular structures using SMILES strings provides a microscopic, molecular-level understanding of the detailed influences by chemical features of PFASs. This dual approach not only enhances the trust of the ML models but also promotes mechanistic knowledge of PFAS transport across polyamide membranes. The application of ML model interpretation methods, as demonstrated by the current study, can transform ML algorithms from simple predictive models into powerful tools of understanding and discovering complex governing factors behind the performance of membrane separation. Furthermore, the results of this study, which identify key chemical features governing PFAS transport, have the potential to inform rational feature selection for membrane fabrication and optimization. For example, the highest importance of charge product and charged functional groups, as discerned by the interpretation of XGBoost and transformer models respectively, indicate that controlling electrostatic interactions between PFASs and membrane should be a prioritized strategy of promoting membrane selectivity to charged PFASs. Such knowledge attained by the ML models aligns with the outcomes of MD simulations, which demonstrates that PFAS molecules with the same carbon number but different functional groups experience varied energy barriers when traversing through polyamide membrane. Enhancing the electrostatic interactions by surface modification or the use of new monomers in interfacial polymerization is a promising direction of fabricating novel membrane materials with improved efficiency of PFAS removal. For instance, grafting materials with strong negative charge <sup>66</sup> or using monomers carrying negatively charged moieties in interfacial polymerization <sup>67</sup> has the potential of increasing electrostatic repulsion between PFAS and the membrane surface. Additionally, using monomers with lower dipole moments (e.g., melamine and pentaerythritol) may reduce the influence of electrostatic attraction from dipole interactions. We acknowledge that the majority of PFASs in our database are anionic species in nature. This is largely due to the lack of commercial standards for cationic, zwitterionic, and most non-ionic PFASs, and thus current mass-spectrometry based methods for PFAS quantification can only target anionic PFASs in most cases. Nevertheless, the ML methods presented in this study can be employed beyond anionic PFASs if their quantifications and corresponding removal efficiencies by polyamide NF and RO membranes are available in the future. Also, the high attention scores of ether group in determining model prediction suggest the importance of functional group substitution in PFAS transport across polyamide NF and RO membranes, which is also supported by the results of MD simulations. This highlights research needs of evaluating membrane performance for removing diverse PFASs species other than PFCAs and PFSAs. In addition, with proper feature engineering to capture the distinct physical and chemical properties, the approaches developed in this work have the potential to predict the performance and gain mechanistic knowledge for other materials, such as novel membranes made of two-dimensional materials and nanochannels, as well as for the development of novel adsorbents and catalysts. Such applications enable the design of materials by leveraging an enhanced understanding of the intricate relationship between structural details and performance of functional materials. Methods Data collection The data regarding PFAS rejection efficiencies of polyamide NF and RO membranes were collected from both the literature and our own experiments. For the data from the literature (Supplementary Data 1), which were used for ML model training, we extracted 457 data points either directly from tables presenting PFAS removal rates or by employing the Engauge Digitizer software to extract data from graphs. We also conducted experiments to evaluate the rejections of various PFASs from AFFF-contaminated feedwater using three commercial NF membranes and two modified NF membranes (Supplementary Table 3). From these experiments, 77 data points were acquired and used to assess the accuracy of ML models (Supplementary Data 1). The detailed membrane modification methods and the experimental procedure are described in the following sections. Materials The AFFF sample was obtained from 3 M Co. (St. Paul, Minnesota, US), and the standard solution (mass-labelled PFAS extraction, MPFAC24ES) for PFASs quantification was purchased from Wellington Laboratories Inc. (Ontario, Canada). Methanol ( > 99.9%, HPLC grade) was acquired from Honeywell (Muskegon, MI). Sodium chloride (NaCl, ≥99.0%), 2-propanol (IPA, ≥99.5%), ethanol (≥99%), hydrochloric acid (HCl, 36%), sodium hydroxide (NaOH, ≥97.0%), ammonium hydroxide (NH3OH, 28.0–30.0%), acrylic acid (CH2CHCOOH, ≥99.0%), potassium persulfate (K2S2O8, 99.0%), sodium bisulfite (Na2S2O5, ≥58.5%), dopamine chloride, tri(hydromethyl) aminomethane (Tris, ≥99.8%), and poly(ethylenimine) (PEI, MW 800) were all purchased from SigmaAldrich (St. Louis, MO). Deionized (DI) water ( > 18 MΩ∙cm) was provided from a water purification system (Millipore, Burlington, MA). Commercial flat sheet NF membranes (NF90, NF270, and NF) were purchased from DuPont FILMTEC (Wilmington, DE). Membrane surface modification Membrane surface modification was performed on NF270 membrane to achieve different membrane surface properties. We selected NF270 membrane for surface modification due to its loose structure and expected low PFAS removal efficiency (so that changing membrane surface properties has the best potential to alter the PFAS removal rates). Before membrane surface modification, NF270 membranes were initially immersed in a 25 v/v% IPA aqueous solution for 30 min and then washed thoroughly with DI water to remove impurities, followed by storage in DI water at 4 °C for further use. Two modification methods were employed to graft poly(acrylic acid) (PAA, a hydrophilic and negatively charged polymer) and poly(ethylenimine) (PEI, a hydrophilic and positively charged polymer) on the membrane surface. For the modification with PAA, a redox radical initiation reaction was employed, following the method reported by Belfer et al. <sup>68</sup> . Briefly, 1 M acrylic acid, 0.01 M K2S2O8 and 0.01 M Na2S2O5 solutions were prepared and poured onto the membrane surface to initiate the polymerization, which lasted for 1 h at the room temperature. The resulting PAA-modified membranes were then rinsed with DI water. For the modification with PEI, a dopamine-assisted grafting method was applied <sup>69</sup> . In short, 0.16 mM dopamine chloride was added to a Tris buffer solution (10 mM, pH 8.5) and then poured onto the membrane surface. After 1 h of dopamine polymerization reaction, polydopamine (PDA)-deposited membranes were rinsed with DI water, followed by immersion in 10 g L^-1 of PEI aqueous solution for 4 h at room temperature. Finally, PEI-modified membranes were rinsed with DI water. After the modification steps, the PAA- and PEI-modified membranes were stored at 4 ˚C until use. Membrane characterization Several techniques were employed to characterize the surface properties of the commercial and modified membranes. Water contact angles of the membranes were measured with a contact angle goniometer (Krüss DSA 10, Hamburg, Germany) using the sessile drop method. An electrokinetic analyzer with an adjustable gap cell (SurPASS, Anton-Paar, Graz, Austria) was employed to measure the zeta-potential of the membrane surface. The zeta potential measurements were performed with 1 mM KCl as background electrolytes in the pH range of 2 to 10, which was adjusted by titration of 0.1 M HCl and 0.1 M NaOH solutions. Detailed characteristics of the membranes can be found in Supplementary Table 3 and Supplementary Fig. 11. The evaluation of PFAS rejections by NF membranes The evaluation of PFAS rejections by the commercial and modified NF membranes was conducted in a lab-scale crossflow filtration system with an effective membrane area of 26.2 cm <sup>2</sup> . The crossflow velocity was 21.3 cm s^-1 and the operating temperature was controlled at 25 ± 1 ˚C. Before the tests, the filtration system was thoroughly cleaned with 1% NH4OH in DI water and ethanol (1:1) solution. The membranes were compacted overnight with DI water, and the pure water permeate flux was then measured by a digital flowmeter (FlowCal 5000, Tovatech, Plano, TX) to determine the water permeability coefficients of the membranes. Subsequently, NaCl was added to achieve an ionic strength of 10 mM in the feedwater for the measurement of NaCl rejection, followed by the addition of AFFF into the feed reservoir (the sum of detected PFASs concentrations was ~157 µg L^-1) with care to avoid bubble formation. The pH of the feedwater was adjusted (to pH of 5, 7, or 9) using 1 M HCl and 1 M NaOH solutions. The feed and permeate samples were collected in 15 mL polypropylene tubes (Corning Inc., Corning, NY) after 1 h operation and then stored at 4 °C until PFAS quantification. PFAS quantification For sample preparation, 100 µL of the collected feed or permeate sample was mixed with 100 µL of internal standard solution (20 µg L^-1, MPFAC-24ES in methanol) in a polypropylene vial (VWR, Radnor, PA). The prepared samples were analyzed by an Agilent 1290 liquid chromatography paired with an Agilent 6460 triple quadrupole mass spectrometer (LC-QQQ-MS, Agilent Technologies, Santa Clara, CA). The obtained concentrations were used for the calculation of PFAS rejection rates, which were used to evaluate the predictive performance of the ML models. Molecular properties of PFASs The SMILES strings of the PFASs included in our data set were used to build the molecular structure in Avogadro software (version 1.2.0). Such structures were imported into Marvin View (version 22.22.0, Chemaxon, Budapest, Hungary) for calculating the values of pKa, maximum/minimum projection radius of PFAS molecule, and log Kow. The computed values of the calculated molecular properties are listed in Supplementary Table 2 and Supplementary Data 1, with the obtained values being used as input variables for ML models. Additionally, atomic charges of the PFAS molecules were determined by the ORCA (version 5.0.3) software <sup>70</sup>, and the dissociation of PFASs was considered when calculating the atomic charge of each atom. The atomic charge calculations were performed using the density functional theory method of B3LYP (a hybrid functional in density functional theory, which combines Becke’s three-parameter exchange and Lee-Yang-Parr correlation) with def2-TZVPP basis set <sup>71</sup> . The impact of the solvent (i.e., water) was computed by utilizing the Conductor-like Polarizable Continuum Model (CPCM), and the values of static dielectric constant and refractive index of water are 80.4 and 1.3, respectively <sup>72</sup> . Finally, JANPA, an open-source JAVA software, was used for natural population analysis, which provides the value of atomic charge <sup>73</sup> . RDKit, a Python library, was then used to visualize the atomic charge of each atom in Supplementary Figs. 4–6. Variable selection for ML models We selected a set of variables pertaining to the properties of membranes and PFAS by considering membrane separation mechanisms such as size exclusion, Donnan exclusion, and adsorption <sup>36</sup> . As a result, eight variables were selected including compound size, log Kow, charge product (a product of membrane charge index and compound charge), water contact angle (WCA) and MWCO of the membranes, hydraulic pressure, Cin, and ionic strength (IS) of the feedwater. Especially, compound size and charge product were calculated using the following equations <sup>36</sup> . Compound size = ðmaximum projection radius ð1Þ × minimum projection radiusÞ <sup>0:5</sup> Charge product = membrane charge index × compound charge ð2Þ Membrane charge index = isoelectric point � pH ð3Þ where the compound charge was calculated by weighting charged and neutral forms of PFAS at the experimental pH according to their respective proportions <sup>36</sup> ; the isoelectric points of the membranes were determined by identifying the pH at which the zeta potentials of membranes became zero. For the multimodal transformer model, SMILES strings were tokenized, a process in which the strings are converted into numerical values, and these numerical values were incorporated as additional input variables. ML models and their interpretation We implemented two ML models, namely the XGBoost and multimodal transformer models, to predict PFAS removal by polyamide NF and RO membranes. The selection of the XGBoost model was due to its strong performance in many data science competitions and our previous publications <sup>36,37,74</sup> . While XGBoost has shown high predictive performance for structured and tabular data through its ensemble of decision trees <sup>74</sup>, the multimodal transformer model leverages attention mechanisms, which enable efficient capturing of interdependencies especially in sequences like SMILES strings <sup>46</sup> . Considering the potentially important roles of chemical structure on PFAS transport across membranes, the multimodal transformer model that incorporates SMILES strings representing structural where n is the number of samples, y represents the true values (i.e., the target labels of the dataset), <sup>^</sup> y represents the estimated values by the model. After training the model, we employed SHAP, a commonly used XAI technique <sup>36–38,51</sup>, to interpret the XGBoost model. In the SHAP method, the contribution of each variable to the model prediction is calculated by considering all possible combinations of variables and their corresponding contributions <sup>51</sup> . Thus, the use of SHAP enabled us to unveil the key factors governing PFAS removal by polyamide NF and RO membranes. For the multimodal transformer model, SMILES strings were utilized as additional inputs during model training. The SMILES strings were tokenized into numerical values, with each numerical value representing a specific chemical element, to facilitate their incorporation into the model. To ensure uniformity, the length of the tokens was standardized based on the longest set of tokens observed in the PFAS compounds present within the dataset. If the length of tokens was shorter than the maximum length, zeros were padded to achieve the required length. During the training of multimodal transformer model, attention scores were extracted from each input variable across different layers of multiple attention heads. These scores were then averaged for each atom within the structure of PFAS compounds to create heat maps, which visually represent the importance of each atom in determining PFAS removal by polyamide NF and RO membranes. MD simulations of PFAS transport across polyamide membrane Membrane preparation. Polyamide membrane composed of PIP and TMC was prepared with dimensions of 4.7 × 4.7 × 9 nm <sup>3</sup> . The PIP-TMC polyamide membrane was chosen as the representative NF membrane that is typically used in experiments. Compared to polyamide membranes fabricated using m-phenylene diamine (MPD) and TMC, the looser PIP-TMC polyamide membrane is also more likely to unveil the relation between the functional group and the rejection of PFAS <sup>25,75–77</sup> . The cross-linked membranes are prepared following our previous work <sup>78</sup> . The monomers, PIP and TMC, are randomly placed inside a simulation box with PIP:TMC molar ratio of 1.5 and a target density of 1.3 g cc^-1. The system of monomers is energy-minimized and simulated crosslinking is initiated under a canonical ensemble at 300 K. At each cross-linking step, the reactive sites of PIP and TMC were information has the potential to unveil the impacts of chemical features on PFAS removal by polyamide NF and RO membranes. To train the XGBoost and multimodal transformer models, we used 5-fold cross-validation and Bayesian optimization for hyperparameter tuning to avoid data leakage. Data were grouped according to experimental settings and combined with the corresponding PFAS names to create unique labels. Data sharing the same label were assigned to the same fold. This method ensured that data with similar experimental conditions (e.g., identical membrane type and PFAS, differing only in one variable) were kept within the same fold, effectively minimizing the risk of data leakage <sup>36,37</sup> . After optimizing the hyperparameters, the ML models were trained using the entire training dataset with the optimal hyper-parameters. The models’ predictive capabilities were then evaluated using our own experimental data on PFAS rejection. The performance of the models was evaluated by using RMSE and MAE. These metrics are mathematically expressed as follows: f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i ffi i = 1 RMSE = vf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i ffi uut1 Xn - y � <sup>^</sup> y�2 ð4Þ <u>1</u> n Xn MAE = <sup><u>1</u></sup> n MAE = <sup><u>1</u></sup> Xn �� i = 1 �� y � <sup>^</sup> y�� ð5Þ identified, and sites within specified cutoff distances of 0.45 nm were pulled towards each other using steered MD simulations (using virtual elastic springs). Once the reactive sites reached within 0.15 nm, physical amide bonds were assigned, appropriate H and Cl atoms were removed, and the topology of the molecule was updated. The crosslinking was continued until a cross-linking degree of 90% was achieved, which (excluding monomers) produced an O/N ratio of 1.14. At any intermediate crosslinking step if no reactive groups were found within the cutoff of 0.45 nm, the cutoff distance was increased by 0.05 nm. The monomeric TMC and PIP were removed and any remaining chloride atoms in TMCs were replaced with hydroxyl groups. Finally, one of the carboxyl groups in TMC containing exactly one amide bond was deprotonated (Fig. 5a). The charge density of our polyamide membrane is consistent with the charge density of membranes at pH 7.3 studied by Liu et al. <sup>79</sup> . Potential of mean force. The crosslinked polyamide membrane was inserted at the center of a box of dimension 4.7 × 4.7 × 19 nm <sup>3</sup>, followed by the addition of PFAS at the position (2.35, 2.35, 0 nm) and solvation with TIP3P water. The Swissparam <sup>80</sup> forcefield was applied to the polyamide membrane and PFAS. The system was energy minimized using the steepest descent, followed by canonical (NVT) ensemble for 50 ps, and isothermal-isobaric (NPT) ensemble for 20 ns. The temperature and pressure of the simulations were maintained at 300 K and 1 bar using a stochastic velocity rescaling thermostat with a time constant of 0.1 ps and Berendsen barostat with compressibility of 4.5 × 10 <sup>−5</sup> in z-direction (normal to the polyamide membrane) and 0 in x- and y-directions with a time constant of 10 ps. The initial configurations for umbrella sampling were generated by steering the PFAS molecules across the polyamide membrane with a force constant of 100 kJ mol^-1 nm^-2 and a pulling rate of 0.001 nm ps^-1. The reaction coordinate for umbrella sampling was defined as the displacement vector along the z-axis between the center of mass of PFAS and the polyamide membrane. A total of 120 windows were chosen for the reaction coordinate between ±6 nm for PIP-TMC. An umbrella potential with a force constant of 500 kJ mol^-1 nm^-2 was applied to PFAS in each window and equilibrated using eight cycles of 2.5 ns simulated annealing between 300 and 600 K and NPT equilibration of 5 ns (using the same thermostats and barostat). Finally, umbrella sampling simulations were performed with a force constant of 200 kJ mol^-1 nm^-2 using the Nose-Hoover thermostat <sup>81</sup> and Perrinello-Rahman barostat <sup>82</sup> for 80 ns, until convergence in the PMF was achieved. Periodic boundary conditions were used in all directions. The PMF profiles were calculated with the weighted histogram analysis method (WHAM <sup>64</sup> ) using 300 bins, a tolerance of 10^-8, and the periodic assumption. The integrated autocorrelation time was determined for each window to assign relative weights to the windows <sup>83</sup> . All PMF calculations and analyses were performed using GROMACS 2022 <sup>84</sup> . Hydrogen bond analysis. The hydrogen bonds formed between PFASpolyamide membrane and PFAS-water were calculated using the MDAnalysis Python package <sup>85</sup> . The oxygen, sulfur, and fluorine atoms were treated as acceptors and oxygen and nitrogen atoms with at least one bound hydrogen were treated as hydrogen bond donors. The cutoff distance between donor and acceptor atoms and the angle between donor-hydrogen-acceptor for hydrogen bonds were set at 0.35 nm and 150°, respectively. The total number of hydrogen bonds was determined as a function of the reaction coordinate from all umbrella sampling windows. The reaction coordinate is binned with a width of 0.05 nm and all data points in a bin are used to determine the average and standard deviation. Reporting summary Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article. Data availability All data used in this study are available from Supplementary Data 1, Source Data, and Supplementary Information. Source data are provided with this paper. Code availability The ML models and MD simulations data generated in this study have [been deposited in the Zenodo database under accession code https://](https://zenodo.org/records/13924418) [zenodo.org/records/13924418](https://zenodo.org/records/13924418) and [https://zenodo.org/records/](https://zenodo.org/records/13978801) [13978801.](https://zenodo.org/records/13978801) The ML and MD simulations data used in this study are available in the Zenodo database using the provided accession code <sup>86,87</sup> . The ML and MD simulation data generated in this study are provided in the Supplementary Information/Source Data file. References 1. Mifkovic, M., Van Hoomissen, D. J. & Vyas, S. Conformational distributions of helical perfluoroalkyl substances and impacts on stability. J. Comput. Chem. 43, 1656–1661 (2022). 2. Dombrowski, P. M. et al. Technology review and evaluation of different chemical oxidation conditions on treatability of PFAS. Remediation J. 28, 135–150 (2018). 3. Buck, R. C. et al. Perfluoroalkyl and polyfluoroalkyl substances in the environment: Terminology, classification, and origins. Integr. Environ. Assess. Manag. 7, 513–541 (2011). 4. Glüge, J. et al. An overview of the uses of per-and polyfluoroalkyl substances (PFAS). Environ. Sci.: Process. Impacts 22, 2345–2373 (2020). 5. Xiao, F. Emerging poly- and perfluoroalkyl substances in the aquatic environment: A review of current literature. Water Res. 124, 482–495 (2017). 6. Prevedouros, K., Cousins, I. T., Buck, R. C. & Korzeniowski, S. H. Sources, fate and transport of perfluorocarboxylates. Environ. Sci. Technol. 40, 32–44 (2006). 7. Gaines, L. G. Historical and current usage of per‐and polyfluoroalkyl substances (PFAS): A literature review. Am. J. Ind. Med. 66, 353–378 (2023). 8. Anderko, L. & Pennea, E. Exposures to per-and polyfluoroalkyl substances (PFAS): Potential risks to reproductive and children’s health. Curr. Probl. Pediatr. Adolesc. Health Care 50, 100760 (2020). 9. Ehsan, M. N. et al. Environmental and health impacts of PFAS: Sources, distribution and sustainable management in North Carolina (USA). Sci. Total Environ. 878, 163123 (2023). 10. Bock, A. R. & Laird, B. E. in Perfluoroalkyl Substances (ed Bruno Améduri) 15 (The Royal Society of Chemistry, 2022). 11. Barzen-Hanson, K. A. & Field, J. A. Discovery and implications of C2 and C3 perfluoroalkyl sulfonates in aqueous film-forming foams and groundwater. Environ. Sci. Technol. Lett. 2, 95–99 (2015). 12. Munoz, G., Liu, J., Vo Duy, S. & Sauvé, S. Analysis of F-53B, Gen-X, ADONA, and emerging fluoroalkylether substances in environmental and biomonitoring samples: A review. Trends Environ. Anal. Chem. 23, e00066 (2019). 13. Liu, S., Yang, R., Yin, N. & Faiola, F. The short-chain perfluorinated compounds PFBS, PFHxS, PFBA and PFHxA, disrupt human mesenchymal stem cell self-renewal and adipogenic differentiation. J. Environ. Sci. 88, 187–199 (2020). 14. Liang, M. et al. High throughput analysis of 21 perfluorinated compounds in drinking water, tap water, river water and plant effluent from southern China by supramolecular solvents-based microextraction coupled with HPLC-Orbitrap HRMS. Environ. Pollut. 263, 114389 (2020). 15. Lenka, S. P., Kah, M. & Padhye, L. P. A review of the occurrence, transformation, and removal of poly- and perfluoroalkyl substances (PFAS) in wastewater treatment plants. Water Res. 199, 117187 (2021). 16. Wang, Y. et al. A review of sources, multimedia distribution and health risks of novel fluorinated alternatives. Ecotoxicol. Environ. Saf. 182, 109402 (2019). 17. Cui, D., Li, X. & Quinete, N. Occurrence, fate, sources and toxicity of PFAS: What we know so far in Florida and major gaps. TrAC Trends Anal. Chem. 130, 115976 (2020). 18. Kaboré, H. A. et al. Worldwide drinking water occurrence and levels of newly-identified perfluoroalkyl and polyfluoroalkyl substances. Sci. Total Environ. 616-617, 1089–1100 (2018). 19. Vestergren, R. & Cousins, I. T. Tracking the pathways of human exposure to perfluorocarboxylates. Environ. Sci. Technol. 43, 5565–5575 (2009). 20. Hoffman, K. et al. Private drinking water wells as a source of exposure to perfluorooctanoic acid (PFOA) in communities surrounding a fluoropolymer production facility. Environ. Health Perspect. 119, 92–97 (2011). 21. Domingo, J. L. & Nadal, M. Human exposure to per-and polyfluoroalkyl substances (PFAS) through drinking water: A review of the recent scientific literature. Environ. Res. 177, 108648 (2019). 22. Boiteux, V. et al. Concentrations and patterns of perfluoroalkyl and polyfluoroalkyl substances in a river and three drinking water treatment plants near and far from a major production source. Sci. Total Environ. 583, 393–400 (2017). 23. [USEPA. Per-and polyfluoroalkyl substances (PFAS), https://www.](https://www.epa.gov/sdwa/and-polyfluoroalkyl-substances-pfas) [epa.gov/sdwa/and-polyfluoroalkyl-substances-pfas](https://www.epa.gov/sdwa/and-polyfluoroalkyl-substances-pfas) 24. Jin, T., Peydayesh, M. & Mezzenga, R. Membrane-based technologies for per-and poly-fluoroalkyl substances (PFASs) removal from water: Removal mechanisms, applications, challenges and perspectives. Environ. Int. 157, 106876 (2021). 25. McCleaf, P., Stefansson, W. & Ahrens, L. Drinking water nanofiltration with concentrate foam fractionation—A novel approach for removal of per-and polyfluoroalkyl substances (PFAS). Water Res. 232, 119688 (2023). 26. Zeng, C., Tanaka, S., Suzuki, Y. & Fujii, S. Impact of feed water pH and membrane material on nanofiltration of perfluorohexanoic acid in aqueous solution. Chemosphere 183, 599–604 (2017). 27. Aher, A. et al. Ion and organic transport in graphene oxide membranes: Model development to difficult water remediation applications. J. Membr. Sci. 604, 118024 (2020). 28. Steinle-Darling, E. & Reinhard, M. Nanofiltration for trace organic contaminant removal: Structure, solution, and membrane fouling effects on the rejection of perfluorochemicals. Environ. Sci. Technol. 42, 5292–5297 (2008). 29. Wang, J. et al. Perfluorooctane sulfonate and perfluorobutane sulfonate removal from water by nanofiltration membrane: The roles of solute concentration, ionic strength, and macromolecular organic foulants. Chem. Eng. J. 332, 787–797 (2018). 30. Zeng, C., Tanaka, S., Suzuki, Y., Yukioka, S. & Fujii, S. Rejection of trace level perfluorohexanoic acid (PFHxA) in pure water by loose nanofiltration membrane. J. Water Environ. Technol. 15, 120–127 (2017). 31. Sandoval-Pauker, C. et al. Computational Chemistry as Applied in Environmental Research: Opportunities and Challenges. ACS EST Eng. 4, 66–95 (2023). 32. Biswas, S. & Wong, B. M. Beyond Conventional Density Functional Theory: Advanced Quantum Dynamical Methods for Understanding Degradation of Per-and Polyfluoroalkyl Substances. ACS Est. Eng. 4, 96–104 (2023). 33. Liang, J. et al. DFT Calculation of Nonperiodic Small Molecular Systems to Predict the Reaction Mechanism of Advanced Oxidation Processes: Challenges and Perspectives. ACS EST Eng. 4, 4–18 (2024). 34. Rayne, S. & Forest, K. Perfluoroalkyl sulfonic and carboxylic acids: A critical review of physicochemical properties, levels and patterns in waters and wastewaters, and treatment methods. J. Environ. Sci. Health Part A 44, 1145–1199 (2009). 35. Rahman, M. F., Peldszus, S. & Anderson, W. B. Behaviour and fate of perfluoroalkyl and polyfluoroalkyl substances (PFASs) in drinking water treatment: A review. Water Res. 50, 318–340 (2014). 36. Jeong, N., Chung, T.-h & Tong, T. Predicting micropollutant removal by reverse osmosis and nanofiltration membranes: Is machine learning viable? Environ. Sci. Technol. 55, 11348–11359 (2021). 37. Jeong, N. et al. Exploring the knowledge attained by machine learning on ion transport across polyamide membranes using explainable artificial intelligence. Environ. Sci. Technol. 57, 17851–17862 (2023). 38. Gao, H. et al. Revolutionizing membrane design using machine learning-bayesian optimization. Environ. Sci. Technol. 56, 2572–2581 (2022). 39. Yang, J., Tao, L., He, J., McCutcheon, J. R. & Li, Y. Machine learning enables interpretable discovery of innovative polymers for gas separation membranes. Sci. Adv. 8, eabn9545 (2022). 40. Hosseinzadeh, A. et al. Machine learning-based modeling and analysis of PFOS removal from contaminated water by nanofiltration process. Sep. Purif. Technol. 289, 120775 (2022). 41. Ammi, Y., Khaouane, L. & Hanini, S. Prediction of the rejection of organic compounds (neutral and ionic) by nanofiltration and reverse osmosis membranes using neural networks. Korean J. Chem. Eng. 32, 2300–2310 (2015). 42. Khaouane, L., Ammi, Y. & Hanini, S. Modeling the retention of organic compounds by nanofiltration and reverse osmosis membranes using bootstrap aggregated neural networks. Arab. J. Sci. Eng. 42, 1443–1453 (2017). 43. Han, K. et al. A survey on vision transformer. IEEE Trans. Pattern Anal. Mach. Intell. 45, 87–110 (2022). 44. Bi, J., Zhu, Z. & Meng, Q. in 2021 IEEE International Conference on Computer Science, Electronic Information Engineering and Intelligent Control Technology (CEI). 178-188 (IEEE). 45. Fu, N. et al. Material transformers: deep learning language models for generative materials design. Mach. Learn.: Sci. Technol. 4, 015001 (2023). 46. Vaswani, A. et al. Attention is all you need. Adv. Neural Inform. Process. Systems 30, 6–8 (2017). 47. Lundberg, S. M. & Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inform. Process. Sys. 30, 3–9 (2017). 48. Yangali-Quintanilla, V. et al. Artificial neural network models based on QSAR for predicting rejection of neutral organic compounds by polyamide nanofiltration and reverse osmosis membranes. J. Membr. Sci. 342, 251–262 (2009). 49. Ritt, C. L. et al. Machine learning reveals key ion selectivity mechanisms in polymeric membranes with subnanometer pores. Sci. Adv. 8, eabl5771 (2022). 50. Lauritsen, S. M. et al. Explainable artificial intelligence model to predict acute critical illness from electronic health records. Nat. Commun. 11, 1–11 (2020). 51. Lundberg, S. M. et al. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2, 56–67 (2020). 52. Ribeiro, M. T., Singh, S. & Guestrin, C. in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 1135-1144. 53. Simini, F., Barlacchi, G., Luca, M. & Pappalardo, L. A Deep Gravity model for mobility flows generation. Nat. Commun. 12, 1–13 (2021). 54. Evangelou, M. W. H. & Robinson, B. H. The phytomanagement of PFAS-contaminated land. Int. J. Environ. Res. Public Health 19, 6817 (2022). 55. Al-Zoubi, H. & Omar, W. Rejection of salt mixtures from high saline by nanofiltration membranes. Korean J. Chem. Eng. 26, 799–805 (2009). 56. Zhi, Y. et al. Removing emerging perfluoroalkyl ether acids and fluorotelomer sulfonates from water by nanofiltration membranes: Insights into performance and underlying mechanisms. Sep. Purif. Technol. 298, 121648 (2022). 57. Fu, L., Li, J., Wang, G., Luan, Y. & Dai, W. Adsorption behavior of organic pollutants on microplastics. Ecotoxicol. Environ. Saf. 217, 112207 (2021). 58. Léniz-Pizarro, F. et al. Dual-functional nanofiltration and adsorptive membranes for PFAS and organics separation from water. ACS EST Water 2, 863–872 (2022). 59. Abbasian Chaleshtari, Z. & Foudazi, R. A review on per-and polyfluoroalkyl substances (PFAS) remediation: separation mechanisms and molecular interactions. ACS EST Water 2, 2258–2272 (2022). 60. Galaon, T., Medvedovici, A. & David, V. Hydrophobicity parameter (log Kow) estimation for some phenolic compounds of pharmaceutical interest from retention studies with mobile phase composition in reversed‐phase liquid chromatography. Sep. Sci. Technol. 43, 147–163 (2008). 61. Doucette, W. & Andren, A. Estimation of octanol/water partition coefficients: Evaluation of six methods for highly hydrophobic aromatic hydrocarbons. Chemosphere 17, 345–359 (1988). 62. Gagliano, E., Sgroi, M., Falciglia, P. P., Vagliasindi, F. G. & Roccaro, P. Removal of poly-and perfluoroalkyl substances (PFAS) from water by adsorption: Role of PFAS chain length, effect of organic matter and challenges in adsorbent regeneration. Water Res. 171, 115381 (2020). 63. Hall, G. G. In Advances In Atomic and Molecular Physics Vol. 20 (eds David Bates & Benjamin Bederson) 41-63 (Academic Press, 1985). 64. Kumar, S., Rosenberg, J. M., Bouzida, D., Swendsen, R. H. & Kollman, P. A. The weighted histogram analysis method for free‐energy calculations on biomolecules. I. The method. J. Comput. Chem. 13, 1011–1021 (1992). 65. Liu, C. et al. Removal of per-and polyfluoroalkyl substances by nanofiltration: Effect of molecular structure and coexisting natural organic matter. J. Hazard. Mater. 454, 131438 (2023). 66. Qi, Y. et al. Reverse osmosis membrane with simultaneous foulingand scaling-resistance based on multilayered metal-phytic acid assembly. J. Membr. Sci. 601, 117888 (2020). 67. Hao, Z. et al. Sulfonated Reverse Osmosis Membrane with Simultaneous Mitigation of Silica Scaling and Organic Fouling. Ind. Eng. Chem. Res. 62, 11646–11655 (2023). 68. Belfer, S., Purinson, Y. & Kedem, O. Surface modification of commercial polyamide reverse osmosis membranes by radical grafting: an ATR‐FTIR study. Acta Polymerica 49, 574–582 (1998). 69. Tong, T., Zhao, S., Boo, C., Hashmi, S. M. & Elimelech, M. Relating silica scaling in reverse osmosis to membrane surface properties. Environ. Sci. Technol. 51, 4396–4406 (2017). 70. Neese, F. Software update: The ORCA program system—Version 5.0. Wiley Interdiscip. Rev. Comput. Mol. Sci. 12, e1606 (2022). 71. Park, M., Daniels, K. D., Wu, S., Ziska, A. D. & Snyder, S. A. Magnetic ion-exchange (MIEX) resin for perfluorinated alkylsubstance (PFAS) removal in groundwater: Roles of atomic charges for adsorption. Water Res. 181, 115897 (2020). 72. Lide, D. R. CRC handbook of chemistry and physics. Vol. 85 (CRC press, 2004). 73. Nikolaienko, T. Y., Bulavin, L. A. & Hovorun, D. M. JANPA: An open source cross-platform implementation of the natural population analysis on the Java platform. Comput.Theor. Chem. 1050, 15–22 (2014). 74. Chen, T. & Guestrin, C. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 785-794. 75. Steinle-Darling, E., Litwiller, E. & Reinhard, M. Effects of sorption on the rejection of trace organic contaminants during nanofiltration. Environ. Sci. Technol. 44, 2592–2598 (2010). 76. Franke, V. et al. The price of really clean water: Combining nanofiltration with granular activated carbon and anion exchange resins for the removal of per-and polyfluoralkyl substances (PFASs) in drinking water production. ACS EST Water 1, 782–795 (2021). 77. Tang, C. Y., Fu, Q. S., Criddle, C. S. & Leckie, J. O. Effect of flux (transmembrane pressure) and membrane properties on fouling and rejection of reverse osmosis and nanofiltration membranes treating perfluorooctane sulfonate containing wastewater. Environ. Sci. Technol. 41, 2008–2014 (2007). 78. He, J., Yang, J., McCutcheon, J. R. & Li, Y. Molecular insights into the structure-property relationships of 3D printed polyamide reverseosmosis membrane for desalination. J. Membr. Sci. 658, 120731 (2022). 79. Liu, S., Ganti-Agrawal, S., Keten, S. & Lueptow, R. M. Molecular insights into charged nanofiltration membranes: Structure, water transport, and water diffusion. J. Membr. Sci. 644, 120057 (2022). 80. Bugnon, M. et al. SwissParam 2023: a modern web-based tool for efficient small molecule parametrization. J. Chem. Inf. Modeling 63, 6469–6475 (2023). 81. Posch, H. A., Hoover, W. G. & Vesely, F. J. Canonical dynamics of the Nosé oscillator: Stability, order, and chaos. Phys. Rev. A 33, 4253 (1986). 82. Parrinello, M. & Rahman, A. Strain fluctuations and elastic constants. J. Chem. Phys. 76, 2662–2666 (1982). 83. Hub, J. S., De Groot, B. L. & Van Der Spoel, D. g_wham—A Free Weighted Histogram Analysis Implementation Including Robust Error and Autocorrelation Estimates. J. Chem. Theory Comput. 6, 3713–3720 (2010). 84. Abraham, M. J. et al. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX 1, 19–25 (2015). 85. Gowers, R. J. et al. in Proceedings of the 15th python in science conference. 105 (SciPy Austin, TX). 86. Jeong, N. Elucidating governing factors of PFAS removal by polyamide membranes using machine learning and molecular simula[tions. https://doi.org/10.5281/zenodo.13978801 (2024).](https://doi.org/10.5281/zenodo.13978801) 87. Mahajan, S. Elucidating governing factors of PFAS removal by polyamide membranes using machine learning and [molecular simulations. https://doi.org/10.5281/zenodo.](https://doi.org/10.5281/zenodo.13924418) [13924418 (2024).](https://doi.org/10.5281/zenodo.13924418) Acknowledgements This work is partially supported by National Science Foundation (Award numbers 2112533, 2427299, 2345543, Y.C., 2448130, T.T., and 2345542, Y.L.). Y.C. acknowledges the financial support by U.S. Department of Agriculture (Award No.2018−68011-28371), National Science Foundation-U.S. Department of Agriculture (Award No. 2020-6702131526), and U.S. Environmental Protection Agency (Award No. 840080010). T.T. acknowledges the support by U.S. Department of Agriculture National Institute of Food and Agriculture (Hatch Project COL00799, accession 1022591). Y.L. acknowledges the financial support by the National Alliance for Water Innovation (NAWI), funded by the U.S. Department of Energy, Office of Energy Efficiency and Renewable Energy (EERE), Advanced Manufacturing Office, under Funding Opportunity Announcement Number DE-FOA-0001905 through a subcontract to the University of Wisconsin-Madison. Author contributions Experiment design: T.T. and Y.C., data collection and membrane experiments: S.P., performed ML modeling: N.J., T.T., and Y.C., performed MD simulation: S.M., J.Z., and Y.L., writing and editing: N.J., S.P., S.M., J.Z., J.B., Y.L., T.T., and Y.C. Competing interests The authors declare no competing interest. Additional information Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41467-024-55320-9.](https://doi.org/10.1038/s41467-024-55320-9) Correspondence and requests for materials should be addressed to Ying Li, Tiezheng Tong or Yongsheng Chen. Peer review information Nature Communications thanks Shiling Yuan and the other, anonymous, reviewers for their contribution to the peer review of this work. A peer review file is available. Reprints and permissions information is available at [http://www.nature.com/reprints](http://www.nature.com/reprints) Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence toshare adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly [from the copyright holder. To view a copy of this licence, visit http://](http://creativecommons.org/licenses/by-nc-nd/4.0/) [creativecommons.org/licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) © The Author(s) 2024

섹션 본문 49문단 · 53,868자

(제목 없음)

1Per-and polyfluoroalkyl substances (PFASs) have recently garnered considerable concerns regarding their impacts on human and ecological health.Despite the important roles of polyamide membranes in remediating PFASscontaminated water, the governing factors influencing PFAS transport across these membranes remain elusive.In this study, we investigate PFAS rejection by polyamide membranes using two machine learning (ML) models, namely XGBoost and multimodal transformer models.Utilizing the Shapley additive explanation method for XGBoost model interpretation unveils the impacts of both PFAS characteristics and membrane properties on model predictions.The examination of the impacts of chemical structure involves interpreting the multimodal transformer model incorporated with simplified molecular input line entry system strings through heat maps, providing a visual representation of the attention score assigned to each atom of PFAS molecules.Both ML interpretation methods highlight the dominance of electrostatic interaction in governing PFAS transport across polyamide membranes.The roles of functional groups in altering PFAS transport across membranes are further revealed by molecular simulations.The combination of ML with computer simulations not only advances our knowledge of PFAS removal by polyamide membranes, but also provides an innovative approach to facilitate data-driven feature selection for the development of high-performance membranes with improved PFAS removal efficiency.Per-and polyfluoroalkyl substances (PFASs) are anthropogenic compounds that possess a fluorinated carbon backbone and varying functional head groups.The strong carbon-fluorine bonds and helical conformation that shields the redox-reactive carbons on the inside 1 lead to exceptional stability of PFASs 2,3 with high resistance to water, oil, and heat 4 .These unique properties make PFASs suitable for a broad range of commercial applications, such as nonstick cookware, stainresistance products, and flame retardants 4-7 , but the persistence, toxicity, and bioaccumulative potential of PFASs have garnered considerable concerns regarding their impacts on both human and

2ecological health 8,9 .The health concerns on long-chain PFASs, such as perfluorooctane sulfonic acid (PFOS) and perfluorooctanoic acid (PFOA), have led to gradual phase-out in long-chain PFAS production within North America and Europe 10 , which is accompanied by a shift towards higher productions of shorter-chain alternatives [11][12][13] .However, recent investigations also reveal toxicity associated with short-chain PFAS compounds due to their similar persistence and higher mobility compared to their long-chain counterparts 11,12 .

3The ubiquitous presence of PFASs in global water resources has raised alarm as reported by numerous studies 4,[14][15][16][17][18] .It has been suggested that PFAS-contaminated drinking water is one of the major pathways of PFAS exposure to humans [19][20][21] , resulting from ineffective PFAS removal by conventional water treatment processes 19,22 .Recently, the U.S. Environmental Protection Agency (USEPA) proposed the final National Primary Drinking Water Regulation for six PFAS species, setting extremely low maximum contamination levels (MCLs) for PFOA and PFOS at 4 ng L^-1 as well as other PFASs including perfluorohexane sulfonic acid (PFHxS), perfluorononanoic acid (PFNA), and GenX at 10 ng L^-1 23 .Such stringent regulations, along with the threat of an expanding list of PFASs with regulatory implications, warrant the need to develop effective technologies for PFAS removal 23 .Such technologies are vital for the potential upgrade of water treatment facilities to meet the corresponding regulations.

4Membrane separation represents an important approach of treating PFAS-contaminated water sources [24][25][26] .Previous studies have evaluated the efficiencies of PFAS removal by nanofiltration (NF) and reverse osmosis (RO), in which a dense polyamide membrane with subnanometer pores is used to allow faster and selective transport of water over PFAS [26][27][28][29][30] .While several studies have applied computational chemistry techniques to predict PFAS degradation and adsorption [31][32][33] , to the best of our knowledge, no effective approaches for predicting membrane separation performance in PFAS removal, which is essential for rational membrane selection and design, have been reported in the literature.Such a knowledge gap is largely due to the lack of a mechanistic understanding of PFAS interactions with polyamide membranes at both the water-membrane interface and the molecular level.Despite the importance of membrane and PFAS properties in governing PFAS transport, a fundamental property-structureperformance relationship has not been established for PFAS removal by polyamide NF and RO membranes.Various PFAS compounds, which are well beyond the well-studied PFOS and PFOA, may vary in functional group substitution, ionization state, chain length, and other characteristics 34,35 .The diverse properties of PFASs, coupled with the existence of membranes with varied perm-selectivity, make the identification of key factors governing PFAS removal in membrane treatment a particularly complex and challenging task.Predictive models that can accurately estimate the efficiency of PFAS removal while unveiling the influences of membrane and molecular properties on PFAS transport across polyamide membranes are critical.Such models not only contribute to the advancement of knowledge but also facilitate wide adoption of polyamide NF and RO membranes for the remediation of PFAS-contaminated waters.

5In recent years, machine learning (ML) algorithms have been increasingly applied to predicting membrane performance and investigating the governing mechanisms of membrane separation [36][37][38][39][40] .Thanks to its powerful capability of leveraging large datasets, ML can uncover intricate relationships among multiple variables.While ML has been successfully used to forecast the efficiency of polyamide NF and RO membranes in removing organic micropollutants 36,41,42 , its applications to PFAS removal are very limited 40 .Furthermore, ML models predicting membrane performance in the literature have predominantly relied on molecular descriptors, such as molecular weight and logarithm of n-octanol/water partition coefficient (log K ow ), while direct utilization of chemical structures as input variables has been rarely explored.The incorporation of chemical structure in ML models can provide a more in-depth understanding of how specific structural features influence the behavior of PFAS transport during membrane filtration.However, integrating information of chemical structure into ML models remains a significant challenge given the diverse molecular configurations of PFAS compounds.

6Transformer neural network, initially developed for natural language processing (NLP), has been successfully applied to computer vision and material design [43][44][45] .Unlike traditional neural networks, transformers apply a novel mechanism known as "attention", which allows them to selectively prioritize input variables during model training 46 .This distinct mechanism enables transformers to effectively analyze and identify the interdependencies between variables, highlighting the influences of individual elements within a sequence.By utilizing simplified molecular input line entry system (SMILES) strings to represent the intricate chemical structures of PFAS compounds, the robust capabilities of transformers in analyzing sequential data offer a promising approach to exploring the impacts of chemical structures on the transport of PFASs across polyamide membranes.

7In this study, we employ XGBoost and multimodal transformer models to elucidate the performance and underlying mechanisms of PFAS removal by polyamide NF and RO membranes (Fig. 1).Using training data collected from existing literature sources, the predictive performances of the ML models are evaluated with our experimental data obtained from NF treatment of aqueous film forming foam (AFFF)-contaminated feedwater.Given that AFFF contains a diverse set of PFAS compounds, evaluating the ML models with this PFAS mixture serves as a robust method to validate the accuracy and generalizability of models in predicting membrane performance for PFAS removal.To investigate the PFAS transport mechanisms with XGBoost model, we employ Shapley additive explanation (SHAP), a model interpretation method rooted in the cooperative game theory 47 , to analyze the key governing factors influencing PFAS removal by polyamide membranes.We then introduce a novel methodology utilizing a multimodal transformer model to investigate the role of chemical structure in governing PFAS removal through heat maps, which visualize the contributions of individual chemical elements to the model prediction.The integrated interpretation applied to XGBoost and multimodal transformer models provides macroscopic insights related to membrane and PFAS properties, as well as microscopic perspectives pertaining to chemical structure.This approach enhances our understanding of PFAS removal by offering a comprehensive analysis at both levels.The molecular mechanisms underlying PFAS removal by polyamide NF and RO membranes unveiled by the ML models were further probed by molecular dynamics (MD) simulations.We conclude with a discussion on the implications of our findings to the use of NF and RO as competitive and vital technologies to achieve efficient remediation of PFAS-contaminated waters.

Prediction performance of ML models

8The XGBoost and multimodal transformer models were trained with 457 data points collected from existing literature sources, which include PFAS removal pertaining to 21 PFAS species and 16 types of polyamide NF and RO membranes.The model performance was subsequently assessed using 77 data points obtained from our own experiments.By evaluating the model accuracy with a complex mixture of PFASs from AFFF-contaminated feedwater (Supplementary Data 1), we demonstrated the performance of the ML models under a more challenging condition (than using individual PFAS).The predictive accuracy was examined using root mean squared error (RMSE) and mean absolute error (MAE).As shown in Fig. 2, the XGBoost model has a RMSE of 8.4% and a MAE of 6.4%, while RMSE and MAE of the multimodal transformer model are 5.9% and 4.5%, respectively (Supplementary Table 1).Although the multimodal transformer model shows slightly better predictive accuracy, such minor differences suggest that these models are comparable in their predictive performance.Compared to previous studies using ML to estimate membrane performance (RMSE of 4.6-17.5%;41,48 , the XGBoost and multimodal transformer models in this study exhibited comparable or superior predictive accuracy.Expanding the dataset to include a broader range of PFAS removal rates and standardizing experimental protocols across studies are crucial to enhance model accuracy and reliability further.Additionally, as shown by our recent publications 36,37 , ML models with strong predictive performance can adequately capture solute transport mechanisms.Accordingly, we evaluate the potential of our ML models to reveal the governing factors of PFAS removal by polyamide NF and RO membranes in the next sections.

9Identifying key factors for PFAS removal by the SHAP method Although ML techniques have been increasingly applied in the fields of environmental science and engineering [36][37][38][39][40]49 , the black box nature of ML makes it challenging to understand the decision-making process. Exlainable artificial intelligence (XAI) has been used to explore the contributions of input variables and the underlying knowledge of ML models, enhancing the trust and confidence of the model predictions 36,37,[50][51][52][53] .In this section, we implemented the SHAP method, a type of XAI based on the cooperative game theory, to elucidate the knowledge of the XGBoost model regarding the governing mechanisms of PFAS removal by polyamide membranes.

10As shown in Fig. 3a, the SHAP summary plot illustrates the influence of each input variable on the model prediction.arrangement indicates the hierarchical importance of the input variable, with importance descending from the top to the bottom.The colors of dots, combined with their SHAP values, demonstrate the correlations of input variables with their SHAP values.To further quantify these SHAP values, we calculated the average of absolute SHAP values of all data points (i.e., the SHAP importance score).As presented in Fig. 3b, the input variables with the largest contributions to the model predictions (i.e., the highest SHAP importance scores) are charge product (whose definition is described in the Methods section), molecular weight cut-off (MWCO), log K ow , and initial concentration of PFAS (C in ).Considering the membrane separation mechanisms related to those input variables, electrostatic interaction, which is directly represented by the charge product, is the most important separation mechanism that determines the model predictions of PFAS removal by polyamide NF and RO membranes, followed by size exclusion (manifested by MWCO) and adsorption (manifested by log K ow and C in ).

11Although the SHAP importance score reveals the dominant factors that possess the highest weights to determine the model predictions, the correlation of each input variable with the model output, which is essential to understanding whether the knowledge learned by ML models aligns with the domain knowledge, is still unclear.Hence, we further probed the impacts of the four top-ranked input variables (i.e., charge product, MWCO, log K ow , and C in ) using SHAP dependence plots (Fig. 3c-f), which elucidate how the SHAP value changes as a function of each variable.As shown in Fig. 3c, the SHAP values increase with charge product (i.e., an increase of charge product leads to an increase of PFAS removal rate).Due to the acidic functional groups (e.g., carboxyl and sulfonate groups) and strong electronegativity of fluorine 54 , most PFASs exhibit low pK a values (typically pK a < 1, Supplementary Table 2).Therefore, PFASs are subject to nearly complete deprotonation and carry negative charges under most experimental pH conditions (pH of 3.5-10.0)from which the PFAS removal data were collected.Except for perfluorooctane sulfonamide (FOSA), electrostatic repulsion (i.e., charge product>0) exists between the PFASs and the membrane surface, due to the negative charge of polyamide membranes as a result of carboxyl groups generated from hydrolysis of the unreacted acyl chloride (−C( = O)Cl) groups 55 .As electrostatic repulsion between the negatively charged PFASs and membrane surface gets stronger (an increase of charge product), a higher removal rate of PFAS is correctly predicted by the XGBoost model (higher SHAP values).

12The contribution of MWCO to the model prediction is presented in Fig. 3d.The decrease of MWCO leads to an increase of SHAP values, indicating that lower PFAS removal rates are predicted by the ML model for membranes with higher MWCO values, which are typically related to larger membrane pore sizes.This result is consistent with the mechanism of size exclusion for membrane separation.For example, the data points with low SHAP values (e.g., less than −4.2, indicating low PFAS removal) are associated with membranes with the highest MWCO (e.g., the XN45 membrane), which are known as loose polyamide NF membranes that have limited solute-retaining capability.

13The third-and fourth-ranked variables are log K ow and the initial concentration of PFAS (C in ), both of which are related to adsorption (Fig. 3e, f). Figure 3e shows the influence of log K ow on the model predictions.Except for a small fraction (1.8%) of outliers, higher SHAP values were generally observed as a result of an increase of log K ow , which corresponds to a higher tendency of adsorption 56,57 .As reported in the literature 56,58,59 , adsorption of PFASs to the membrane surface contributes to their removal by NF membranes, especially at the early stage of membrane filtration.Also, the binding kinetics for long-chain PFASs are faster than short-chain PFASs due to their stronger hydrophobic interactions with membranes 24,56 .While log K ow primarily represents the hydrophobicity of compounds 60,61 , it is also an indirect indicator of PFAS size that is positively correlated to PFAS removal rate based on size exclusion.As the chain length of PFAS species increases, its hydrophobic nature typically gets stronger 59,62 , leading to a higher log K ow .This intertwined relationship between molecular size and hydrophobicity could be attributed when explaining the correlation between SHAP value and log K ow .

14Despite a high contribution of C in to the model predictions, we did not observe a clear relationship between C in and SHAP values (Fig. 3f).This lack of trend might be due to a broad range of C in used in the literature for our dataset.Although a majority ( ~70%) of the data points are associated with low PFAS concentrations of less than 20 µM, ~30% of data points involve higher C in up to higher than 9 mM (Supplementary Fig. 1).Given such a skewed data distribution, it is challenging for the ML model to capture a clear, linear correlation of C in with the SHAP value across the entire range.Even though, the XGBoost model is still able to capture the impact of C in from several small portions of the data range without compromising the model performance due to the nature of gradient boosting tree.

Probing key factors for PFAS removal by transformer model

15Although the SHAP approach provides essential insights into the key factors that govern PFAS removal by polyamide NF and RO membranes, it remains elusive how chemical features of PFASs influence their transport across polyamide membranes.To bridge this knowledge gap, we implemented multimodal transformer model, which is known for its effectiveness of processing sequential data like SMILES strings.The heat-map visualization of the attention score of each atom from the multimodal transformer model enables us to identify specific atoms (and the corresponding functional groups) that have the highest importance in model predictions.Based on the functionality of PFAS species, the heat maps were grouped into perfluoroalkyl carboxylic acids (PFCAs), perfluoroalkyl sulfonic acids (PFSAs), and other PFASs (Fig. 4), where the colors of the atoms depict the values of attention scores.

16As shown by the heat maps of PFCAs (Fig. 4a), the oxygen atoms of the carbonyl group (as part of the carboxyl group) exhibit the highest attention scores across all the PFCA compounds, regardless of the chain length.Similarly, the sulfur atom within the sulfonate group exhibited the highest attention scores for PFSA compounds (Fig. 4b).The particular functional groups associated with those atoms displaying the highest attention scores deprotonate at the experimental pH and result in a negative charge, which largely governs the electrostatic interactions of PFASs with the membrane surface.In contrast, carbon and fluorine atoms tend to exhibit lower attention scores.Therefore, in alignment with the insights revealed by the SHAP method (Fig. 3), the multimodal transformer model consistently identifies electrostatic interaction as the predominant mechanism influencing the model prediction of polyamide NF and RO membrane performance.

17The heat maps for other PFAS compounds than PFCAs and PFSAs, including perfluoro-3-methoxypropanoic acid (PFMOPrA), perfluoro-4-methoxybutanoic acid (PFMOBA), 2,3,3,3-tetrafluoro-2-(heptafluoropropoxy)propanoic acid (GenX), 1H,1H,2H,2H-perfluorohexane sulfonic acid (4:2 FTS), 1H,1H,2H,2H-perfluorooctane sulfonic acid (6:2 FTS), and FOSA, are shown in Fig. 4c.For PFMOPrA, PFMOBA, and GenX, the oxygen atoms associated with the carbonyl group exhibit the highest attention scores, suggesting that the dominant role of electrostatic interaction in regulating PFAS removal also applies to those carboxyl-containing PFAS species.Interestingly, the oxygen atoms representing the ether (−O−) group also show high attention scores for these PFAS species.The presence of an ether group increases the hydrophilicity of PFASs and thus alters their interactions with the membrane (the role of ether group in PFAS-membrane interactions is further discussed in the next section).Also, the heat maps of 4:2 FTS and 6:2 FTS, both of which contain a sulfonate group, demonstrate a similar trend to that of PFSAs.In these cases, the sulfur atom shows the strongest influence on the model predictions.However, the highest attention score of FOSA is attributed to the fluorine atoms at the center of the compound.Unlike other PFAS compounds investigated in this study, the pK a value of FOSA is close to neutral pH (Supplementary Table 2) due to the presence of sulfonamide group.This leads to a reduced degree of deprotonation and consequently, much weaker electrostatic interaction between FOSA and membrane surface.Thus, multimodal transformer model adeptly identifies functional distinctions between FOSA and other PFAS compounds, uniquely prioritizing the estimation of compound size.This estimation, indicated by the distance between the compound's center and head group, emerges as a pivotal chemical feature for predicting FOSA removal.

18We further quantify the influence of chemical structure on PFAS removal by calculating the relative percentage of attention score (out of the total attention score summed for all the atoms) for each functional group (Supplementary Fig. 3).Compared to the carboxyl group of PFCAs with the same chain length (excluding the carbon in the functional group), the sulfonate group of PFSAs generally has a higher attention score percentage.Although both PFSAs and PFCAs are easily deprotonated, the pK a values of PFSAs are lower than those of PFCAs (Supplementary Table 2), suggesting more negative molecular charge and consequently stronger electrostatic interactions with membrane surfaces for PFSAs.Such an effect is further supported by the atomic charge (i.e., the distribution of electron density across individual atoms in a molecule 63 ) of PFCAs and PFSAs (Supplementary Figs. 4 and 5).Compared to the oxygen atoms of carboxyl groups, the oxygen atoms of sulfonate groups exhibit more negative atomic charges, indicating stronger electrostatic interactions with membrane surfaces.Thus, the multimodal transformer model discerned such differences in PFAS-membrane interactions when making predictions of PFAS removal by polyamide NF and RO membranes.Additionally, for other PFAS species than PFCAs and PFSAs, the functional groups pertaining to the atom where the atomic charge is the most negative generally match those with the highest attention scores from the multimodal transformer model (except for FOSA), as shown in Fig. 4 and Supplementary Fig. 6.Therefore, both ML models (i.e., the XGBoost model and multimodal transformer model) reveal unequivocally that functional groups relating to electrostatic interactions are the major structural features that govern the removal of most PFASs by polyamide NF and RO membranes.The roles of functional groups in regulating PFAS transport across polyamide membrane will be further explored by computer simulations in the next section.

Mechanisms of PFAS transport revealed by MD simulations

19MD simulations were performed to probe the molecular mechanisms of PFAS transport across a charged and crosslinked piperazine (PIP)-trimesoyl chloride (TMC) polyamide membrane (Fig. 5a).We selected three PFASs including PFHxA, GenX, and PFPeS that contain different functional groups (carboxyl, carboxyl+ether, and sulfonic) with identical carbon chain lengths.Due to their low pK a values (Supplementary Table 2), ionized PFAS molecules were used in our simulations.The potential of mean force (PMF) profiles (Fig. 5b) were obtained by umbrella sampling simulations followed by the weighted histogram analysis method (WHAM) 64 to probe the differences between the PFAS transport.Additionally, the PMF of transporting a water molecule was calculated for comparison.Initially, the PMF decreases as PFAS moves from bulk water towards the polyamide membrane ( | z| from 5 to 3.5 nm), denoting spontaneous adsorption due to their hydrophobic character (e.g., Liu et al. 65 ).The adsorption free energy observed to be −12 to −9 kJ mol^-1.As the PFAS enters the dense layer of the polyamide membrane ( | z | <3.5 nm; dotted lines in Fig. 5b) and moves towards the center, the PMF increases, denoting exclusion free energy arising from size, charge, and dielectric exclusion effects.The exclusion free energy defined as the difference between maximum and minimum PMF is in the range of 55-65 kJ mol^-1.Both the adsorption and exclusion free energy contribute to PFAS rejection.The adsorption free energy presents as an energy barrier for PFAS to move from the polyamide membrane to permeate-side bulk water, whereas exclusion free energies prevent PFAS from entering the membrane.In comparison to PFAS, water does not show any adsorption and has an exclusion free energy of 5.7 kJ mol^-1.The higher energy barriers of PFAS molecules compared to water indicates that PFAS transport is significantly hindered, while water molecules can easily permeate through the membrane.Since the exclusion free energy of PFAS is much higher than its adsorption free energy, the former is more significant for PFAS rejection.These results are consistent with ML results that find charge product and MWCO is more significant for PFAS rejection than log K ow .

20The permeability and rejection trends of PFAS are dependent on the maximum PMF that reflects the energy barrier ΔG z associated with a PFAS reaching the center of the polyamide membrane.The ΔG z of PFAS is much higher than water and follows the order GenX ≤ PFPeS <PFHxA (Fig. 5c).To interpret the order of ΔG z , van der Waals and electrostatic energies (Supplementary Fig. 7), total number of hydrogen bonds (Supplementary Fig. 8), average orientation of PFAS (Supplementary Fig. 9), and root-mean-squared-deviation of PFAS (a measure of conformational change; Supplementary Fig. 10) were calculated along the reaction coordinate.The increase in electrostatic energy as PFAS moves from bulk water toward the center of the membrane (Supplementary Fig. 7) follows the same order as that of ΔG z (GenX <PFPeS <PFHxA).The change in the van der Waals (modeled using Lennard-Jones interactions) and electrostatic (modeled using Coulombic interactions) energies along the reaction coordinates (Supplementary Fig. 7) demonstrates that change in electrostatic interactions is more dominant than van der Waals.Since the PFAS molecules have the same net charge, the difference in electrostatic energies indicates the influence of dipole-dipole and dipole-charge interactions between PFAS and polyamide membrane.This implies that electrostatic attraction from dipole-dipole and dipole-charge interactions between PFAS and the polyamide membrane lowers the energy barrier created by electrostatic repulsion.While the input variables of ML models do not contain dipole properties of PFAS, higher attention scores in carboxyl, sulfonate, and ether groups indicate that the importance of electronegative atoms, which play a significant role in dipole interactions, are captured by the models to a certain degree.The order of van der Waal's interaction energy is opposite to that of ΔG z and much lower in magnitude than electrostatic energy.The fluctuations in the number of hydrogen bonds of PFAS along the reaction coordinate z negatively correlated with the fluctuations in the PMF (Supplementary Fig. 8), indicating that dehydration of PFAS is likely to play a role in regulating PFAS rejection.The total number of hydrogen bonds lost by PFAS as it moves from bulk water ( | z | > 5 nm) to the center of the membrane ( | z | <3.5 nm) is shown in Figs.5c-f.The number of hydrogen bonds lost is indicative of PFAS dehydration and follows the order of PFHxA <GenX <PFPeS.Such an order does not follow the order of ΔG z but matches that of log K ow of PFAS (Supplementary Table 2) because higher lipophilicity leads to higher propensity of PFAS dehydration.Therefore, while dehydration of PFAS might influence the membrane rejection performance, it is not as influential as the effects of electrostatic and size exclusion.This result is also consistent with ML results where log K ow was found to be less influential than parameters associated with electrostatic and size exclusion (e.g., charge product and MWCO).The PFAS molecules exhibited significant changes in orientation and conformation near the center of the membrane, which did not correspond to fluctuations in the PMF (Supplementary Fig. 9).We attribute these changes to the tortuous nature of the pore pathways in the polyamide membrane.

Environmental implications

21In this study, we employed XGBoost and multimodal transformer models to elucidate the governing factors of PFAS removal by polyamide NF and RO membranes.Both XGBoost and multimodal transformer models exhibited high prediction accuracy (with RMSE and MAE values of 6-8% and 5-6%, respectively), effectively correlating multiple variables (including membrane and PFAS properties as well as operational conditions) with membrane efficiency of PFAS rejection.The XGBoost model, interpreted with the SHAP method, and the multimodal transformer model, incorporating SMILES strings, consistently highlight the importance of electrostatic interaction in governing PFAS removal during NF and RO processes.MD simulations results agree well with ML results in identifying electrostatic interaction as a major governing factor for PFAS removal by polyamide membrane.Also, MD simulations confirm the importance of functional groups in regulating PFAS transport.Specifically, MD simulations demonstrate that electrostatic attraction from dipole interactions reduces the electrostatic exclusion effects.Additionally, PFAS dehydration (loss of hydrogen bonds) is identified as one important factor for PFAS rejection.

22The ML model interpretation plays a pivotal role in unraveling the complex mechanisms behind predictive analytics.In this study, ML model interpretation methods, including the SHAP method for the XGBoost model and heat maps highlighting the attention scores for the multimodal transformer model, unveil the underlying mechanisms of PFAS transport, based on which the performance predictions of ML models are determined.On one hand, the SHAP method for interpreting the XGBoost model reveals the general and macroscopic insights on how numerical values representing material properties and operational conditions govern the efficiency of NF and RO in removing PFASs.On the other hand, the multimodal transformer model integrated with molecular structures using SMILES strings provides a microscopic, molecular-level understanding of the detailed influences by chemical features of PFASs.This dual approach not only enhances the trust of the ML models but also promotes mechanistic knowledge of PFAS transport across polyamide membranes.The application of ML model interpretation methods, as demonstrated by the current study, can transform ML algorithms from simple predictive models into powerful tools of understanding and discovering complex governing factors behind the performance of membrane separation.

23Furthermore, the results of this study, which identify key chemical features governing PFAS transport, have the potential to inform rational feature selection for membrane fabrication and optimization.For example, the highest importance of charge product and charged functional groups, as discerned by the interpretation of XGBoost and transformer models respectively, indicate that controlling electrostatic interactions between PFASs and membrane should be a prioritized strategy of promoting membrane selectivity to charged PFASs.Such knowledge attained by the ML models aligns with the outcomes of MD simulations, which demonstrates that PFAS molecules with the same carbon number but different functional groups experience varied energy barriers when traversing through polyamide membrane.Enhancing the electrostatic interactions by surface modification or the use of new monomers in interfacial polymerization is a promising direction of fabricating novel membrane materials with improved efficiency of PFAS removal.For instance, grafting materials with strong negative charge 66 or using monomers carrying negatively charged moieties in interfacial polymerization 67 has the potential of increasing electrostatic repulsion between PFAS and the membrane surface.Additionally, using monomers with lower dipole moments (e.g., melamine and pentaerythritol) may reduce the influence of electrostatic attraction from dipole interactions.We acknowledge that the majority of PFASs in our database are anionic species in nature.This is largely due to the lack of commercial standards for cationic, zwitterionic, and most non-ionic PFASs, and thus current mass-spectrometry based methods for PFAS quantification can only target anionic PFASs in most cases.Nevertheless, the ML methods presented in this study can be employed beyond anionic PFASs if their quantifications and corresponding removal efficiencies by polyamide NF and RO membranes are available in the future.Also, the high attention scores of ether group in determining model prediction suggest the importance of functional group substitution in PFAS transport across polyamide NF and RO membranes, which is also supported by the results of MD simulations.This highlights research needs of evaluating membrane performance for removing diverse PFASs species other than PFCAs and PFSAs.In addition, with proper feature engineering to capture the distinct physical and chemical properties, the approaches developed in this work have the potential to predict the performance and gain mechanistic knowledge for other materials, such as novel membranes made of two-dimensional materials and nanochannels, as well as for the development of novel adsorbents and catalysts.Such applications enable the design of materials by leveraging an enhanced understanding of the intricate relationship between structural details and performance of functional materials.

Data collection

24The data regarding PFAS rejection efficiencies of polyamide NF and RO membranes were collected from both the literature and our own experiments.For the data from the literature (Supplementary Data 1), which were used for ML model training, we extracted 457 data points either directly from tables presenting PFAS removal rates or by employing the Engauge Digitizer software to extract data from graphs.We also conducted experiments to evaluate the rejections of various PFASs from AFFF-contaminated feedwater using three commercial NF membranes and two modified NF membranes (Supplementary Table 3).From these experiments, 77 data points were acquired and used to assess the accuracy of ML models (Supplementary Data 1).The detailed membrane modification methods and the experimental procedure are described in the following sections.

Materials

25The AFFF sample was obtained from 3 M Co. (St.Paul, Minnesota, US), and the standard solution (mass-labelled PFAS extraction, MPFAC-24ES) for PFASs quantification was purchased from Wellington Laboratories Inc. (Ontario, Canada).Methanol ( > 99.9%, HPLC grade) was acquired from Honeywell (Muskegon, MI).Sodium chloride (NaCl, ≥99.0%), 2-propanol (IPA, ≥99.5%), ethanol (≥99%), hydrochloric acid (HCl, 36%), sodium hydroxide (NaOH, ≥97.0%), ammonium hydroxide (NH 3 OH, 28.0-30.0%),acrylic acid (CH 2 CHCOOH, ≥99.0%), potassium persulfate (K 2 S 2 O 8 , 99.0%), sodium bisulfite (Na 2 S 2 O 5 , ≥58.5%), dopamine chloride, tri(hydromethyl) aminomethane (Tris, ≥99.8%), and poly(ethylenimine) (PEI, MW 800) were all purchased from Sigma-Aldrich (St. Louis, MO).Deionized (DI) water ( > 18 MΩ•cm) was provided from a water purification system (Millipore, Burlington, MA).Commercial flat sheet NF membranes (NF90, NF270, and NF) were purchased from DuPont FILMTEC (Wilmington, DE).

Membrane surface modification

26Membrane surface modification was performed on NF270 membrane to achieve different membrane surface properties.We selected NF270 membrane for surface modification due to its loose structure and expected low PFAS removal efficiency (so that changing membrane surface properties has the best potential to alter the PFAS removal rates).Before membrane surface modification, NF270 membranes were initially immersed in a 25 v/v% IPA aqueous solution for 30 min and then washed thoroughly with DI water to remove impurities, followed by storage in DI water at 4 °C for further use.Two modification methods were employed to graft poly(acrylic acid) (PAA, a hydrophilic and negatively charged polymer) and poly(ethylenimine) (PEI, a hydrophilic and positively charged polymer) on the membrane surface.For the modification with PAA, a redox radical initiation reaction was employed, following the method reported by Belfer et al. 68 .Briefly, 1 M acrylic acid, 0.01 M K 2 S 2 O 8 and 0.01 M Na 2 S 2 O 5 solutions were prepared and poured onto the membrane surface to initiate the polymerization, which lasted for 1 h at the room temperature.The resulting PAA-modified membranes were then rinsed with DI water.For the modification with PEI, a dopamine-assisted grafting method was applied 69 .In short, 0.16 mM dopamine chloride was added to a Tris buffer solution (10 mM, pH 8.5) and then poured onto the membrane surface.After 1 h of dopamine polymerization reaction, polydopamine (PDA)-deposited membranes were rinsed with DI water, followed by immersion in 10 g L^-1 of PEI aqueous solution for 4 h at room temperature.Finally, PEI-modified membranes were rinsed with DI water.After the modification steps, the PAA-and PEI-modified membranes were stored at 4 ˚C until use.

Membrane characterization

27Several techniques were employed to characterize the surface properties of the commercial and modified membranes.Water contact angles of the membranes were measured with a contact angle goniometer (Krüss DSA 10, Hamburg, Germany) using the sessile drop method.An electrokinetic analyzer with an adjustable gap cell (SurPASS, Anton-Paar, Graz, Austria) was employed to measure the zeta-potential of the membrane surface.The zeta potential measurements were performed with 1 mM KCl as background electrolytes in the pH range of 2 to 10, which was adjusted by titration of 0.1 M HCl and 0.1 M NaOH solutions.Detailed characteristics of the membranes can be found in Supplementary Table 3 and Supplementary Fig. 11.

The evaluation of PFAS rejections by NF membranes

28The evaluation of PFAS rejections by the commercial and modified NF membranes was conducted in a lab-scale crossflow filtration system with an effective membrane area of 26.2 cm 2 .The crossflow velocity was 21.3 cm s^-1 and the operating temperature was controlled at 25 ± 1 ˚C.Before the tests, the filtration system was thoroughly cleaned with 1% NH 4 OH in DI water and ethanol (1:1) solution.The membranes were compacted overnight with DI water, and the pure water permeate flux was then measured by a digital flowmeter (FlowCal 5000, Tovatech, Plano, TX) to determine the water permeability coefficients of the membranes.Subsequently, NaCl was added to achieve an ionic strength of 10 mM in the feedwater for the measurement of NaCl rejection, followed by the addition of AFFF into the feed reservoir (the sum of detected PFASs concentrations was ~157 µg L^-1) with care to avoid bubble formation.The pH of the feedwater was adjusted (to pH of 5, 7, or 9) using 1 M HCl and 1 M NaOH solutions.The feed and permeate samples were collected in 15 mL polypropylene tubes (Corning Inc., Corning, NY) after 1 h operation and then stored at 4 °C until PFAS quantification.

PFAS quantification

29For sample preparation, 100 µL of the collected feed or permeate sample was mixed with 100 µL of internal standard solution (20 µg L^-1, MPFAC-24ES in methanol) in a polypropylene vial (VWR, Radnor, PA).The prepared samples were analyzed by an Agilent 1290 liquid chromatography paired with an Agilent 6460 triple quadrupole mass spectrometer (LC-QQQ-MS, Agilent Technologies, Santa Clara, CA).The obtained concentrations were used for the calculation of PFAS rejection rates, which were used to evaluate the predictive performance of the ML models.

Molecular properties of PFASs

30The SMILES strings of the PFASs included in our data set were used to build the molecular structure in Avogadro software (version 1.2.0).Such structures were imported into Marvin View (version 22.22.0,Chemaxon, Budapest, Hungary) for calculating the values of pK a , maximum/minimum projection radius of PFAS molecule, and log K ow .The computed values of the calculated molecular properties are listed in Supplementary Table 2 and Supplementary Data 1, with the obtained values being used as input variables for ML models.Additionally, atomic charges of the PFAS molecules were determined by the ORCA (version 5.0.3)software 70 , and the dissociation of PFASs was considered when calculating the atomic charge of each atom.The atomic charge calculations were performed using the density functional theory method of B3LYP (a hybrid functional in density functional theory, which combines Becke's three-parameter exchange and Lee-Yang-Parr correlation) with def2-TZVPP basis set 71 .The impact of the solvent (i.e., water) was computed by utilizing the Conductor-like Polarizable Continuum Model (CPCM), and the values of static dielectric constant and refractive index of water are 80.4 and 1.3, respectively 72 .Finally, JANPA, an open-source JAVA software, was used for natural population analysis, which provides the value of atomic charge 73 .RDKit, a Python library, was then used to visualize the atomic charge of each atom in Supplementary Figs.4-6.

Variable selection for ML models

31We selected a set of variables pertaining to the properties of membranes and PFAS by considering membrane separation mechanisms such as size exclusion, Donnan exclusion, and adsorption 36 .As a result, eight variables were selected including compound size, log K ow , charge product (a product of membrane charge index and compound charge), water contact angle (WCA) and MWCO of the membranes, hydraulic pressure, C in , and ionic strength (IS) of the feedwater.Especially, compound size and charge product were calculated using the following equations 36 .

32Compound size = ðmaximum projection radius × minimum projection radiusÞ 0:5 ð1Þ

33Charge product = membrane charge index × compound charge ð2Þ

34where the compound charge was calculated by weighting charged and neutral forms of PFAS at the experimental pH according to their respective proportions 36 ; the isoelectric points of the membranes were determined by identifying the pH at which the zeta potentials of membranes became zero.For the multimodal transformer model, SMILES strings were tokenized, a process in which the strings are converted into numerical values, and these numerical values were incorporated as additional input variables.

ML models and their interpretation

35We implemented two ML models, namely the XGBoost and multimodal transformer models, to predict PFAS removal by polyamide NF and RO membranes.The selection of the XGBoost model was due to its strong performance in many data science competitions and our previous publications 36,37,74 .While XGBoost has shown high predictive performance for structured and tabular data through its ensemble of decision trees 74 , the multimodal transformer model leverages attention mechanisms, which enable efficient capturing of interdependencies especially in sequences like SMILES strings 46 .

36Considering the potentially important roles of chemical structure on PFAS transport across membranes, the multimodal transformer model that incorporates SMILES strings representing structural information has the potential to unveil the impacts of chemical features on PFAS removal by polyamide NF and RO membranes.To train the XGBoost and multimodal transformer models, we used 5-fold cross-validation and Bayesian optimization for hyperparameter tuning to avoid data leakage.Data were grouped according to experimental settings and combined with the corresponding PFAS names to create unique labels.Data sharing the same label were assigned to the same fold.This method ensured that data with similar experimental conditions (e.g., identical membrane type and PFAS, differing only in one variable) were kept within the same fold, effectively minimizing the risk of data leakage 36,37 .After optimizing the hyperparameters, the ML models were trained using the entire training dataset with the optimal hyper-parameters.The models' predictive capabilities were then evaluated using our own experimental data on PFAS rejection.The performance of the models was evaluated by using RMSE and MAE.These metrics are mathematically expressed as follows:

37where n is the number of samples, y represents the true values (i.e., the target labels of the dataset), ŷ represents the estimated values by the model.

38After training the model, we employed SHAP, a commonly used XAI technique [36][37][38]51 , to interpret the XGBoost model. Inthe SHAP method, the contribution of each variable to the model prediction is calculated by considering all possible combinations of variables and their corresponding contributions 51 .Thus, the use of SHAP enabled us to unveil the key factors governing PFAS removal by polyamide NF and RO membranes.For the multimodal transformer model, SMILES strings were utilized as additional inputs during model training.The SMILES strings were tokenized into numerical values, with each numerical value representing a specific chemical element, to facilitate their incorporation into the model.To ensure uniformity, the length of the tokens was standardized based on the longest set of tokens observed in the PFAS compounds present within the dataset.If the length of tokens was shorter than the maximum length, zeros were padded to achieve the required length.During the training of multimodal transformer model, attention scores were extracted from each input variable across different layers of multiple attention heads.These scores were then averaged for each atom within the structure of PFAS compounds to create heat maps, which visually represent the importance of each atom in determining PFAS removal by polyamide NF and RO membranes.

MD simulations of PFAS transport across polyamide membrane

39Membrane preparation.Polyamide membrane composed of PIP and TMC was prepared with dimensions of 4.7 × 4.7 × 9 nm 3 .The PIP-TMC polyamide membrane was chosen as the representative NF membrane that is typically used in experiments.Compared to polyamide membranes fabricated using m-phenylene diamine (MPD) and TMC, the looser PIP-TMC polyamide membrane is also more likely to unveil the relation between the functional group and the rejection of PFAS 25,[75][76][77] .The cross-linked membranes are prepared following our previous work 78 .The monomers, PIP and TMC, are randomly placed inside a simulation box with PIP:TMC molar ratio of 1.5 and a target density of 1.3 g cc^-1.The system of monomers is energy-minimized and simulated crosslinking is initiated under a canonical ensemble at 300 K.At each cross-linking step, the reactive sites of PIP and TMC were https://doi.org/10.1038/s41467-024-55320-9

40Nature Communications | (2024) 15:10918 identified, and sites within specified cutoff distances of 0.45 nm were pulled towards each other using steered MD simulations (using virtual elastic springs).Once the reactive sites reached within 0.15 nm, physical amide bonds were assigned, appropriate H and Cl atoms were removed, and the topology of the molecule was updated.The crosslinking was continued until a cross-linking degree of 90% was achieved, which (excluding monomers) produced an O/N ratio of 1.14.At any intermediate crosslinking step if no reactive groups were found within the cutoff of 0.45 nm, the cutoff distance was increased by 0.05 nm.The monomeric TMC and PIP were removed and any remaining chloride atoms in TMCs were replaced with hydroxyl groups.Finally, one of the carboxyl groups in TMC containing exactly one amide bond was deprotonated (Fig. 5a).The charge density of our polyamide membrane is consistent with the charge density of membranes at pH 7.3 studied by Liu et al. 79 .

41Potential of mean force.The crosslinked polyamide membrane was inserted at the center of a box of dimension 4.7 × 4.7 × 19 nm 3 , followed by the addition of PFAS at the position (2.35, 2.35, 0 nm) and solvation with TIP3P water.The Swissparam 80 forcefield was applied to the polyamide membrane and PFAS.The system was energy minimized using the steepest descent, followed by canonical (NVT) ensemble for 50 ps, and isothermal-isobaric (NPT) ensemble for 20 ns.The temperature and pressure of the simulations were maintained at 300 K and 1 bar using a stochastic velocity rescaling thermostat with a time constant of 0.1 ps and Berendsen barostat with compressibility of 4.5 × 10 −5 in z-direction (normal to the polyamide membrane) and 0 in x-and y-directions with a time constant of 10 ps.The initial configurations for umbrella sampling were generated by steering the PFAS molecules across the polyamide membrane with a force constant of 100 kJ mol^-1 nm^-2 and a pulling rate of 0.001 nm ps^-1.The reaction coordinate for umbrella sampling was defined as the displacement vector along the z-axis between the center of mass of PFAS and the polyamide membrane.A total of 120 windows were chosen for the reaction coordinate between ±6 nm for PIP-TMC.An umbrella potential with a force constant of 500 kJ mol^-1 nm^-2 was applied to PFAS in each window and equilibrated using eight cycles of 2.5 ns simulated annealing between 300 and 600 K and NPT equilibration of 5 ns (using the same thermostats and barostat).Finally, umbrella sampling simulations were performed with a force constant of 200 kJ mol^-1 nm^-2 using the Nose-Hoover thermostat 81 and Perrinello-Rahman barostat 82 for 80 ns, until convergence in the PMF was achieved.Periodic boundary conditions were used in all directions.The PMF profiles were calculated with the weighted histogram analysis method (WHAM 64 ) using 300 bins, a tolerance of 10^-8, and the periodic assumption.The integrated autocorrelation time was determined for each window to assign relative weights to the windows 83 .All PMF calculations and analyses were performed using GROMACS 2022 84 .

42Hydrogen bond analysis.The hydrogen bonds formed between PFASpolyamide membrane and PFAS-water were calculated using the MDAnalysis Python package 85 .The oxygen, sulfur, and fluorine atoms were treated as acceptors and oxygen and nitrogen atoms with at least one bound hydrogen were treated as hydrogen bond donors.The cutoff distance between donor and acceptor atoms and the angle between donor-hydrogen-acceptor for hydrogen bonds were set at 0.35 nm and 150°, respectively.The total number of hydrogen bonds was determined as a function of the reaction coordinate from all umbrella sampling windows.The reaction coordinate is binned with a width of 0.05 nm and all data points in a bin are used to determine the average and standard deviation.

Reporting summary

43Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Fig. 2 |

44Fig. 2 | Predictive performance of XGBoost and the multimodal transformer models for PFAS removal.For the XGBoost model, numerical variables representing PFAS characteristics, membrane properties, and operational conditions were used as input variables.The multimodal transformer model used the same

Fig. 1 |

45Fig. 1 | Workflow of XGBoost and multimodal transformer models for predicting PFAS removal rates by polyamide NF and RO membranes.The SHAP method was used for the interpretation of the XGBoost model, while attention

Fig. 3 |

46Fig. 3 | SHAP analysis of key variable influencing PFAS removal prediction by the XGBoost model.a SHAP summary, b SHAP importance, and SHAP dependence plots for (c) charge product, (d), molecular weight cut-off (MWCO), (e) log K ow , and (f) initial concentration of PFAS (C in ) obtained from the XGBoost model.IS and WCA refer to ionic strength and water contact angle of membranes, respectively.For easier comparison, each importance score is normalized by the importance score of the input variable with the highest importance in Fig. 3b.The encircled data points in Fig. 3e indicate outliers.Source data are provided as a Source Data file.

Fig. 4 |

47Fig. 4 | Heat maps highlighting attention scores of atoms for PFASs.Heat maps categorize PFAS into (a) PFCAs (blue box), (b) PFSAs (green box), and (c) other PFASs (orange box).The details of those PFASs categories are shown in Supplementary Table 2.The chemical structures of the PFAS compounds shown in this figure are also presented in Supplementary Fig. 2. Source data are provided as a Source Data file.

Fig. 5 |

48Fig. 5 | Molecular dynamics simulation of PFAS rejection mechanisms in a charged PIP-TMC membrane.a The initial system configuration of PFAS (cyan: carbon, yellow: hydrogen, and red: oxygen), polyamide membrane (red; yellow: deprotonation sites), and neutralizing sodium ions (green).The water molecules are not shown.b the potential of mean force for moving PFAS across the polyamide membrane.The dashed line marks the reference free energy.The dotted line marks the boundaries of the dense layer of the polyamide membrane.c Comparison of the effective free energy barrier in the PMF profile (gray) and the number of hydrogen bonds lost by the PFAS at the dense layer of the polyamide membrane (red).Examples of hydrogen bonding (black dashed line) of (d) PFHxA, (e) GenX, and (f) PFPeS in bulk water (top) and the dense layer of the polyamide membrane (bottom).Cyan: carbon, pink: fluorine, white: hydrogen, red: oxygen, and yellow: sulfur.Source data are provided as a Source Data file.

49Article https://doi.org/10.1038/s41467-024-55320-9Nature Communications | (2024) 15:10918

참고문헌 78건

  1. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers SoftwareX · Elsevier BV · 2015 10.1016/j.softx.2015.06.001
  2. Atomic Charges Within Molecules Advances in atomic and molecular physics · Elsevier BV · 1985 10.1016/s0065-2199(08)60265-1
  3. Prediction of the rejection of organic compounds (neutral and ionic) by nanofiltration and reverse osmosis membranes using neural networks Korean Journal of Chemical Engineering · Springer Science+Business Media · 2015 10.1007/s11814-015-0086-y
  4. Sources, Fate and Transport of Perfluorocarboxylates Environmental Science & Technology · American Chemical Society · 2005 10.1021/es0512475
  5. Perfluoroalkyl sulfonic and carboxylic acids: A critical review of physicochemical properties, levels and patterns in waters and wastewaters, and treatment methods Journal of Environmental Science and Health Part A · 2009 10.1080/10934520903139811
  6. Estimation of octanol/water partition coefficients: Evaluation of six methods for highly hydrophobic aromatic hydrocarbons Chemosphere · Elsevier BV · 1988 10.1016/0045-6535(88)90226-3
  7. Discovery and Implications of C<sub>2</sub> and C<sub>3</sub> Perfluoroalkyl Sulfonates in Aqueous Film-Forming Foams and Groundwater Environmental Science & Technology Letters · American Chemical Society · 2015 10.1021/acs.estlett.5b00049
  8. Surface modification of commercial polyamide reverse osmosis membranes by radical grafting: An ATR-FTIR study Acta Polymerica · Wiley · 1998 10.1002/(sici)1521-4044(199810)49:10/11<574::aid-apol574>3.0.co;2-0
  9. Behaviour and fate of perfluoroalkyl and polyfluoroalkyl substances (PFASs) in drinking water treatment: A review Water Research · Elsevier BV · 2013 10.1016/j.watres.2013.10.045
  10. JANPA: An open source cross-platform implementation of the Natural Population Analysis on the Java platform Computational and Theoretical Chemistry · Elsevier BV · 2014 10.1016/j.comptc.2014.10.002
  11. Canonical dynamics of the Nosé oscillator: Stability, order, and chaos Physical review. A, General physics · American Institute of Physics · 1986 10.1103/physreva.33.4253
  12. Private Drinking Water Wells as a Source of Exposure to Perfluorooctanoic Acid (PFOA) in Communities Surrounding a Fluoropolymer Production Facility Environmental Health Perspectives · National Institute of Environmental Health Sciences · 2010 10.1289/ehp.1002503
  13. Rejection of salt mixtures from high saline by nanofiltration membranes Korean Journal of Chemical Engineering · Springer Science+Business Media · 2009 10.1007/s11814-009-0133-7
  14. Tracking the Pathways of Human Exposure to Perfluorocarboxylates Environmental Science & Technology · American Chemical Society · 2009 10.1021/es900228k
  15. Nanofiltration for Trace Organic Contaminant Removal: Structure, Solution, and Membrane Fouling Effects on the Rejection of Perfluorochemicals Environmental Science & Technology · American Chemical Society · 2008 10.1021/es703207s
  16. Artificial neural network models based on QSAR for predicting rejection of neutral organic compounds by polyamide nanofiltration and reverse osmosis membranes Journal of Membrane Science · Elsevier BV · 2009 10.1016/j.memsci.2009.06.048
  17. Effects of Sorption on the Rejection of Trace Organic Contaminants During Nanofiltration Environmental Science & Technology · American Chemical Society · 2010 10.1021/es902846m
  18. Effect of Flux (Transmembrane Pressure) and Membrane Properties on Fouling and Rejection of Reverse Osmosis and Nanofiltration Membranes Treating Perfluorooctane Sulfonate Containing Wastewater Environmental Science & Technology · American Chemical Society · 2007 10.1021/es062052f
  19. Strain fluctuations and elastic constants The Journal of Chemical Physics · American Institute of Physics · 1982 10.1063/1.443248
  20. Hydrophobicity Parameter (log K<sub>ow</sub>) Estimation for Some Phenolic Compounds of Pharmaceutical Interest from Retention Studies with Mobile Phase Composition in Reversed‐Phase Liquid Chromatography Separation Science and Technology · Taylor & Francis · 2008 10.1080/01496390701764858
  21. THE weighted histogram analysis method for free‐energy calculations on biomolecules. I. The method Journal of Computational Chemistry · Wiley · 1992 10.1002/jcc.540130812
  22. Perfluoroalkyl and polyfluoroalkyl substances in the environment: Terminology, classification, and origins Integrated Environmental Assessment and Management · Wiley · 2011 10.1002/ieam.258
  23. g_wham—A Free Weighted Histogram Analysis Implementation Including Robust Error and Autocorrelation Estimates Journal of Chemical Theory and Computation · American Chemical Society · 2010 10.1021/ct100494z
  24. Modeling the Retention of Organic Compounds by Nanofiltration and Reverse Osmosis Membranes Using Bootstrap Aggregated Neural Networks Arabian Journal for Science and Engineering · Springer Science+Business Media · 2016 10.1007/s13369-016-2320-2
  25. Concentrations and patterns of perfluoroalkyl and polyfluoroalkyl substances in a river and three drinking water treatment plants near and far from a major production source The Science of The Total Environment · Elsevier BV · 2017 10.1016/j.scitotenv.2017.01.079
  26. Relating Silica Scaling in Reverse Osmosis to Membrane Surface Properties Environmental Science & Technology · American Chemical Society · 2017 10.1021/acs.est.6b06411
  27. Impact of feed water pH and membrane material on nanofiltration of perfluorohexanoic acid in aqueous solution Chemosphere · Elsevier BV · 2017 10.1016/j.chemosphere.2017.05.132
  28. Rejection of Trace Level Perfluorohexanoic Acid (PFHxA) in Pure Water by Loose Nanofiltration Membrane Journal of Water and Environment Technology · Japan Society on Water Environment · 2017 10.2965/jwet.16-072
  29. Emerging poly- and perfluoroalkyl substances in the aquatic environment: A review of current literature Water Research · Elsevier BV · 2017 10.1016/j.watres.2017.07.024
  30. Perfluorooctane sulfonate and perfluorobutane sulfonate removal from water by nanofiltration membrane: The roles of solute concentration, ionic strength, and macromolecular organic foulants Chemical Engineering Journal · Elsevier BV · 2017 10.1016/j.cej.2017.09.061
  31. Worldwide drinking water occurrence and levels of newly-identified perfluoroalkyl and polyfluoroalkyl substances The Science of The Total Environment · Elsevier BV · 2017 10.1016/j.scitotenv.2017.10.210
  32. Technology review and evaluation of different chemical oxidation conditions on treatability of PFAS Remediation Journal · Wiley · 2018 10.1002/rem.21555
  33. Analysis of F-53B, Gen-X, ADONA, and emerging fluoroalkylether substances in environmental and biomonitoring samples: A review Trends in Environmental Analytical Chemistry · Elsevier BV · 2019 10.1016/j.teac.2019.e00066
  34. A review of sources, multimedia distribution and health risks of novel fluorinated alternatives Ecotoxicology and Environmental Safety · Elsevier BV · 2019 10.1016/j.ecoenv.2019.109402
  35. Human exposure to per- and polyfluoroalkyl substances (PFAS) through drinking water: A review of the recent scientific literature Environmental Research · Elsevier BV · 2019 10.1016/j.envres.2019.108648
  36. The short-chain perfluorinated compounds PFBS, PFHxS, PFBA and PFHxA, disrupt human mesenchymal stem cell self-renewal and adipogenic differentiation Journal of Environmental Sciences · Elsevier BV · 2019 10.1016/j.jes.2019.08.016
  37. Removal of poly- and perfluoroalkyl substances (PFAS) from water by adsorption: Role of PFAS chain length, effect of organic matter and challenges in adsorbent regeneration Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.115381
  38. From local explanations to global understanding with explainable AI for trees Nature Machine Intelligence · Nature Portfolio · 2020 10.1038/s42256-019-0138-9
  39. Reverse osmosis membrane with simultaneous fouling- and scaling-resistance based on multilayered metal-phytic acid assembly Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.117888
  40. Exposures to per-and polyfluoroalkyl substances (PFAS): Potential risks to reproductive and children's health Current problems in pediatric and adolescent health care · Elsevier BV · 2020 10.1016/j.cppeds.2020.100760
  41. Ion and organic transport in Graphene oxide membranes: Model development to difficult water remediation applications Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.118024
  42. High throughput analysis of 21 perfluorinated compounds in drinking water, tap water, river water and plant effluent from southern China by supramolecular solvents-based microextraction coupled with HPLC-Orbitrap HRMS Environmental Pollution · Elsevier BV · 2020 10.1016/j.envpol.2020.114389
  43. Magnetic ion-exchange (MIEX) resin for perfluorinated alkylsubstance (PFAS) removal in groundwater: Roles of atomic charges for adsorption Water Research · Elsevier BV · 2020 10.1016/j.watres.2020.115897
  44. Occurrence, fate, sources and toxicity of PFAS: What we know so far in Florida and major gaps TrAC Trends in Analytical Chemistry · Elsevier BV · 2020 10.1016/j.trac.2020.115976
  45. Explainable artificial intelligence model to predict acute critical illness from electronic health records Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-17431-x
  46. An overview of the uses of per- and polyfluoroalkyl substances (PFAS) Environmental Science Processes & Impacts · Royal Society of Chemistry · 2020 10.1039/d0em00291g
  47. The Price of Really Clean Water: Combining Nanofiltration with Granular Activated Carbon and Anion Exchange Resins for the Removal of Per- And Polyfluoralkyl Substances (PFASs) in Drinking Water Production ACS ES&T Water · American Chemical Society · 2021 10.1021/acsestwater.0c00141
  48. Adsorption behavior of organic pollutants on microplastics Ecotoxicology and Environmental Safety · Elsevier BV · 2021 10.1016/j.ecoenv.2021.112207
  49. A review of the occurrence, transformation, and removal of poly- and perfluoroalkyl substances (PFAS) in wastewater treatment plants Water Research · Elsevier BV · 2021 10.1016/j.watres.2021.117187
  50. Predicting Micropollutant Removal by Reverse Osmosis and Nanofiltration Membranes: Is Machine Learning Viable? Environmental Science & Technology · American Chemical Society · 2021 10.1021/acs.est.1c04041
  51. Membrane-based technologies for per- and poly-fluoroalkyl substances (PFASs) removal from water: Removal mechanisms, applications, challenges and perspectives Environment International · Elsevier BV · 2021 10.1016/j.envint.2021.106876
  52. Transformer in Computer Vision 2021 IEEE International Conference on Computer Science, Electronic Information Engineering and Intelligent Control Technology (CEI) · 2021 10.1109/cei52496.2021.9574462
  53. Molecular insights into charged nanofiltration membranes: Structure, water transport, and water diffusion Journal of Membrane Science · Elsevier BV · 2021 10.1016/j.memsci.2021.120057
  54. A Deep Gravity model for mobility flows generation Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-26752-4
  55. Revolutionizing Membrane Design Using Machine Learning-Bayesian Optimization Environmental Science & Technology · American Chemical Society · 2021 10.1021/acs.est.1c04373
  56. Machine learning reveals key ion selectivity mechanisms in polymeric membranes with subnanometer pores Science Advances · American Association for the Advancement of Science · 2022 10.1126/sciadv.abl5771
  57. A Survey on Vision Transformer IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2022 10.1109/tpami.2022.3152247
  58. Machine learning-based modeling and analysis of PFOS removal from contaminated water by nanofiltration process Separation and Purification Technology · Elsevier BV · 2022 10.1016/j.seppur.2022.120775
  59. Software update: The <scp>ORCA</scp> program system—Version 5.0 Wiley Interdisciplinary Reviews Computational Molecular Science · Wiley · 2022 10.1002/wcms.1606
  60. Historical and current usage of per‐ and polyfluoroalkyl substances (PFAS): A literature review American Journal of Industrial Medicine · Wiley · 2022 10.1002/ajim.23362
  61. Dual-Functional Nanofiltration and Adsorptive Membranes for PFAS and Organics Separation from Water ACS ES&T Water · American Chemical Society · 2022 10.1021/acsestwater.2c00043
  62. The Phytomanagement of PFAS-Contaminated Land International Journal of Environmental Research and Public Health · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ijerph19116817
  63. Molecular insights into the structure-property relationships of 3D printed polyamide reverse-osmosis membrane for desalination Journal of Membrane Science · Elsevier BV · 2022 10.1016/j.memsci.2022.120731
  64. Removing emerging perfluoroalkyl ether acids and fluorotelomer sulfonates from water by nanofiltration membranes: Insights into performance and underlying mechanisms Separation and Purification Technology · Elsevier BV · 2022 10.1016/j.seppur.2022.121648
  65. Machine learning enables interpretable discovery of innovative polymers for gas separation membranes Science Advances · American Association for the Advancement of Science · 2022 10.1126/sciadv.abn9545
  66. Conformational distributions of helical perfluoroalkyl substances and impacts on stability Journal of Computational Chemistry · Wiley · 2022 10.1002/jcc.26967
  67. A Review on Per- and Polyfluoroalkyl Substances (PFAS) Remediation: Separation Mechanisms and Molecular Interactions ACS ES&T Water · American Chemical Society · 2022 10.1021/acsestwater.2c00271
  68. Material transformers: deep learning language models for generative materials design Machine Learning Science and Technology · IOP Publishing · 2022 10.1088/2632-2153/acadcd
  69. Drinking water nanofiltration with concentrate foam fractionation—A novel approach for removal of per- and polyfluoroalkyl substances (PFAS) Water Research · Elsevier BV · 2023 10.1016/j.watres.2023.119688
  70. Exploring the Knowledge Attained by Machine Learning on Ion Transport across Polyamide Membranes Using Explainable Artificial Intelligence Environmental Science & Technology · American Chemical Society · 2023 10.1021/acs.est.2c08384
  71. Environmental and health impacts of PFAS: Sources, distribution and sustainable management in North Carolina (USA) The Science of The Total Environment · Elsevier BV · 2023 10.1016/j.scitotenv.2023.163123
  72. Removal of per- and polyfluoroalkyl substances by nanofiltration: Effect of molecular structure and coexisting natural organic matter Journal of Hazardous Materials · Elsevier BV · 2023 10.1016/j.jhazmat.2023.131438
  73. Sulfonated Reverse Osmosis Membrane with Simultaneous Mitigation of Silica Scaling and Organic Fouling Industrial & Engineering Chemistry Research · American Chemical Society · 2023 10.1021/acs.iecr.3c01519
  74. DFT Calculation of Nonperiodic Small Molecular Systems to Predict the Reaction Mechanism of Advanced Oxidation Processes: Challenges and Perspectives ACS ES&T Engineering · American Chemical Society · 2023 10.1021/acsestengg.3c00204
  75. Beyond Conventional Density Functional Theory: Advanced Quantum Dynamical Methods for Understanding Degradation of Per- and Polyfluoroalkyl Substances ACS ES&T Engineering · American Chemical Society · 2023 10.1021/acsestengg.3c00216
  76. Computational Chemistry as Applied in Environmental Research: Opportunities and Challenges ACS ES&T Engineering · American Chemical Society · 2023 10.1021/acsestengg.3c00227
  77. SwissParam 2023: A Modern Web-Based Tool for Efficient Small Molecule Parametrization Journal of Chemical Information and Modeling · American Chemical Society · 2023 10.1021/acs.jcim.3c01053
  78. Molecular dynamics simulation files for PFAS-Polyamide membrane Potential of Mean Force Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2024 10.5281/zenodo.13924418