WorksPhysics and Astronomy
Data analysis of millions of Type IIB flux vacua
Abstract
We study the vacuum structure of flux compactifications of type IIB string theory on the degree 18 hypersurface in with two effective complex structure moduli. We scan flux choices compatible with the tadpole bound, and use a gradient-based constrained minimization based on the SLSQP algorithm to identify candidates for local minima of the scalar potential, yielding a dataset of millions of candidate flux vacua. Using the reliable solutions selected from this dataset, we analyze distributions and correlations of various physical quantities such as vacuum expectation values of moduli and vacuum energy. Using quadratic flux invariants as input features, we train a classifier to identify solutions satisfying the numerical SUSY criterion . On a randomly selected test set, selecting the top-ranked recovers of the SUSY test solutions. We also use supervised regression to predict the potential and moduli field values. In the regression comparison, quadratic flux invariant inputs improve prediction of potential value and the complex-structure coordinates, while the vanilla six flux parameters give better predictions for the axio-dilaton coordinates under the tested settings.
Introduction
It has been a long-standing dream of string theorists to connect the beauty of string theory to the low-energy physics describing our Universe. One of the most crucial steps in this direction is to enumerate and analyze the vacua of string theory. There has been tremendous progress in recent years for higher-dimensional supersymmetric vacua, where evidence for string universality or string lamp-post principle has been accumulating [1, 2, 3, 4, 5, 6, 7, 8, 9]. For lower-dimensional vacua closer to our world, the number of vacua may be enormous [10, 11], but it is also conjectured to be finite [12, 13, 14, 15]. The finiteness implies that there might be hidden constraints or correlations among physical quantities in the low-energy effective theory obtained from string theory, in the spirit of the swampland program [16] (see e.g. [17, 18] for reviews). To understand real-world physics from string theory, it is therefore important to figure out the properties and statistics of such vacua. The statistical approach to type-IIB flux vacua was developed in [10, 19, 20, 21], where both counting formulae and distributions of supersymmetric and non-supersymmetric flux vacua were analyzed.
Among various approaches to construct four-dimensional string vacua, flux compactification is one of the promising directions [22, 23, 24] given the rich structure of vacua and concrete proposals for moduli stabilization, such as the KKLT scenario [25, 26] and Large-Volume Scenario (LVS) [27].
The ensemble of flux vacua provides a huge dataset, which is an excellent playground for modern data science techniques. Indeed, the numerical studies of flux vacua with modern techniques have recently been investigated [28, 29, 30, 31, 32, 33, 34, 35, 36]. See also Refs. [37, 38] for applications of generative models (conditional variational autoencoders [39] and Bayesian Flow Network [40]) for sampling flux vacua.1
In this paper, we perform data analysis of flux vacua in type IIB Calabi-Yau orientifold compactifications with two effective complex structure moduli. This is realized by a degree 18 hypersurface in the weighted projective space . We focus on a subsector with a discrete symmetry so that the effective complex structure moduli space is two-dimensional. We scan 30,770,178 flux choices satisfying the tadpole bound and use a gradient-based constrained minimization based on the Sequential Least-Squares Quadratic Programming (SLSQP) algorithm. This scan yields 46,388,212 recorded endpoints of the numerical minimization, including both supersymmetric and non-supersymmetric candidates. Applying the selection described in § 4 yields 1,296,633 reliable solutions, including 127,241 satisfying the numerical SUSY criterion . While the SUSY solutions we have obtained are fewer than those in some previous studies (specifically designed to solve the F-term equations), the number of our non-SUSY solutions is an order of magnitude larger than those in previous studies. Note that while supersymmetric vacua are key ingredients for KKLT or LVS construction, non-supersymmetric vacua are also interesting in the context of de Sitter constructions [44, 45, 46, 47] (which is a variant of dS uplift using small vacuum energy from complex structure and axio-dilaton sectors), and the various swampland conjectures regarding scalar potentials [48, 49, 50].
We also use supervised learning to classify SUSY and non-SUSY solutions and to predict the potential and moduli field values. We compare models using the six flux parameters with models using quadratic flux invariants as inputs.
The paper is organized as follows. In § 2, we review generalities on type IIB orientifold with three-form fluxes. In § 3 we write down the explicit scalar potential for the concrete model with two complex structure moduli. § 4 describes the numerical search, sample construction and common numerical SUSY classification, followed by the distributions, correlations and flux dependence of the reliable solutions. § 5 studies classification and regression tasks on this sample. We discuss the results and conclude in § 6.
Type IIB orientifold
In this section, we review the type IIB orientifold of a Calabi-Yau threefold with O3/O7-planes and three-form fluxes.2 We use the same notation as in [33].
The Hodge numbers of the Calabi-Yau threefold, and , are split into even and odd parts under the orientifold action:
Correspondingly, there are Kähler moduli, and complex structure moduli that will be denoted by ().
In this work, we focus on the complex structure moduli and the axio-dilaton, and do not address the stabilization or stability of the Kähler moduli. For positive-energy local minima in this sector, a possible route to Kähler-moduli stabilization is suggested by Saltman and Silverstein [44]. In this scenario, the positive flux contribution may be combined with nonperturbative and corrections to stabilize the Kähler moduli.
The classical Kähler potential for the complex structure moduli and the axio-dilaton is given by
where is the axio-dilaton, is a matrix, and period vector is a -dimensional vector:
Here is the prepotential (explicit expression will be shown in Eq. (13)), and .
The Gukov-Vafa-Witten superpotential is [54]
Here is the complexified three-form flux, and
are three-form fluxes expanded by the symplectic basis of three-form cohomology ():
The corresponding -dimensional flux vectors and are defined as
Similarly, the holomorphic three-form is expanded as
where and are defined as .
From (2) and (4),3 the scalar potential is
where , , and , are the inverse of Kähler metric and , respectively. The string vacua correspond to local minima of as a function of and for given values of fluxes and .
Throughout this paper, we use the term supersymmetric (SUSY) to refer to solutions satisfying the F-term conditions in the axio-dilaton and complex structure sector. This terminology does not imply unbroken supersymmetry in the full theory including the Kähler sector. The scalar potential (9) is positive semi-definite, and these F-term conditions are equivalent to :
This condition is equivalent to imaginary self-dual (ISD) condition of three-form flux. From the first equation, we observe
For supersymmetric solutions, we adopt the following normalization convention for the vacuum value of the superpotential, based on Ref. [55]:
A small value is important for the KKLT construction [25].
We have not yet specified the form of the prepotential . In general, this requires solving Picard-Fuchs equations, but in the Large Complex Structure (LCS) limit, the prepotential takes the form
Here denotes the Calabi-Yau threefold whose complex-structure periods are described by , and denotes its mirror. The constants , and are real and determined by the topology of , and is
The Hodge numbers and refer to .
The tadpole cancellation condition of D3-charge is
where is the number of D3-branes, and is the total D3-charge from orientifold projections.
A model with two effective complex structure moduli
We denote the smooth resolution of the degree-18 hypersurface in the weighted projective space by ; it has . We work in the invariant sector. In this sector, the effective complex-structure moduli are reduced to be two, which are denoted by and . This is the model we will numerically study in this paper. The Greene-Plesser mirror [56], denoted by , is obtained by resolving and has Hodge numbers . The periods in the -invariant sector of coincide with the two-parameter periods of [55, 57]. Consequently, the topological data entering the effective prepotential are those of the mirror of , namely . In particular, , giving the constant term . The prepotential is [57, 58]
We turn on the nonzero flux invariant under , and the other fluxes are set to zero:
In the following, we omit writing zeros in the flux vectors for simplicity. In this paper, we use an ansatz for the fluxes as4
equivalently,
The model has duality symmetry acting as
where , and . In particular, we have the following transformations:
Namely, the transformations generated by and do not change the flux ansatz. This indicates that we can take and without loss of generality.
The tadpole cancellation condition (15) bounds the fluxes as:
Note that if we use the orientifold constructed in [30, 59].
In this model, the superpotential, its derivatives, and Kähler derivatives are explicitly written as
and
The general solution is obtained by (locally) minimizing the scalar potential (9)
where
The instanton correction to the prepotential (16) is given by
where .
This two-parameter model has been used in several previous numerical studies of flux vacua. We will compare our scan with these works in § 4. For earlier explicit constructions and statistical analyses of flux vacua in related Calabi-Yau orientifolds, see Refs. [60, 61, 62] for example.
Numerical Results
In this section, we perform a numerical search for flux vacua in the model of § 3 and analyze the resulting dataset. § 5 uses the same sample for supervised prediction.
Numerical search and dataset construction
The overall pipeline of our scan is given in Figure 1.5 The range of fluxes we have studied is

Figure 1. Numerical pipeline for the flux scan. The Hessian cut also retains solutions with .
with the tadpole cancellation condition
There are 30,770,178 combinations of fluxes in total. For each choice of fluxes, we minimize the scalar potential (9) as a function of the six real coordinates of , , . The minimization is performed by the SLSQP algorithm implemented in scipy.optimize.minimize [64]. We use the scalar potential as the objective function and provide its gradient to the optimizer. The SLSQP stopping tolerance ftol is set to via the tol argument of scipy.optimize.minimize. Since the scalar potential can have multiple local minima for a fixed choice of fluxes, we repeat the minimization ten times with different random initial conditions. In each trial, the initial values are drawn independently from
The chosen initial-value range and the finite number of trials may bias which solutions are found, and the failure to find a solution for a given flux choice does not establish the absence of such solutions.
During the minimization, we impose the positivity constraints
In order to select solutions for analysis, we require successful convergence, and a sufficiently small gradient. More explicitly, for a solution , we impose
Different random initial conditions may converge to the same solution. During the initial scan, we apply a preliminary duplicate check within each flux choice: two recorded endpoints are identified when their potential and field values agree after rounding each component to two significant digits. We apply the additional duplicate removal described below after the selection cuts. Although the axio-dilaton can be mapped to the fundamental domain using (19), the statistics and figures in this and next sections use the saved coordinates before this mapping. To make this full scan computationally feasible, the batch-job configuration was tuned to account for queueing overhead and process-count constraints as well as raw CPU performance. Using this setup, we scanned all combinations within a wall-clock time of order one week and found 46,388,212 recorded endpoints.
In the numerical scan, we use the polynomial large complex structure prepotential (13), including the perturbative correction, but neglect (37). To suppress instanton corrections, we require in addition to the selection criteria above, leaving 2,309,556 solutions. For these solutions, we evaluate the Hessian in the six real variables and exclude solutions with
This removes 14,220 solutions, leaving 2,295,336 solutions. We next remove numerical duplicates, including those related by the action and , with , . Choosing a representative of each orbit, we compare the field values using the Kähler metric. In units , we use
For two field configurations , by setting and , we define
Here is the exact axio-dilaton geodesic distance. We approximate the complex-structure geodesic distance by , where the path is taken to be the straight line. Since this path need not be the shortest, we have . Therefore the exact full geodesic distance satisfies .
Within each flux orbit, we group solutions so that every pair in a group satisfies and keep the single solution in each group. This removes 998,703 duplicate records and leaves 1,296,633 reliable solutions. All statistics and data-based figures in this and the next sections use this sample. For each solution, we record the six flux parameters , the potential , and the six coordinates . There are 1,167,799 distinct flux vectors and 1,147,948 distinct flux orbits.
We also checked for additional identifications under the LCS monodromies , with , including the corresponding transformations of both flux vectors. No flux configurations in our dataset are related by such shifts, even when combined with arbitrary transformations.
To quantify the size of the instanton correction, we evaluate the ratio at the field values of 1,296,633 reliable solutions. Here is the polynomial part of (16), including the term, and includes all terms with , using the instanton numbers in [57], Table 7.1. Figure 2 shows the distribution of this ratio. The median and maximum are 0.00349% and 0.0494%, respectively. Thus, the instanton correction to the prepotential is small throughout the dataset.

Figure 2. Distribution of for reliable solutions. The horizontal axis is the ratio, and the vertical axis shows the number of solutions on a logarithmic scale. The dashed line corresponds to the median.
In Table 1, we summarize the statistics of the reliable solutions. In the following, we study the detailed distributions of the potential and moduli, their correlations, and the flux dependence and multiplicity of the solutions.
| min | |||||||
| 25% | |||||||
| 50% | |||||||
| 75% | |||||||
| max |
Table 1. Summary statistics for the 1,296,633 reliable solutions as described in § 4.1.
Potential distribution and numerical SUSY classification
Figure 3 shows the potential distribution on a logarithmic scale with two peaks separated by a lower density region. From this figure, we adopt the numerical SUSY criterion

Figure 3. Histogram of reliable solutions, with bin width 0.25. The dashed line is the numerical SUSY criterion . The shaded range lies between the 1% and 99% quantiles.
throughout this work. This criterion selects 127,241 SUSY solutions (9.81% of the sample), and 1,169,392 non-SUSY solutions.
In Table 2, we compare the reported solution counts and search conditions for the two-modulus model in earlier studies. Our numerical SUSY count is smaller than several of the counts reported in Ref. [33], while our non-SUSY count is larger than the reported count in Ref. [32].
| Study and count | Tadpole and flux choices | Selection and approximation | Duplicate identification |
| [58 Sec. 3.3] F-term roots: 500,865 After cuts: 24,882 | ; ansatz (18). | F-term equations; polynomial prepotential; ; LCS test (tolerance 0.1). | identification; mapped to its fundamental domain. |
| [30 Sec. 4.1] SUSY: 33,019 (polynomial), 34,542 (with instantons) | No cut on ; twelve-component fluxes. | F-term equations; polynomial prepotential with or without instanton corrections through degree 10; ; mirror Kähler-cone check; Hessian check; LCS test (tolerance 0.1). | identification. |
| [32 Sec. 3.1] Non-SUSY: 77,849 | ; uniform integer-flux sampling. | Critical points; polynomial prepotential with instanton corrections through degree 10; Hessian check. | identification in the referenced framework. |
| [33 Table 1] SUSY: A: 5,140,872 B: 12,196 C: 50,884,086 D: 123,408,240 | , with for A–D. Twelve-component fluxes. | F-term equations; polynomial prepotential; LCS tests: ratios . | and complex-structure monodromy identification. |
| This work Non-SUSY: 1,169,392 SUSY: 127,241 | ; ansatz (18); . | See main text. | See main text. |
LCS tests include conditions such as (threshold). The precise definitions and cuts differ among references.
Table 2. Comparison of the solution counts and search conditions for the two-modulus model with earlier studies.
Moduli distributions and correlations
Here we study the moduli field values and their correlations. In order to study correlations among the moduli, we compute the correlation matrices for the reliable solutions. The Pearson correlation matrix for reliable solutions is shown in Figure 4. The Pearson correlation coefficients are defined as follows. Let be real-valued random variables with and being the means and variances, respectively. The covariance between and is defined as

Figure 4. Pearson correlation matrices. Left: 1,296,633 reliable solutions, including those with very large field values. Right: The subset of 1,288,378 reliable solutions with and .
The correlation matrix of is then
It is a positive semidefinite symmetric matrix with unit diagonal entries, i.e. for all . The correlations close to or in the full sample become substantially weaker in the subset with . The real parts retain a strong anti-correlation, .
For the assessment of the sensitivity to large field values, we also compute the Spearman rank correlations, shown in Figure 5. Spearman correlation is the Pearson correlation of the ranks, with average ranks assigned to tied values. For and , the Spearman coefficients are and for reliable solutions and for the restricted subset, respectively. The real-part anti-correlation therefore persists. For and , however, the Spearman coefficients are only and , respectively. Thus, the large Pearson coefficients for the imaginary parts are not accompanied by strong rank correlations.
Figure 5. Spearman rank correlation matrices for the same variables, samples, and coordinates as Figure 4.
A correlation is more clearly visualized in two-dimensional density plots, as shown in Figure 6. We see that the real parts display a strong anti-correlation. On the other hand, the other pairs show no clear correlation, although large imaginary parts tend to accompany small absolute values of the corresponding real parts.
Figure 6. Two-dimensional density plots for the reliable solutions. We focus on the solutions with real parts in and imaginary parts in . The fractions of solutions outside these ranges are 0.512%, 2.030%, 1.634%, and 0.637% for the top-left, top-right, bottom-left, and bottom-right panels, respectively.
Next, we restrict ourselves to the SUSY subset defined by Eq. (46). Table 3 summarizes the distributions of the solutions in this subset. The Pearson correlation matrix for the SUSY solutions is shown in Figure 7. For the real and imaginary parts of the complex-structure moduli, the Pearson coefficients are
Figure 7. The Pearson correlation matrix for the 127,241 SUSY solutions.
| min | -56.1 | -42.1 | 1.00 | -85.9 | 1.00 | |
| 25% | -1.60 | 0.188 | -0.542 | 1.09 | -1.95 | 1.16 |
| 50% | -0.732 | 0.471 | 0.225 | 1.23 | -0.419 | 1.45 |
| 75% | -0.183 | 1.41 | 0.868 | 1.54 | 2.05 | 2.22 |
| max | 86.4 | 41.2 | 634 | 90.5 |
Table 3. Summary statistics for the SUSY solutions.
Figure 8 shows the Spearman rank correlations for the SUSY sample. The real parts of and are anti-correlated, with a coefficient of , while the imaginary parts show a weaker positive correlation of 0.238. The Kendall rank correlations show the same qualitative trends in all three samples.
Figure 8. Spearman rank correlation matrix for all SUSY solutions. The variables and saved coordinates are the same as in Figure 7; no coordinate-range cut is applied.
Figure 9 visualizes these relations. The imaginary parts are concentrated near , with a sparse tail toward larger values. Excluding the 95 solutions with lowers their Pearson coefficient from 0.644 to 0.537, while the Spearman coefficient changes only from 0.2380 to 0.2364, indicating that the tail primarily affects the Pearson correlation.
Figure 9. Two-dimensional density plots for the 127,241 SUSY solutions. Left: both real parts are in . Right: both imaginary parts are in . The fractions of this SUSY sample outside these ranges are 1.161% and 0.0747%, respectively.
Flux dependence and solution multiplicity
We find at least one reliable solution for 1,147,948 of the 27,330,992 scanned flux orbits. No reliable solution is found for the remaining 26,183,044 orbits (95.80%). Since a
flux choice may admit multiple solutions, we define as the number of reliable solutions associated with the orbit of .
The distribution of is shown in Table 4. Among flux orbits for which at least one reliable solution is found, 92.68% have exactly one and the rest have multiple solutions. The largest observed value is . An orbit can contain up to four scanned flux representatives, each with ten initial conditions, so this value is not a real upper bound on the number of vacua.
| # flux orbits | fraction [%] | # flux orbits | fraction [%] | ||
| 1 | 1,063,963 | 92.6839 | 21 | 46 | 0.0040 |
| 2 | 60,678 | 5.2858 | 22 | 50 | 0.0044 |
| 3 | 11,968 | 1.0426 | 23 | 37 | 0.0032 |
| 4 | 4,635 | 0.4038 | 24 | 23 | 0.0020 |
| 5 | 2,367 | 0.2062 | 25 | 20 | 0.0017 |
| 6 | 1,248 | 0.1087 | 26 | 18 | 0.0016 |
| 7 | 764 | 0.0666 | 27 | 18 | 0.0016 |
| 8 | 490 | 0.0427 | 28 | 12 | 0.0010 |
| 9 | 327 | 0.0285 | 29 | 15 | 0.0013 |
| 10 | 208 | 0.0181 | 30 | 12 | 0.0010 |
| 11 | 148 | 0.0129 | 31 | 9 | 0.0008 |
| 12 | 139 | 0.0121 | 32 | 7 | 0.0006 |
| 13 | 112 | 0.0098 | 33 | 8 | 0.0007 |
| 14 | 83 | 0.0072 | 34 | 7 | 0.0006 |
| 15 | 84 | 0.0073 | 35 | 13 | 0.0011 |
| 16 | 72 | 0.0063 | 36 | 6 | 0.0005 |
| 17 | 81 | 0.0071 | 37 | 8 | 0.0007 |
| 18 | 92 | 0.0080 | 38 | 7 | 0.0006 |
| 19 | 86 | 0.0075 | 39 | 9 | 0.0008 |
| 20 | 75 | 0.0065 | 40 | 3 | 0.0003 |
Table 4. Distribution of after duplicate removal within each flux orbit. Fractions are computed among the 1,147,948 flux orbits for which at least one reliable solution is found.
Both SUSY and non-SUSY solutions are found for 12,476 flux vectors. For example,
has solutions with and . Figure 10 shows the SUSY fraction as a function of each flux parameter.
Figure 10. SUSY fraction () as a function of each flux parameter. The dashed line gives the overall SUSY fraction, 9.81%.
Machine-learning analysis of flux vacua
In this section, we apply supervised learning to the reliable solutions computed in § 4.6 We perform both classification and regression tasks. The classification task predicts whether a reliable solution is SUSY or non-SUSY, comparing the six flux parameters with invariant combinations of them. The regression task predicts the potential and moduli field values using several input representations.
The analyses in this section use XGBoost 3.0.5 [67].7 For reproducibility, we record the sample indices for each data split, model configurations, software versions, and numerical summaries with the analysis scripts.
Predicting SUSY and non-SUSY solutions
The purpose of this subsection is to classify the SUSY and non-SUSY solutions using the information of the flux as input features. To this end, we first discuss an input representation of the flux parameters. As we have seen in § 3, there is a identification of the flux vectors, generated by the transformation , with . Therefore, instead of using the six flux parameters as input features, it is natural to consider the following quadratic combinations invariant under :
These combinations are also invariant under rotations of the pairs . There are nine invariants and , but they are not algebraically independent.
These invariants discard some information, compared with the original vanilla six flux parameters. For example, , and , have identical and but belong to different orbits. They are related by an rotation with . Among the 1,296,633 solutions, there are 1,138,963 distinct nine-invariant combinations. Of these, 91,014 contain multiple solutions, accounting for 248,684 solutions in total. More than one distinct flux vector is contained in 24,482 combinations. We will see that, despite this information loss, classifiers using the nine invariants outperform those using the six flux parameters under the model settings considered here. Note that, because both SUSY and non-SUSY solutions can occur at the same flux vector, neither the six flux parameters nor their invariants necessarily determine whether an individual solution is SUSY. Indeed, 12,166 combinations of and contain both SUSY and non-SUSY solutions.
For classification, we use the 75% of the data for training (972,474 solutions) and 25% for testing ( solutions). The test set contains SUSY solutions. For the comparison of input representations, among the training data, we further split 75% for training (729,355 solutions) and 25% for validation (243,119 solutions). Both splits preserve approximately the same SUSY fraction.
The binary classifiers use maximum depth 8, learning rate 0.15, minimum child weight 5, and subsampling fractions of 0.8 for both training solutions and input variables. Unless otherwise stated, the classifiers use 300 trees.
We evaluate classification performance using the following four metrics:
ROC–AUC: Measures how well the classifier ranks SUSY solutions above non-SUSY solutions (a perfect ranking gives 1, while random ranking gives 0.5 on average).
Recall: The fraction of all SUSY solutions in the validation or test set recovered when selecting a fraction of that set in decreasing order of predicted SUSY probability.
Average precision: We rank solutions by predicted SUSY probability and consider the top one, top two, and so on, including all solutions with equal scores together. At each step, precision is the fraction of these solutions that are SUSY. For each SUSY solution, we record the precision at the step when it is included. Average precision is the mean of these values. Since the SUSY fraction in the test set is 0.09813, the random-ranking baseline is this fraction.
Brier score: The mean squared difference between the predicted SUSY probability and the actual outcome, encoded as 1 for SUSY and 0 for non-SUSY. Predicting the same probability for every solution, equal to the SUSY fraction in the training set, gives a baseline score of on the test set. Smaller values indicate better predictions. We have not performed a separate calibration study.
Table 5 compares five flux representations using the training and validation sets defined above. We use for the main classifier because its validation average precision, 0.8932, is close to 0.8953 obtained with fifteen inputs, while requiring fewer input variables. We train this classifier on the full training set with 400 trees and evaluate its predictions and ranking on the test set, obtaining the following scores:
| input features | # feat. | ROC–AUC | avg. prec. | Brier score | recall at |
| 6 | 0.9794 | 0.8244 | 0.03425 | 0.449 | |
| 4 | 0.9113 | 0.5799 | 0.05893 | 0.347 | |
| 9 | 0.9898 | 0.8932 | 0.02410 | 0.470 | |
| 10 | 0.9869 | 0.8756 | 0.02736 | 0.467 | |
| 15 | 0.9896 | 0.8953 | 0.02429 | 0.473 |
Table 5. Comparison of input feature sets on the validation set.
At selection fraction , we select solutions from the test set in decreasing score order.8 The top 5% contains 47.2% of the SUSY solutions in the test set, with precision 0.926 (Table 6). Even a perfect ranking obeys
| selection fraction | solutions selected | expected SUSY solutions | recall | precision |
| 0.1% | 324 | 317 | 0.010 | 0.978 |
| 0.2% | 648 | 633 | 0.020 | 0.977 |
| 0.5% | 1,620 | 1,575 | 0.050 | 0.972 |
| 1% | 3,241 | 3,136 | 0.099 | 0.968 |
| 2% | 6,483 | 6,215 | 0.195 | 0.959 |
| 5% | 16,207 | 15,012.7 | 0.472 | 0.926 |
| 10% | 32,415 | 27,214 | 0.856 | 0.840 |
| 20% | 64,831 | 31,769 | 0.999 | 0.490 |
Table 6. Ranking of the test solutions by predicted SUSY probability.
At , this upper bound is 50.9%. The observed recall of 47.2% is therefore close to the maximum possible value at this selection fraction.
To identify which input variables contribute most to the classifier’s predictions, we use TreeSHAP. For each solution , TreeSHAP decomposes the predicted log-odds as
where is the predicted SUSY probability, is the baseline value, and is the contribution of input variable to the prediction for solution . TreeSHAP averages over unspecified inputs using the branch weights stored in the trained trees. With all inputs unspecified, the averaged model output gives . The contribution is the change in predicted log-odds when input is specified at its value for solution , averaged over all possible orders in which the nine inputs can be specified. The values shown in Figure 11 are the mean absolute contributions over 8,000 test solutions,
Figure 11. Mean absolute TreeSHAP contributions [68] defined in Eq. (55) for the classifier with as input features. Values are averaged over 8,000 test solutions and reported in log-odds units.
Larger values indicate a greater mean absolute contribution to the predicted log-odds, compared with the other input variables in the same model. The largest contributions are (2.571), (1.432), and (1.002).
We next examine whether the classifier trained to identify solutions with is also useful for identifying solutions satisfying stricter thresholds on , without retraining (Table 7). For , selecting the top 5% of the test set recovers 42.9% of the 42 solutions satisfying this threshold.
| criterion | test solutions below threshold | fraction below threshold | ROC–AUC | avg. prec. | recall at |
| 31,810 | 0.9910 | 0.9031 | 0.472 | ||
| 29,759 | 0.9885 | 0.8655 | 0.483 | ||
| 10,305 | 0.9630 | 0.3627 | 0.550 | ||
| 1,029 | 0.9515 | 0.0439 | 0.587 | ||
| 42 | 0.9420 | 0.0029 | 0.429 |
Table 7. We evaluate the classifier using as inputs on the same test set at stricter thresholds on , without retraining.
Because multiple reliable solutions can have the same flux vector, identical input feature values can appear in both the training and test sets when individual solutions are randomly assigned to these sets. In this split (Individual solution in Table 8), 16.39% of the test solutions have the same values of as at least one training solution. This fraction is 57.40% among SUSY solutions in the test set. We therefore repeat the comparison between and by keeping all solutions with the same invariant values together in either the training or test set (Invariant group in Table 8). We assign 75% of these groups to training and 25% to testing, preserving approximately the same fraction of groups containing at least one SUSY solution in both sets. For comparison, we then select samples with the same numbers of training and test solutions under the two ways of splitting the data, while approximately preserving the SUSY fraction of each original set. For each way, both input representations use the same training and test solutions.
The result of the comparison is shown in Table 8. Under the split by invariant group, average precision is lower for both input representations, while recall at remains almost unchanged. The classifier using achieves higher average precision under
| Split method | input | SUSY fraction | ROC–AUC | avg. prec. | recall at |
| Individual solution | 9.813% | 0.9799 | 0.8286 | 0.450 | |
| Individual solution | 9.813% | 0.9904 | 0.8986 | 0.472 | |
| Invariant group | 9.758% | 0.9780 | 0.8170 | 0.448 | |
| Invariant group | 9.758% | 0.9882 | 0.8839 | 0.473 |
caption: Table 8. Comparison of two split methods. An invariant group consists of all solutions with identical values of the nine invariants . Under the split by invariant group, the same values appear in only one of the training or test sets.
:::
both split methods. We also observe that the split by invariant group does not increase the performance of the classifier.
Finally, returning to the original split by individual solution, we examine how prediction performance changes as the training set grows, using as input features and evaluating all models on the test set from that split. Average precision increases from 0.7278 to 0.8974 as the training set grows from 10,000 to 972,474 solutions (Table 9).
| training solutions | ROC–AUC | avg. prec. | recall at |
| 10,000 | 0.9661 | 0.7278 | 0.397 |
| 40,000 | 0.9786 | 0.8133 | 0.439 |
| 160,000 | 0.9857 | 0.8637 | 0.459 |
| 972,474 | 0.9902 | 0.8974 | 0.471 |
Table 9. Table 9. Prediction performance as the number of training solutions increases. Training sets are sampled from the main training set. Each larger training set contains all solutions from the smaller training sets, and all training sets have approximately the same SUSY fraction. Every model is evaluated on the same test set.
Predicting the potential and moduli
We consider two regression tasks using 1,296,633 reliable solutions:
Potential prediction: We predict , comparing four sets of input features.
Moduli prediction: We predict the six moduli coordinates using either or as input features.
For potential prediction, we use 300 trees with learning rate 0.15. For moduli prediction, we use 400 trees with learning rate 0.1. Both tasks use maximum depth 8, minimum child weight 5, and subsampling fractions of 0.8 for both training solutions and input features. We randomly select 75% of the solutions for training and use the remaining 25% for testing. All models in both tasks use the same training and test sets. As in classification, the training and test sets can contain solutions with identical values of the flux input features. The fraction of solutions in the test set sharing an exact flux vector with the training set is 13.77% for both tasks.
In order to evaluate regression performance, we use two metrics. One is the coefficient of determination
and the other is the mean absolute error (MAE),
Both metrics are evaluated on the test set, where is the number of test solutions and and are the target and predicted values, respectively. Higher indicates better predictions: corresponds to perfect predictions, to the same squared error as predicting the test-set mean for every solution, and to a larger squared error than this baseline. Lower MAE is better, with MAE for perfect predictions.
When moduli are included as inputs for potential prediction, we supply the six coordinates both directly and after the transformation , giving twelve additional input features. The logarithmic transformation compresses the wide numerical range while preserving the signs. Table 10 compares the four input representations under identical settings, with “+ moduli” denoting these twelve additional input features. Adding the moduli to increases from 0.886 to 0.909 and reduces MAE from 0.380 to 0.345.
| input | # feat. | MAE in | |
| 9 | 0.886 | 0.380 | |
| 21 | 0.909 | 0.345 | |
| 18 | 0.844 | 0.483 | |
| 27 | 0.908 | 0.346 |
Table 10. Regression of on the 1,296,633 reliable solutions.
For moduli prediction, we train a separate regressor for each coordinate, using for imaginary parts and for real parts. The and MAE scores are shown in Table 11. Using instead of improves the test-set for all four complex-structure coordinates but reduces it for both axio-dilaton coordinates. Among the models using as input features, the largest is 0.855 for . In Figure 12, we show predicted against true values of .
| target | ||||||
| from | 0.785 | 0.910 | 0.669 | 0.712 | 0.750 | 0.763 |
| from | 0.587 | 0.692 | 0.805 | 0.795 | 0.851 | 0.855 |
| MAE from | 0.125 | 0.088 | 0.240 | 0.060 | 0.346 | 0.082 |
| MAE from | 0.294 | 0.195 | 0.147 | 0.040 | 0.215 | 0.051 |
Table 11. Predicting the six coordinates (42) for 1,296,633 reliable solutions. and MAE refer to transformed coordinates.
Figure 12. Predicted against true values of , the target with the largest for the model with as input features. The dashed line is the identity.
Discussion and conclusions
We have studied the landscape of flux vacua in an effective two-modulus model of type IIB orientifold compactifications. We have generated a large dataset of 1,296,633 reliable solutions, with 127,241 SUSY solutions. These solutions pass the selection criteria such as the tadpole bound, the smallness of the gradient, and the Hessian criterion in Eq. (43). We have performed a detailed analysis of their properties.
Several features of the landscape are extracted from the dataset. The small fraction of the SUSY solutions implies that finding them by random search is inefficient, and most of the solution space may be occupied by non-SUSY solutions. We have also found the correlations among the moduli field values, which may be useful for future studies of flux vacua. Moreover, even after fixing the fluxes, multiple solutions can exist. Indeed, we have found 40 solutions with the flux vector in the same orbit.
The machine-learning analysis has been performed to the dataset we generated. Both classification and regression tasks have been considered. For classification, we have trained a binary classifier to identify SUSY solutions from information of fluxes. It has been found that, instead of using the vanilla six flux parameters, using the nine invariants under the transformation improves the classification performance. The best classifier reaches ROC–AUC 0.9910 and average precision 0.9031 on the test set. Its top 5% contains 47.2% of SUSY test solutions.
For regression, we have trained models to predict the potential and moduli field values from the information of fluxes. Using the nine invariants as input features improves the prediction of potential values and complex-structure coordinates, while it worsens the prediction of axio-dilaton coordinates. The best model for the potential prediction reaches and MAE 0.345 on the test set. For moduli prediction using nine-invariants as input features, the largest is 0.855, with MAE 0.051, for .
Since the moduli field values are predicted from the fluxes with high accuracy, using the predicted moduli as initial conditions may improve the efficiency of the minimizations of the potential. It is interesting to explore the performance such as the success rate, the number of iterations, and the running time of this approach in future work.
Acknowledgments
This work is supported by JST BOOST Program Japan Grant No. JPMJBY25E1 [YH], JSPS KAKENHI Grant (Nos. JP24K07035 [YH], JP24KF0167 [YH], JP23K17689 [MY], and JP23K25865 [MY]), JST PRESTO Grant (No. JPMJPR225A [MY]), and JST Moonshot R&D Grant (No. JPMJMS2061 [MY]).
Declaration of AI use
The authors used Codex (OpenAI) and Claude Code (Anthropic) to assist with developing the code for the machine-learning analyses presented in § 5 and with polishing the language of the manuscript. The authors take full responsibility for the content of this work.
References
- [1]A. Adams, O. DeWolfe and W. Taylor, String universality in ten dimensions, Phys. Rev. Lett. 105 (2010) 071601 [1006.1352]. (page 1).DOI
- [2]H.-C. Kim, G. Shiu and C. Vafa, Branes and the Swampland, Phys. Rev. D 100 (2019) 066006 [1905.08261].DOI
- [3]H.-C. Kim, H.-C. Tarazi and C. Vafa, Four-dimensional N = 4 SYM theory and the swampland, Phys. Rev. D 102 (2020) 026003 [1912.06144].DOI
- [4]M. Cvetič, M. Dierigl, L. Lin and H.Y. Zhang, String Universality and Non-Simply-Connected Gauge Groups in 8d, Phys. Rev. Lett. 125 (2020) 211602 [2008.10605].DOI
- [5]M. Montero and C. Vafa, Cobordism Conjecture, Anomalies, and the String Lamppost Principle, JHEP 01 (2021) 063 [2008.11729].DOI
- [6]Y. Hamada and C. Vafa, 8d supergravity, reconstruction of internal geometry and the Swampland, JHEP 06 (2021) 178 [2104.05724].DOI
- [7]A. Bedroya, Y. Hamada, M. Montero and C. Vafa, Compactness of brane moduli and the String Lamppost Principle in d > 6, JHEP 02 (2022) 082 [2110.10157].DOI
- [8]M. Cvetic, M. Dierigl, L. Lin and H.Y. Zhang, All eight- and nine-dimensional string vacua from junctions, Phys. Rev. D 106 (2022) 026007 [2203.03644].DOI
- [9]A. Font, B. Fraiman, M. Graña, C.A. Núñez and H.P. De Freitas, Exploring the landscape of heterotic strings on Tᵈ, JHEP 10 (2020) 194 [2007.10358]. (page 1).
- [10]M.R. Douglas, The Statistics of string / M theory vacua, JHEP 05 (2003) 046 [hep-th/0303194]. (page 1).
- [11]W. Taylor and Y.-N. Wang, The F-theory geometry with most flux vacua, JHEP 12 (2015) 164 [1511.03209]. (page 1).DOI
- [12]B.S. Acharya and M.R. Douglas, A Finite landscape?, hep-th/0606212. (page 1).DOI
- [13]Y. Hamada, M. Montero, C. Vafa and I. Valenzuela, Finiteness and the swampland, J. Phys. A 55 (2022) 224005 [2111.00015].DOI
- [14]T.W. Grimm and J. Monnee, Finiteness theorems and counting conjectures for the flux landscape, JHEP 08 (2024) 039 [2311.09295].arxiv.org/abs/2311.09295
- [15]M. Delgado, D. van de Heisteeg, S. Raman, E. Torres, C. Vafa and K. Xu, Finiteness and the emergence of dualities, SciPost Phys. 19 (2025) 047 [2412.03640]. (page 1).DOI
- [16]C. Vafa, The String landscape and the swampland, hep-th/0509212. (page 1).
- [17]E. Palti, The Swampland: Introduction and Review, Fortsch. Phys. 67 (2019) 1900037 [1903.06239]. (page 1).
- [18]M. van Beest, J. Calderón-Infante, D. Mirfendereski and I. Valenzuela, Lectures on the Swampland Program in String Compactifications, Phys. Rept. 989 (2022) 1 [2102.01111]. (page 1).DOI
- [19]S. Ashok and M.R. Douglas, Counting flux vacua, JHEP 01 (2004) 060 [hep-th/0307049]. (page 1).DOI
- [20]F. Denef and M.R. Douglas, Distributions of flux vacua, JHEP 05 (2004) 072 [hep-th/0404116].DOI
- [21]F. Denef and M.R. Douglas, Distributions of nonsupersymmetric flux vacua, JHEP 03 (2005) 061 [hep-th/0411183]. (page 1).DOI
- [22]I.R. Klebanov and M.J. Strassler, Supergravity and a confining gauge theory: Duality cascades and chi SB resolution of naked singularities, JHEP 08 (2000) 052 [hep-th/0007191]. (page 1).DOI
- [23]S.B. Giddings, S. Kachru and J. Polchinski, Hierarchies from fluxes in string compactifications, Phys. Rev. D 66 (2002) 106006 [hep-th/0105097].DOI
- [24]T.W. Grimm and J. Louis, The Effective action of N = 1 Calabi-Yau orientifolds, Nucl. Phys. B 699 (2004) 387 [hep-th/0403067]. (page 1).DOI
- [25]S. Kachru, R. Kallosh, A.D. Linde and S.P. Trivedi, De Sitter vacua in string theory, Phys. Rev. D 68 (2003) 046005 [hep-th/0301240]. (pages 1, 4).
- [26]L. McAllister, J. Moritz, R. Nally and A. Schachner, Candidate de Sitter vacua, Phys. Rev. D 111 (2025) 086015 [2406.13751]. (page 1).arxiv.org/abs/2406.13751
- [27]V. Balasubramanian, P. Berglund, J.P. Conlon and F. Quevedo, Systematics of moduli stabilisation in Calabi-Yau flux compactifications, JHEP 03 (2005) 007 [hep-th/0502058]. (page 1).DOI
- [28]N. Cabo Bizet, C. Damian, O. Loaiza-Brito, D.K.M. Peña and J.A. Montañez-Barrera, Testing Swampland Conjectures with Machine Learning, Eur. Phys. J. C 80 (2020) 766 [2006.07290]. (page 2).arxiv.org/abs/2006.07290
- [29]A. Cole, S. Krippendorf, A. Schachner and G. Shiu, Probing the Structure of String Theory Vacua with Genetic Algorithms and Reinforcement Learning, in 35th Conference on Neural Information Processing Systems, 11, 2021 [2111.11466].arxiv.org/abs/2111.11466
- [30]A. Dubey, S. Krippendorf and A. Schachner, JAXVacua — a framework for sampling string vacua, JHEP 12 (2023) 146 [2306.06160]. (pages 6, 18).arxiv.org/abs/2306.06160
- [31]J. Ebelt, S. Krippendorf and A. Schachner, W0_sample = np.random.normal(0,1)?, 2307.15749.arxiv.org/abs/2307.15749
- [32]S. Krippendorf and A. Schachner, New non-supersymmetric flux vacua in string theory, JHEP 12 (2023) 145 [2308.15525]. (pages 11, 18).arxiv.org/abs/2308.15525
- [33]A. Chauhan, M. Cicoli, S. Krippendorf, A. Maharana, P. Piantadosi and A. Schachner, Deep observations of the Type IIB flux landscape, 2501.03984. (pages 2, 5, 11, 18).
- [34]S. AbdusSalam, C. Hughes, F. Quevedo and A. Schachner, Coexisting Flux String Vacua from Numerical Kähler Moduli Stabilisation, 2507.00615.arxiv.org/abs/2507.00615
- [35]A. Chauhan, M. Cicoli, S. Krippendorf, A. Maharana, P. Piantadosi and A. Schachner, Parameter compression in the flux landscape, JHEP 07 (2026) 186 [2603.04941].
- [36]A. Chauhan, M. Cicoli, A. Maharana and P. Piantadosi, Flux Vacua Near the Boundary of Large Complex Structure, 2607.20777. (page 2).arxiv.org/abs/2607.20777
- [37]S. Krippendorf and Z. Liu, Solving inverse problems of Type IIB flux vacua with conditional generative models, 2506.22551. (page 2).
- [38]M. Walden and M. Larfors, Sampling String Vacua Using Generative Models, 2509.16029. (page 2).DOI
- [39]K. Sohn, H. Lee and X. Yan, Learning structured output representation using deep conditional generative models, in Advances in Neural Information Processing Systems, C. Cortes, N. Lawrence, D. Lee, M. Sugiyama and R. Garnett, eds., vol. 28, Curran Associates, Inc., 2015, https://proceedings.neurips.cc/paper_files/paper/2015/file/8d55a249e6baa5c0677297520da2051-Paper.pdf. (page 2).
- [40]A. Graves, R.K. Srivastava, T. Atkinson and F. Gomez, Bayesian flow networks, 2025. (page 2).
- [41]J. Halverson and C. Long, Statistical Predictions in String Theory and Deep Generative Models, Fortsch. Phys. 68 (2020) 2000005 [2001.00555]. (page 2).DOI
- [42]R.-K. Seong, Generative AI for brane configurations and coamoeba, Phys. Rev. D 111 (2025) 086013 [2411.16033].DOI
- [43]J.H.T. Yip, C. Arnal, F. Charton and G. Shiu, Transforming Calabi-Yau Constructions: Generating New Calabi-Yau Manifolds with Transformers, 2507.03732. (page 2).arxiv.org/abs/2507.03732
- [44]A. Saltman and E. Silverstein, The Scaling of the no scale potential and de Sitter model building, JHEP 11 (2004) 066 [hep-th/0402135]. (pages 2, 3).
- [45]A. Hebecker and S. Leonhardt, Winding Uplifts and the Challenges of Weak and Strong SUSY Breaking in AdS, JHEP 03 (2021) 284 [2012.00010].DOI
- [46]F. Carta, A. Mininno, N. Righi and A. Westphal, Gopakumar-Vafa hierarchies in winding inflation and uplifts, JHEP 05 (2021) 271 [2101.07272].
- [47]A. Hebecker, S. Lü st, A. Schachner and S. Schreyer, Effective potentials, warping, and implications for F-term uplifting, 2512.17995. (page 2).
- [48]G. Obied, H. Ooguri, L. Spodyneiko and C. Vafa, De Sitter Space and the Swampland, 1806.08362. (page 2).
- [49]H. Ooguri, E. Palti, G. Shiu and C. Vafa, Distance and de Sitter Conjectures on the Swampland, Phys. Lett. B 788 (2019) 180 [1810.05506].DOI
- [50]A. Bedroya and C. Vafa, Trans-Planckian Censorship and the Swampland, JHEP 09 (2020) 123 [1909.11063]. (page 2).DOI
- [51]M. Grana, Flux compactifications in string theory: A Comprehensive review, Phys. Rept. 423 (2006) 91 [hep-th/0509003]. (page 2).
- [52]M.R. Douglas and S. Kachru, Flux compactification, Rev. Mod. Phys. 79 (2007) 733 [hep-th/0610102].
- [53]F. Denef, Lectures on constructing string vacua, Les Houches 87 (2008) 483 [0803.1194]. (page 2).DOI
- [54]S. Gukov, C. Vafa and E. Witten, CFT’s from Calabi-Yau four folds, Nucl. Phys. B 584 (2000) 69 [hep-th/9906070]. (page 3).DOI
- [55]M. Demirtas, M. Kim, L. McAllister and J. Moritz, Vacua with Small Flux Superpotential, Phys. Rev. Lett. 124 (2020) 211603 [1912.10047]. (pages 4, 5).DOI
- [56]B.R. Greene and M.R. Plesser, Duality in Calabi-Yau Moduli Space, Nucl. Phys. B 338 (1990) 15. (page 5).DOI
- [57]P. Candelas, A. Font, S.H. Katz and D.R. Morrison, Mirror symmetry for two parameter models. 2., Nucl. Phys. B 429 (1994) 626 [hep-th/9403187]. (pages 5, 10).DOI
- [58]D. Martinez-Pedrera, D. Mehta, M. Rummel and A. Westphal, Finding all flux vacua in an explicit example, JHEP 06 (2013) 110 [1212.4530]. (pages 5, 18).
- [59]J. Louis, M. Rummel, R. Valandro and A. Westphal, Building an explicit de Sitter, JHEP 10 (2012) 163 [1208.3208]. (page 6).
- [60]A. Giryavets, S. Kachru, P.K. Tripathy and S.P. Trivedi, Flux compactifications on Calabi-Yau threefolds, JHEP 04 (2004) 003 [hep-th/0312104]. (page 7).
- [61]J.P. Conlon and F. Quevedo, On the explicit construction and statistics of Calabi-Yau flux vacua, JHEP 10 (2004) 039 [hep-th/0409215].DOI
- [62]J.J. Blanco-Pillado, K. Sousa, M.A. Urkiola and J.M. Wachter, Universal Class of Type-IIB Flux Vacua with Analytic Mass Spectrum, Phys. Rev. D 103 (2021) 106006 [2011.13953]. (page 7).
- [63]“FluxVacuaSearch.” https://github.com/Hamada-Yuta/FluxVacuaSearch. (page 8).
- [64]P. Virtanen et al., SciPy 1.0–Fundamental Algorithms for Scientific Computing in Python, Nature Meth. 17 (2020) 261 [1907.10121]. (page 8).
- [65]J. Carrifio, J. Halverson, D. Krioukov and B.D. Nelson, Machine Learning in the String Landscape, JHEP 09 (2017) 157 [1707.00655]. (page 20).
- [66]F. Ruehle, Data science applications to string theory, Phys. Rept. 839 (2020) 1. (page 20).DOI
- [67]T. Chen and C. Guestrin, XGBoost: A Scalable Tree Boosting System, in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794, ACM, 2016, DOI [1603.02754]. (page 20).DOI
- [68]S.M. Lundberg, G. Erion, H. Chen, A. DeGrave, J.M. Prutkin, B. Nair et al., From local explanations to global understanding with explainable AI for trees, Nature Machine Intelligence 2 (2020) 56 [1905.04610]. (page 22).







