Manuscript Offprint
arXiv:2609.09370Constraint-Aware Discrete Black-Box Optimization Using Tensor Decomposition
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Keisuke Onoue [0009-0007-3249-6572]
and Ryosuke Kojima [0000-0003-1095-8864] (✉)
Nara Institute of Science and Technology, Nara, Japan
Graduate School of Medicine, Kyoto University, Kyoto, Japan
kojima.ryosuke.8e@kyoto-u.ac.jp
RIKEN Center for Biosystems Dynamics Research, Japan
Abstract. Discrete black-box optimization is often addressed using approaches such as Sequential Model-Based Optimization (SMBO), which aims to improve sample efficiency by fitting surrogate models that approximate a costly objective function over a discrete search space. In many real-world problems, the set of feasible inputs is often given by logical constraints known in advance. However, existing surrogate modeling techniques generally fail to capture the symbolic rules governing feasibility in discrete input spaces. In this paper, we propose a surrogate modeling approach based on tensor decomposition that captures the structure of discrete search spaces while directly integrating feasibility information. To implement this approach, we formulate surrogate model training as a constrained polynomial optimization problem and solve a relaxed formulation using a differentiable penalty term derived from T-norms. Our experiments on both synthetic and real-world benchmarks, including a pressure vessel design task, demonstrate that the proposed method improves sample efficiency by effectively guiding the search away from infeasible regions.
Keywords: Black-box optimization, Tensor decomposition, Logical constraint, T-norms, Discrete optimization
1 Introduction
Black-box optimization (BBO) aims to find optimal inputs for an objective function that can only be accessed through input-output data [25] and has been widely used in fields such as engineering design [9], material discovery [11], and hyperparameter tuning for machine learning [15,6]. Because evaluating such objective functions is often costly in terms of monetary cost, execution time, and
This author-prepared preprint is based on the originally submitted manuscript, with minor typographical corrections. The Version of Record of this contribution is published in Machine Learning and Knowledge Discovery in Databases. Research Track, and is available online at https://doi.org/10.1007/978-3-032-37667-1_35.
K. Onoue and R. Kojima

Fig. 1: Overview of CA-TD: CA-TD approximates the black-box objective on the feasible region, effectively guiding the search in SMBO.
computational resources, sample-efficient frameworks such as Sequential Model-Based Optimization (SMBO) have been developed [17,26]. SMBO uses a surrogate model to approximate the objective function and an acquisition function to balance exploration and exploitation when choosing new samples.
This paper considers BBO over discrete search spaces that are commonly encountered in real-world applications, such as categorical parameters representing component choices in engineering design [22,14,33]. For such discrete BBO problems, methods based on tensor decomposition (TD) offer a sample-efficient approach that has recently demonstrated strong potential [28,8,5]. In this approach, a discrete search space is represented by a tensor, and a surrogate model is constructed by approximating this tensor, for example, with a low-rank tensor.
For many real-world problems addressed by BBO, input constraints arising from safety requirements, manufacturing capabilities, or design rules are crucial. A typical way to incorporate such input constraints into SMBO is to evaluate feasibility when acquiring new samples, for example by rejecting infeasible inputs or modifying the acquisition function [12,13]. More advanced methods also follow this paradigm, employing sophisticated solvers to optimize the acquisition function over the known feasible domain [22]. In these approaches, however, the surrogate model itself is typically learned as a purely data-driven black-box, ignoring the underlying symbolic structure of the input space. Disregarding these logical constraints leads to poor approximation in sparse feasible regions, as the model must learn complex boundaries purely from a limited number of objective evaluations. To address this, we propose embedding symbolic domain knowledge directly into the surrogate model's architecture. By making the model constraint-aware during training, we effectively integrate discrete logical constraints directly into the function approximation process. This integration enhances sample efficiency in restricted search spaces.
In this paper, we propose a logic-integrated surrogate modeling approach named Constraint-Aware Tensor Decomposition (CA-TD). Our method repre-sents the objective function using TD while incorporating logical constraints given a priori. We formulate surrogate learning as a constrained polynomial optimization problem (POP), where logical constraints are interpreted as requirements on surrogate tensor entries. To ensure scalability, we leverage differentiable logic [4,32] by employing T-norms to relax these discrete symbolic rules into a differentiable penalty function. This framework enables the integration of logical domain knowledge into a gradient-based learning process.
Our contribution is threefold:
– We formulate the training of a TD-based surrogate model with logical input constraints as a POP, defining the CA-TD framework.
– We develop a gradient-based training method for CA-TD by introducing a T-norm-based differentiable penalty term, thereby enabling the method to scale to large discrete search spaces.
– We evaluate our approach on a diverse set of synthetic and real-world benchmarks, including a classic engineering design task. The results demonstrate improvements in sample efficiency compared to conventional methods.
Our source code is publicly available .
2.1 Discrete Black-Box Optimization Problem and Sequential Model-Based Optimization
First, we formulate the discrete BBO problem that underlies our setting. Consider a search space , where is a finite set for . Let be an objective function.
The goal of this problem is to find
In this problem, no further information about g is available, such as its derivative, so it is called a black-box
Algorithm 1 SMBO
Require: Objective g, Search space X, Surrogate f, Acquisition , Iteration T
1: Initialize
2: for to T do
3: Update using
4:
5:
6:
7: end for
8: return
function. For each iteration t, we denote
https://github.com/k-onoue/c-bbo
K. Onoue and R. Kojima
the evaluated objective value as and the accumulated set of observations as the history . In practice, it is assumed that evaluating is costly, and it is desirable to obtain a good solution with as few evaluations of as possible.
The overall SMBO procedure is summarized in Algorithm 1. SMBO is a general framework of BBO that includes Bayesian optimization as a special case, and we adopt a variant commonly used in Bayesian optimization [10,26,6], which iteratively performs the following three steps. 1) A probabilistic surrogate model f is fitted to all previous observations. Instead of directly evaluating the costly function g, the surrogate model f is used to approximate g. 2) The most promising point to evaluate next is selected using an acquisition function , defined based on the surrogate function f. In our implementation, we utilize the Expected Improvement (EI) criterion [21] as the acquisition function to decide the next point. 3) The objective function g at the selected point is evaluated. This loop is repeated T times.
2.2 Tensor Decomposition Surrogate Models
This section describes TD-based surrogate models for approximating black-box functions . We define tensor contraction as the fundamental operation for our surrogate model. Given two tensors and , their contraction over the common index of size is defined as a tensor of order whose entries are:
Before considering the surrogate model, we represent the observed objective values as a partially observed tensor , where only entries corresponding to evaluated points in are known. Each entry represents the objective value . A TD-based surrogate approximates using a low-rank structure. We consider three formats, Canonical Polyadic (CP), Tensor Ring (TR) and Tensor Train (TT), where denotes the rank (complexity) parameter:
Canonical Polyadic Decomposition: CP decomposition [19] models a tensor as a sum of R rank-one tensors:
where are factor matrices.
Tensor Ring Decomposition: TR format [35] represents a tensor as a circular product of third-order cores :
where . For , is required to satisfy the trace operation. For simplicity, we adopt a uniform rank setting where all ranks are fixed to (i.e., for all ).
Tensor Train Decomposition: TT decomposition is a special case of TR where boundary ranks are set to one ( ), breaking the circular connection. Here, denotes the -th frontal slice of the third-order core tensor . Then we have
where . For the internal ranks, we use a uniform setting for all . The number of parameters scales as , where .
In TD, the surrogate is trained to minimize the mean squared error on the observation history :
2.3 T-norms and Differentiable Logic
In neuro-symbolic AI [16], T-norms are used to generalize classical logic to a continuous domain, enabling the integration of symbolic rules into gradient-based learning. A T-norm models logical conjunction ( ). Its dual, a T-conorm , models disjunction ( ). For instance, the Łukasiewicz T-norm is defined as . Using these norms, a logical implication can be relaxed into a differentiable function using the residuum-based implication: . For the Łukasiewicz norm, this results in . We utilize this framework to translate discrete constraints into differentiable objectives for our surrogate model.
3 Proposed Method: Constraint-Aware Tensor Decomposition Surrogate
Our method integrates constraint-awareness directly into the learning process of the TD-based surrogate model for SMBO.
3.1 Problem Formulation
First, we describe our formulation of the discrete BBO under logical input constraints. Given a discrete search space and an objective function , the goal is to find
K. Onoue and R. Kojima
with a constraint function whose evaluation cost is negligible compared to . Here, we introduce the notation and rewrite the above problem as for simplicity.
3.2 A Formulation as a Polynomial Optimization Problem
We incorporate input constraints into the surrogate model. Specifically, we assume that evaluations at infeasible inputs yield objective values at least as high as the maximum feasible value observed so far. Formally, at each iteration t, we define the threshold as:
If no feasible points have been observed, is set to a predefined sufficiently large value. The surrogate model is then required to satisfy for all . Thus, the surrogate learning under input constraints is formulated as follows:
Because the surrogate tensor is a polynomial function of the core tensor parameters according to Equation 2, the above problem constitutes a POP (Appendix G). An established approach to solving POPs involves constructing a hierarchy of semidefinite programming (SDP) relaxations [20], which can provide arbitrarily tight lower bounds on the global optimum. We apply this approach to the problem in Equation 4 and simply refer to the resulting method as HSDP hereafter.
3.3 Penalized Loss Function
To ensure scalability, we leverage differentiable logic to integrate discrete prior knowledge into the continuous learning objective. Specifically, we interpret the feasibility requirement as a logical rule: for any input , if , then the surrogate output should be at least the current threshold .
Following the principles of differentiable logic [4,32], we relax this discrete rule using T-norms, which map logical truth values to the interval [0,1]. We utilize the Łukasiewicz logic framework, where the truth value of an implication is defined by the residuum . In our context, for an infeasible point where the antecedent is treated as true (i.e., it is strictly infeasible), the degree of violation of the requirement is given by , where is a score representing the truth of the condition. By mapping the surrogate's output to the threshold, this logical violation is directly translated into the hinge loss: .
We train the TD-surrogate by minimizing a total loss function that balances empirical data fitting with this logical penalty:
The reconstruction loss is defined in Equation 3. The penalty term is defined as the expected violation over the infeasible region:
where is a uniform distribution. For small search spaces, this expectation is computed exactly, while for large spaces, it is estimated via mini-batch sampling of infeasible points.
This penalty term enforces the logical boundary by discouraging the surrogate from assigning low values to regions known to be infeasible. We refer to this strategy of embedding logical constraints via gradient-based optimization as PGRAD (Penalty with Gradient-based optimization).
3.4 Uncertainty Quantification for the Acquisition Function
To balance exploration and exploitation in SMBO, we quantify predictive uncertainty using an ensemble of models . Each model is trained independently, starting from different random initializations of the TT core parameters.
For any input , the set of ensemble predictions induces an empirical predictive distribution . We compute the sample mean and standard deviation from this distribution to evaluate the EI acquisition function:
where is the best (minimum) feasible value observed so far. Here, the expectation is taken over the empirical distribution . This ensemble-based approach allows the surrogate to guide the search by identifying regions with both low predicted values and high model uncertainty.
4 Related Work
Our method builds on three areas of work: constrained BBO, tensor decomposition for black-box optimization (TD-BBO), and constrained tensor decomposition. We briefly review each area below and explain our unique contributions in relation to each field.
4.1 Constrained Black-Box Optimization
Constrained BBO deals with expensive objectives and expensive or inexpensive input constraints whose analytic forms are unknown [25]. Most existing algorithms extend Bayesian Optimization (BO) [10,26], which is a form of SMBO
K. Onoue and R. Kojima
that typically uses Gaussian Processes (GPs) as surrogate models [24]. Early GP-based approaches fit separate GPs to model each constraint and incorporate the estimated feasibility into the acquisition function, typically by combining them with EI [12,13]. Subsequent work further extended this strategy using augmented Lagrangian methods [23] and level-set estimation techniques [34].
Unlike the methods mentioned above, in the case of explicit hard constraints, some approaches maximize the acquisition function within the feasible region. For example, a method that combines GPs with mixed-integer programming to maximize the acquisition function under known constraints has been proposed [29]. A more advanced method, NN+MILP, uses piecewise-linear neural networks with acquisition maximization via mixed-integer linear programming [22], allowing flexible integration of combinatorial constraints in discrete search spaces.
Most existing constrained BBO methods handle constraints by modifying the acquisition function, as mentioned above. Our proposed approach is distinguished by the direct incorporation of known feasibility information into the surrogate model training process. This is expected to encourage the surrogate model itself to learn the feasibility information, aiming for a more accurate approximation of the objective function.
4.2 Logic Integration via Differentiable Logic
Logic integration aims to combine continuous learning with symbolic reasoning by using T-norms to relax discrete rules into differentiable loss functions [16,4]. While established frameworks like Logic Tensor Networks and Semantic Loss focus primarily on classification or reasoning tasks [4,32], CA-TD extends this paradigm to black-box optimization. CA-TD bridges the gap between function approximation and symbolic knowledge by reformulating surrogate learning as a logic-constrained optimization problem. By leveraging Łukasiewicz logic within a tensor decomposition framework, we transform discrete constraints into a differentiable penalty landscape. This allows the tensor cores to be optimized not only for data fitting but also for consistency with the problem logic, enabling the surrogate model to internalize feasible domain boundaries even in regions where observation data is scarce.
4.3 Tensor Decomposition for BBO
TD compactly represents multi-dimensional arrays and is well-suited for capturing discrete structures. OptimaTT [8] adopts the TT format for discrete, unconstrained BBO, while PROTES [5] incorporates input constraints by encoding the input feasibility as a binary tensor and using its TT decomposition to guide surrogate initialization. Although TTOpt [28] also uses the TT format, it is primarily designed for continuous optimization.
In the context of TD-BBO, methods such as OptimaTT and TTOpt are primarily designed for unconstrained optimization. A pioneering approach that incorporates input constraints is the PROTES method introduced above, which uses these to guide the initial exploration in the proxy initialization step. In contrast, focusing on the entire search process rather than just the initialization step, CA-TD incorporates the constraints into the update of the surrogate model at each optimization step. This aims to improve sample efficiency by maintaining awareness of feasible regions throughout the search process.
4.4 Tensor Decomposition under Constraints
Previous work on constrained TD has focused on linear algebraic properties such as non-negativity or orthogonality for interpretability [3]. Our work departs from these by imposing point-wise logical constraints derived from the task's feasibility rules, representing a novel application of neuro-symbolic principles to tensor-based global optimization.
5 Experiments
We conduct three experiments to evaluate the effectiveness of CA-TD in constrained black-box optimization on discrete domains. The objectives of these experiments are: (1) to compare the performance and scalability of our proposed constrained training strategies, HSDP and PGRAD; (2) to evaluate the effectiveness of our constraint-aware approach using the default tensor format against conventional and advanced baseline methods; and (3) to further verify its performance against a strong baseline on a wider range of complex tasks while analyzing the impact of different tensor formats (CP, TR, and TT).
5.1 Benchmarks
This subsection briefly introduces the benchmark problems used to evaluate our method. Detailed mathematical formulations for all problems are provided in Appendix A.
Ackley: We use the standard Ackley synthetic function [1], to which we apply a simple geometric constraint boundary. The search space is an integer grid of , where defines the boundary of the discrete domain. The feasible region is defined by the circular constraint , where is the radius. Typically, we set to ensure the existence of an infeasible region within the grid. We use this problem to evaluate performance across different scales, with the specific settings for Experiment 1 and 2 detailed in Table 1.
Table 1: The settings of Ackley on the grid used in experiments. determines the grid range , is the radius for the circular constraint, and is the number of evaluations in SMBO.
| Experiment | Grid size | r | T | |
|---|---|---|---|---|
| Expt. 1 | 1 | 1 | 5 | |
| 2 | 2 | 15 | ||
| 3 | 3 | 25 | ||
| Expt. 2 | 32 | 10 | 500 |
K. Onoue and R. Kojima
Pressure Vessel: This is a classic mixed-variable engineering design problem where the goal is to minimize manufacturing cost under physical constraints [9]. We adapt this problem to our discrete setting by discretizing the two continuous variables into 10 uniform levels.
Warcraft: This benchmark is a grid-based path optimization problem [2], where the goal is to find an optimal path on a map with combinatorial constraints defining path validity. We evaluate this problem on two different map sizes: a grid with candidate paths and a grid with candidate paths.
Diabetes: This is a real-world inspired task where constraints are derived from domain knowledge to find actionable and medically plausible treatment plans from patient data [27].
Additional Tasks for Extensive Comparison: To deeply evaluate our approach against advanced baselines, we incorporate seven additional challenging tasks derived from [22]. These span diverse domains including the Generalized Assignment Problem (GAP A/B), Constrained Ising Models (Ising A/B), Neural Architecture Search (NAS SSS/TSS), and DNA Binding optimization (TfBind). The detailed formulations of all tasks are provided in Appendix A.
5.2 Experimental Setup
Since the TT format is widely adopted in recent tensor-based BBO literature (e.g., OptimaTT, TTOpt, PROTES), we primarily use TT as the default format for our CA-TD models in the main baseline comparisons. However, because our constraint-aware framework is agnostic to the underlying tensor format, we also comprehensively investigate the performance of CP and TR formats in later experiments.
Each run uses a fixed evaluation (see Table 1), initialized from a random feasible input. The ensemble size to quantify the uncertainty for TD-based surrogate models is set to M = 10. In Experiment 1, the surrogate mean is used for the acquisition function for simplicity, and EI is applied in Experiment 2. The metrics include the best value obtained from the objective function and the round in which this value first appeared. All results are averaged over 10 seeds.
HSDP is implemented using the Ncpol2sdpa [31] package with relaxation order 2. The generated SDP problems are solved using a sparse semidefinite programming solver.
PGRAD uses the Adam optimizer [18] to minimize the total loss (Equation 5). The surrogate tensor is normalized to the range [0, 1], and the penalty coefficient is fixed at . An ablation study on different values of is provided in Appendix D.1. Training continues across SMBO rounds without reinitializing the tensor cores. This minimization at each round is terminated either when the loss drops below 0.1 or after 1000 epochs, whichever occurs first. The detailed implementation, including software and hardware, is provided in Appendix B.
For comparison, we consider four baseline methods, each with an unconstrained (-u) and a constrained (-c) variant. As typical BBO methods, we use Bayesian optimization based on Gaussian process (GP-u) and the Tree-structured Parzen Estimator (TPE-u) [30]. The naive constrained variants (GP-c, TPE-c) are informed of the feasible space by training them offline on 200 randomly sampled infeasible inputs with a penalty value assigned. In these naive methods, if an infeasible point is selected, it is assigned the worst possible evaluation value for each task. The ablation study regarding the number of infeasible points sampled offline is described in Appendix D.2. Also, as a conventional method for constrained tensor-based BBO, PROTES-c is included in the comparison [5]. Furthermore, we include an advanced method (NN+MILP-c) [22], which uses a piecewise-linear neural network as a surrogate and handles constraints via mixed-integer linear programming (MILP). For a comprehensive comparison, we also include the comparison methods run without task-specific constraints (NN+MILP-u / PROTES-u).
5.3 Experiment 1: HSDP vs. PGRAD

Fig. 2: Optimization performance of CA-TD surrogates trained with HSDP and PGRAD on discrete Ackley benchmarks. Lower and earlier curves indicate better sample efficiency, and narrower shaded areas reflect more stable performance across runs. Solid lines denote models trained with explicit feasibility integration, while dashed lines show unconstrained variants. PGRAD (blue) offers better scalability and lower computational overhead, while HSDP (red) yields more stable convergence on small grids.
We compare two training methods for CA-TD: HSDP and PGRAD. Both use TT format with rank R = 2 and are tested on three Ackley grids. For each method, we also include unconstrained counterparts trained without constraint-awareness.
Figure 2 shows the optimization progress. On small grids, both constrained methods rapidly reach near-optimal values, with HSDP converging slightly earlier. On the grid, HSDP becomes impractical due to computational cost, while PGRAD continues to improve efficiently. Table 2 summarizes best values, convergence rounds, and runtimes. PGRAD achieves strong performance across all cases with runtimes under one second per round. In contrast, HSDP is timed out (4000 seconds per round) in the case . Across all cases, con-
K. Onoue and R. Kojima
Table 2: Comparison of HSDP and PGRAD for constraint-aware surrogate training on discrete Ackley benchmarks. Each cell reports the mean over 10 runs, displaying the Best Value with the Round at which it first appeared in subscripts using the notation . Runtime indicates the average time in seconds per optimization round. Standard deviations are omitted for brevity.
| Task | Method | Constrained (-c) | Unconstrained (-u) | ||
|---|---|---|---|---|---|
| Best Value(Round) | Runtime (s) | Best Value(Round) | Runtime (s) | ||
| Ackley | HSDP | 11.26 | 11.49 | ||
| PGRAD | 1.76 | 2.03 | |||
| Ackley | HSDP | 279.44 | 229.56 | ||
| PGRAD | 0.56 | 1.44 | |||
| Ackley | HSDP | 2045.80 | 1932.85 | ||
| PGRAD | 0.67 | 1.10 | |||
straint versions (“-c”) outperform unconstrained ones (“-u”) in both speed and final objective value.
5.4 Experiment 2: Comparison using Benchmarks
In these experiments, we compare CA-TD with other methods using benchmarks. Also, to examine how different TD formats affect the performance of CA-TD, we evaluate it under three formats: TT, CP and TR, each tested at ranks 2.2. Throughout, constrained models are denoted with the suffix “-c”, and unconstrained ones with “-u” where necessary. For TT and TR, the same rank is uniformly applied across all modes. Figure 3 shows optimization curves for the best configuration of each method. Our proposed CA-TD models, for example, TT-c, consistently achieve faster convergence and better final values compared to the naive baselines (GP-u, TPE-u, GP-c, and TPE-c). Crucially, CA-TD also demonstrates highly competitive or superior performance against the previous methods (PROTES and NN+MILP). This advantage is particularly evident in the Pressure Vessel and Warcraft benchmarks. Note that NN+MILP is affected by hyperparameters such as the number of training epochs, and here we use the best hyperparameters (Appendix D.3).
5.5 Experiment 3: Extensive Comparison and Effect of Tensor Formats
To further verify the effectiveness of our framework, we conduct an extensive comparison against the strong NN+MILP baseline on the seven additional complex tasks. Moreover, to examine how different TD formats affect the performance of CA-TD, we evaluate CP, TR, and TT formats at varying ranks .
Table 3 summarizes the best final objective values achieved by each method. The results demonstrate that our constraint-aware approach is highly competitive with the strong NN+MILP baseline across various combinatorial domains.

(d) Warcraft on map
(e) Diabetes
CP-c
TR-c
TT-c
GP-c
TPE-c
NN+MILP-c
PROTES-c
CP-u
TR-u
TT-u
GP-u
TPE-u
NN+MILP-u
PROTES-u
Fig. 3: Optimization progress of our proposed tensor decomposition (TD) models and several baselines (GP, TPE, and NN+MILP), with and without constraint-awareness, across five benchmark tasks. For each TD model, the rank achieving the best performance is used (see Table 5 and Table 6 in the Appendix B for detailed results). Lower and earlier curves indicate better sample efficiency. Solid lines denote constrained models (-c).
More importantly, the evaluation of different tensor formats reveals distinct characteristics: While the TT format served as a robust default, our results indicate that no single tensor format universally dominates all problem landscapes. The CP format identified the lowest objective values in specific tasks like GAP and Ising. Similarly, the TR format demonstrated task-dependent effectiveness, achieving performance levels comparable to the other evaluated formats and baselines in several instances. These findings underscore the flexibility of the CA-TD framework across different tensor representations.
5.6 Discussion
The experiments validate the effectiveness of CA-TD for constrained black-box optimization. From Experiment 1, we confirm that incorporating feasibility into the training step of the surrogate model improves sample efficiency. While HSDP performs well on small problems, PGRAD offers a scalable alternative suitable for larger settings such as the Ackley grid.
From Experiment 2, we observe that our constraint-aware surrogate modeling is a key contributor in improving performance. Our CA-TD model consistently outperforms unconstrained optimization methods such as GP-u and TPE-u, and methods that simply include prior information, such as GP-c and TPE-c, and performs comparably to more advanced NN+MILP(-c) methods. Among these, NN+MILP (both -c and -u) and GP-u/TPE-u are methods in which the surrogate model is trained without considering constraints, and constraints are considered only in the acquisition function stage. Our results suggest this may lead to less efficient exploration. By training the surrogate model to learn the boundaries of the feasible space, CA-TD can more accurately predict
K. Onoue and R. Kojima
Table 3: Performance comparison on benchmarks adopted from [22]. For each tensor format, the rank that achieved the best objective value is reported. Values are shown as . The best-performing method for each task is highlighted in bold. (The numbers in parentheses outside the subscript represent the best rank R.)
| Task | CA-TD (Proposed) | NN+MILP-c | |||||
|---|---|---|---|---|---|---|---|
| CP (Best R) | TR (Best R) | TT (Best R) | |||||
| GAP A | -6.21(99.1) | (5) | -6.21(149.0) | (6) | -6.21(160.5) | (6) | -6.08(243.0) |
| GAP B | -4.19(89.7) | (4) | -4.19(96.7) | (4) | -4.19(101.8) | (4) | -4.12(190.9) |
| Ising A | -7.32(76.0) | (6) | -7.32(120.2) | (5) | -7.32(110.8) | (5) | -7.32(319.0) |
| Ising B | -9.43(108.3) | (5) | -9.43(178.7) | (5) | -9.43(201.6) | (6) | -8.92(315.8) |
| SSS | -91.63(176.2) | (6) | -91.66(121.7) | (5) | -91.72(104.9) | (4) | -91.76(208.4) |
| TSS | -93.84(270.0) | (6) | -93.84(218.0) | (2) | -93.84(206.9) | (2) | -93.75(241.0) |
| TfBind | -1.00(270.4) | (3) | -0.99(376.8) | (5) | -0.99(362.5) | (5) | -0.99(297.5) |
promising regions and improve sample efficiency. This suggests that embedding feasibility directly into the surrogate model may be more effective than handling feasibility separately during acquisition.
Regarding the choice of tensor formats, our results highlight that there is no single “best” format for all landscapes. We adopted TT as a default due to its widespread use in existing tensor BBO literature, and it demonstrated robust and competitive performance across many tasks. However, as shown in Experiment 3, formats such as CP can outperform strong baselines on specific problems (e.g., GAP and Ising) when the optimal rank is identified. Ultimately, these findings underscore that our proposed method to integrate logical constraints, which is to penalize constraint violations during surrogate training, is fundamentally effective regardless of the chosen tensor format providing a flexible and powerful framework for discrete constrained BBO.
A key limitation of CA-TD lies in its further scalability to high-dimensional search spaces. While our experiments show speedups on PGRAD, further improvements in memory scalability are necessary to apply it to a wider range of problems. Tensor-based BBO, including CA-TD, is limited by the memory demands of dense tensor representations. Although a simple mini-batching strategy offers a preliminary workaround (Appendix F.1), fully scaling CA-TD to larger and higher-dimensional problems by using sparse tensor representation remains an important avenue for future research.
6 Conclusion
We proposed CA-TD, a constraint-aware surrogate modeling approach for sequential black-box optimization on discrete domains, which integrates symbolic feasibility information directly into tensor decomposition-based surrogate models. By formulating the learning problem as a POP and introducing a relaxed gradient-based algorithm (PGRAD), we enabled scalable neuro-symbolic integration. Extensive experiments across diverse synthetic and real-world benchmarks demonstrated that CA-TD improves sample efficiency compared to conventional methods. Crucially, by embedding constraints into the surrogate rather than relying solely on acquisition optimization, our approach achieved performance comparable or superior to strong baselines such as NN+MILP. Our evaluation also highlighted the flexibility of the CA-TD framework regarding tensor formats: while the TT format serves as a robust and stable default, formats like CP can achieve the highest optimization performance on specific problem landscapes when the rank is appropriately tuned.
Future work includes scaling to higher-dimensional discrete spaces, for instance, via sparse tensor representations. While the TT format already mitigates scalability issues, automatic rank selection would further enhance the applicability of these tensor formats. Extending this logic-integrated approach to continuous domains and mixed-variable BBO problems remains an exciting avenue for broadening its real-world impact.
References
-
Adorio, E.P., Diliman, U.: Mvf-multivariate test functions library in c for unconstrained global optimization. Quezon City, Metro Manila, Philippines 44 (2005)
-
Ahmed, K., Teso, S., Chang, K.W., Van den Broeck, G., Vergari, A.: Semantic probabilistic layers for neuro-symbolic learning. Advances in Neural Information Processing Systems 35, 29944–29959 (2022)
-
Alexandrov, B., DeSantis, D.F., Manzini, G., Skau, E.W.: Nonnegative canonical tensor decomposition with linear constraints: nncandelinc. Numerical Linear Algebra with Applications 29(6), e2443 (2022)
-
Badreddine, S., Garcez, A.d., Serafini, L., Spranger, M.: Logic tensor networks. Artificial Intelligence 303, 103649 (2022)
-
Batsheva, A., Chertkov, A., Ryzhakov, G., Oseledets, I.: Protes: probabilistic optimization with tensor sampling. Advances in Neural Information Processing Systems 36, 808–823 (2023)
-
Bergstra, J., Bardenet, R., Bengio, Y., Kégl, B.: Algorithms for hyper-parameter optimization. NeurIPS 24 (2011)
-
Breiman, L.: Random forests. Machine learning 45, 5–32 (2001)
-
Chertkov, A., Ryzhakov, G., Novikov, G., Oseledets, I.: Optimization of functions given in the tensor train format (2022), https://arxiv.org/abs/2209.14808
-
Coello, C.A.C., Montes, E.M.: Constraint-handling in genetic algorithms through the use of dominance-based tournament selection. Advanced Engineering Informatics 16(3), 193–203 (2002)
-
Frazier, P.I.: A tutorial on bayesian optimization. arXiv preprint arXiv:1807.02811 (2018)
-
Frazier, P.I., Wang, J.: Bayesian optimization for materials design. Information science for materials discovery and design pp. 45–75 (2016)
K. Onoue and R. Kojima
-
Gardner, J.R., Kusner, M.J., Xu, Z.E., Weinberger, K.Q., Cunningham, J.P.: Bayesian optimization with inequality constraints. In: ICML. vol. 2014, pp. 937–945 (2014)
-
Gelbart, M.A., Snoek, J., Adams, R.P.: Bayesian optimization with unknown constraints. arXiv preprint arXiv:1403.5607 (2014)
-
González-Duque, M., Michael, R., Bartels, S., Zainchkovsky, Y., Hauberg, S., Boomsma, W.: A survey and benchmark of high-dimensional bayesian optimization of discrete sequences. Advances in Neural Information Processing Systems 37, 140478–140508 (2024)
-
He, X., Zhao, K., Chu, X.: Automl: A survey of the state-of-the-art. Knowledge-based systems 212, 106622 (2021)
-
Hitzler, P., Sarker, M., Besold, T., Garcez, A., Bader, S., Bowman, H., Domingos, P., Hitzler, P., Kühnberger, K., Lamb, L., et al.: Neural-symbolic learning and reasoning: A survey and interpretation. Frontiers in artificial intelligence and applications 342, 1–51 (2022)
-
Hutter, F., Hoos, H.H., Leyton-Brown, K.: Sequential model-based optimization for general algorithm configuration. In: Learning and Intelligent Optimization: 5th International Conference, LION 5, Rome, Italy, January 17-21, 2011. Selected Papers 5. pp. 507–523. Springer (2011)
-
Kingma, D.P., Ba, J.: Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)
-
Kolda, T.G., Bader, B.W.: Tensor decompositions and applications. SIAM review 51(3), 455–500 (2009)
-
Lasserre, J.B.: Global optimization with polynomials and the problem of moments. SIAM Journal on optimization 11(3), 796–817 (2001)
-
Mockus, J., Tiesis, V., Zilinskas, A.: The application of Bayesian methods for seeking the extremum. Towards Global Optimization 2(117-129), 2 (1978)
-
Papalexopoulos, T.P., Tjandraatmadja, C., Anderson, R., Vielma, J.P., Belanger, D.: Constrained discrete black-box optimization using mixed-integer programming. In: International Conference on Machine Learning. pp. 17295–17322. PMLR (2022)
-
Picheny, V., Gramacy, R.B., Wild, S., Le Digabel, S.: Bayesian optimization under mixed constraints with a slack-variable augmented lagrangian. Advances in neural information processing systems 29 (2016)
-
Rasmussen, C.E., Williams, C.K.I.: Gaussian Processes for Machine Learning. Adaptive Computation and Machine Learning, MIT Press (2006), https://www.worldcat.org/oclc/61285753
-
Rios, L.M., Sahinidis, N.V.: Derivative-free optimization: a review of algorithms and comparison of software implementations. Journal of Global Optimization 56(3), 1247–1293 (2013)
-
Shahriari, B., Swersky, K., Wang, Z., Adams, R.P., De Freitas, N.: Taking the human out of the loop: A review of bayesian optimization. Proceedings of the IEEE 104(1), 148–175 (2015)
-
Smith, J.W., Everhart, J.E., Dickson, W., Knowler, W.C., Johannes, R.S.: Using the adap learning algorithm to forecast the onset of diabetes mellitus. In: Proceedings of the annual symposium on computer application in medical care. p. 261 (1988)
-
Sozykin, K., Chertkov, A., Schutski, R., Phan, A.H., Cichocki, A.S., Oseledets, I.: Ttopt: A maximum volume quantized tensor train-based optimization and its application to reinforcement learning. NeurIPS 35, 26052–26065 (2022)
-
Thebelt, A., Tsay, C., Lee, R., Sudermann-Merx, N., Walz, D., Shafei, B., Misener, R.: Tree ensemble kernels for bayesian optimization with known constraints over mixed-feature spaces. Advances in Neural Information Processing Systems 35, 37401–37415 (2022)
-
Watanabe, S.: Tree-structured parzen estimator: Understanding its algorithm components and their roles for better empirical performance. arXiv preprint arXiv:2304.11127 (2023)
-
Wittek, P.: Algorithm 950: Ncpol2sdpa—sparse semidefinite programming relaxations for polynomial optimization problems of noncommuting variables. ACM Transactions on Mathematical Software (TOMS) 41(3), 1–12 (2015)
-
Xu, J., Zhang, Z., Friedman, T., Liang, Y., Broeck, G.: A semantic loss function for deep learning with symbolic knowledge. In: International conference on machine learning. pp. 5502–5511. PMLR (2018)
-
Zamuda, A., Nicolau, M., Zarges, C.: A black-box discrete optimization benchmarking (bb-dob) pipeline survey: taxonomy, evaluation, and ranking. In: Proceedings of the Genetic and Evolutionary Computation Conference Companion. pp. 1777–1782 (2018)
-
Zhang, F., Song, J., Bowden, J.C., Ladd, A., Yue, Y., Desautels, T., Chen, Y.: Learning regions of interest for bayesian optimization with adaptive level-set estimation. In: International Conference on Machine Learning. pp. 41579–41595. PMLR (2023)
-
Zhao, Q., Zhou, G., Xie, S., Zhang, L., Cichocki, A.: Tensor ring decomposition. arXiv preprint arXiv:1606.05535 (2016)
K. Onoue and R. Kojima
A Specifications of Benchmark Problems
Table 4: Search spaces for each task
| task | search space size | #feasible points | ratio of feasible points |
|---|---|---|---|
| Ackley 3×3 | 5 | 0.56 | |
| Ackley 5×5 | 13 | 0.52 | |
| Ackley 7×7 | 29 | 0.59 | |
| Ackley 65×65 | 317 | 0.08 | |
| Pressure Vessel | 3916 | 0.39 | |
| Warcraft 2×2 | 300 | 0.12 | |
| Warcraft 2×3 | 5400 | 0.05 | |
| Diabetes | 10197 | 0.03 | |
| GAP A | 1260 | 0.06 | |
| GAP B | 2368 | 0.14 | |
| Ising A | 441 | 0.03 | |
| Ising B | 1260 | 0.04 | |
| NAS TSS | 1520 | 0.10 | |
| NAS SSS | 6552 | 0.20 | |
| TfBind | 23808 | 0.36 |
This section provides details of the benchmark tasks used in our experiments. The differences in each search space are shown in Table 4. Details of each task are described below.
A.1 Benchmarks for Experiment 2
Ackley The 2D Ackley function [1] on grid is defined as:
The input space is discretized into a uniform integer grid, and feasibility is defined by a circular constraint .
Pressure Vessel The Pressure Vessel design problem is a classic engineering benchmark [9] with a mixed-variable search space. The goal is to minimize the total cost of a cylindrical pressure vessel. The problem has four variables, originally two continuous and two integer. For our experiments, we create a fully discrete search space by sampling 10 uniform levels from the domain of each variable. The objective function is given by:
subject to the following inequality constraints: , , , and .
Warcraft This benchmark, adapted from a path prediction problem solved via supervised learning with combinatorial constraints presented in [2], is treated as a black-box optimization task. The environment is a 2D grid map, where each cell has a predefined traversal cost. An input , representing a candidate path, is encoded as a sequence of movement primitives. Each movement primitive is selected from a set of seven types , which define the displacement in the 2D grid: cardinal moves (up, down, left, right), two diagonal-like L-shaped moves (e.g., one step up followed by one step right), and a null move representing no displacement. Formally, these primitives correspond to the set of vectors .
The objective function evaluates each path by summing the traversal costs along the path and rewarding proximity to the bottom-right corner, with shorter Euclidean distance yielding better scores. The input is subject to three constraints: the path must start from the top-left cell, it must consist of exactly steps, and it must end at the bottom-right cell.
We evaluate two map sizes: (path length 4) and (path length 6), resulting in and candidate paths, respectively.
Diabetes This task simulates the goal of identifying actionable treatment plans for patients diagnosed with diabetes to demonstrate applicability on a real-world task where constraints are derived from domain knowledge. We use the Pima Indian Diabetes dataset [27], which contains 8 patient features and a binary diabetes label. Each continuous or integer-valued feature is discretized into 5 levels, resulting in a discrete search space .
A random forest classifier [7] is trained on the entire dataset and used to predict the probability of diabetes for all candidates . Given a randomly chosen diabetic individual , the goal is to find an alternative feature configuration such that the predicted probability of diabetes is reduced. To encourage realistic plans, we penalize large deviations from the original configuration. Specifically, the objective function is defined as:
where is the predicted probability from the random forest classifier. Lower objective values correspond to medically plausible and effective treatment suggestions.
Feasibility constraints are imposed to exclude unrealistic feature combinations by enforcing logical consistency based on domain heuristics. For example, we define the feasible region to exclude physiologically contradictory states, such as , where and are thresholds for clinical implausibility. This setup evaluates the ability of CA-TD to internalize symbolic prior knowledge in a real-world-inspired search space.
K. Onoue and R. Kojima
A.2 Benchmarks for Experiment 3
We tailored seven tasks across four classes evaluated in [22] by adding constraints and down-scaling the tasks to evaluate CA-TD against NN+MILP. All maximize a given metric, formulated here as minimizing its negative.
Generalized Assignment Problem (GAP) Assign items to bins to maximize total value , where is the bin assigned to item , and is the profit of assigning item to bin . denotes the indicator function.
-
GAP-A (3⁹): Capacity-constrained for each bin , where is the weight of item , and is the capacity of bin .
-
GAP-B (4⁷): Logically-constrained and .
Constrained Ising Model Minimize over binary vectors , where indicates that item is selected, and is the interaction potential between items and .
– Ising-A ( ): Group balance constraints where item groups must have equal selection counts and a total cardinality of .
– Ising-B ( ): Complex constraints where group A selection equals group B, and group C must have exactly 1 item.
Neural Architecture Search (NAS) Maximize test accuracy on CIFAR-10 from NATS-Bench.
-
TSS (5⁶): Selecting operations for 6 edges with constraints and .
-
SSS (8⁵): Selecting channel counts for 5 stages constrained by and .
DNA Binding (TfBind) Optimizing binding affinity for a DNA sequence of length 8 ( search space), where . The GC-content is restricted by the cardinality constraint: .
B Experimental Details
All experiments were conducted on nodes running Ubuntu 22.04.5 LTS. Each experimental run was allocated 4 cores of an Intel Xeon Gold 6230R CPU and 8 GB of memory. A timeout of 3600 seconds (1 hour) was set for each run.
The software environment was built on Python 3.12.2. Key libraries include PyTorch 2.4.1 and NumPy 2.1.2. Our HSDP training strategy utilized ncpol2sdpa 1.12.2 and cvxpy 1.6.4, with SDPA 7.3.16 as the backend semidefinite programming solver. Our implementation of the NN+MILP baseline [22] follows the methodology described in the original paper. The mixed-integer linear programming subproblems are solved using OR-Tools 9.14.6206.
C Detailed Experimental Results
Here, we provide the complete summary tables compiling the results of our experiments. Table 5 and Table 6 show the full performance details of our proposed methods and the baselines for the initial five benchmark tasks. Table 7 presents the comprehensive results across all evaluated tensor ranks for the advanced comparison tasks against the NN+MILP baseline.
D Ablation study for Experiment 2
D.1 Effect of the Penalty Coefficient
We evaluated the sensitivity of the PGRAD strategy to the penalty coefficient , varying it from 0.0001 to 10 for CP-c, TR-c, and TT-c surrogates across all benchmarks. As shown in Figure 4, the performance is remarkably robust to this hyperparameter, with nearly identical convergence behavior across a wide range of values. This high stability justifies our choice of as a standard setting for CA-TD.
A minor exception was observed in the Warcraft map benchmark (Figure 4b), where very high penalty coefficients ( and ) resulted in slightly slower initial convergence. This is likely due to the increased difficulty of the landscape when constraints are overly penalized. However, even in this case, the method remains competitive, confirming that CA-TD does not require extensive tuning of to achieve stable performance.
D.2 Effect of Offline Training on GP and TPE Baselines
In our main experiments, the constrained GP and TPE baselines (GP-c and TPE-c) were trained with 200 offline-sampled infeasible inputs. To analyze the impact of this prior knowledge, we varied the number of infeasible points in across all benchmarks. We observed a consistent, counter-intuitive trend: increasing the number of pre-trained infeasible points generally degrades optimization performance.
While this trend was observed across all five tasks, Figure 5 presents the Ackley grid as a representative case. The degradation is particularly severe for the GP baseline, where computational overhead leads to truncated convergence curves and premature termination. This is due to the GP model's cubic scaling, which makes it prohibitively expensive for acquisition function optimization as data points increase. The TPE baseline proved more computationally robust but still exhibited similar performance decay. These findings suggest that naively expanding the training dataset with infeasible points is ineffective and potentially detrimental for baseline models.
K. Onoue and R. Kojima
Table 5: Full experimental results comparing CP, TR, and TT formats across different ranks. Each cell reports the mean over 10 runs, displaying the Best Value with the Round at which it first appeared in subscripts using the notation Value (Round). Bold indicates the best rank within each method. Standard deviations are omitted for brevity.
| Task | R | Constrained (-c) | Unconstrained (-u) | ||||
|---|---|---|---|---|---|---|---|
| CP | TR | TT | CP | TR | TT | ||
| Ackley | 2 | 0.00(69.40) | 0.00(55.80) | 0.00(58.00) | 5.00(74.00) | 4.07(68.50) | 4.74(151.60) |
| 3 | 0.00(37.70) | 0.00(61.60) | 0.00(36.30) | 4.37(179.50) | 5.72(104.90) | 3.88(135.70) | |
| 4 | 0.00(50.20) | 0.00(48.60) | 0.00(47.50) | 5.11(61.30) | 5.31(47.80) | 3.70(113.20) | |
| 5 | 0.00(56.60) | 0.00(57.70) | 0.00(57.40) | 4.29(76.80) | 5.01(79.00) | 4.38(111.30) | |
| 6 | 0.00(63.50) | 0.00(71.90) | 0.00(63.70) | 2.24(105.10) | 6.05(27.30) | 3.05(138.40) | |
| Diabetes | 2 | 0.26(190.30) | 0.26(193.50) | 0.27(164.60) | 0.56(237.60) | 0.45(82.60) | 0.59(240.50) |
| 3 | 0.20(245.40) | 0.25(205.30) | 0.25(215.40) | 0.44(105.70) | 0.49(142.30) | 0.42(36.70) | |
| 4 | 0.22(215.10) | 0.22(276.70) | 0.19(289.50) | 0.49(26.60) | 0.49(21.80) | 0.43(79.30) | |
| 5 | 0.19(229.20) | 0.20(263.60) | 0.21(242.30) | 0.43(139.20) | 0.59(33.60) | 0.51(24.30) | |
| 6 | 0.18(183.40) | 0.20(210.00) | 0.19(258.00) | 0.44(163.30) | 0.50(62.80) | 0.43(76.40) | |
| Pressure Vessel | 2 | 12408.34(97.60) | 12408.34(65.60) | 12408.34(98.20) | 28747.63(135.10) | 28563.29(42.20) | 26976.59(36.70) |
| 3 | 12408.34(101.60) | 12408.34(107.90) | 12408.34(91.80) | 26880.85(227.20) | 24871.78(65.80) | 26170.20(65.20) | |
| 4 | 12408.34(114.10) | 12408.34(153.90) | 12408.34(120.90) | 27551.16(166.20) | 32783.74(36.00) | 22564.40(67.70) | |
| 5 | 12408.34(125.10) | 12408.34(171.60) | 12408.34(186.70) | 24153.88(63.90) | 34158.80(19.20) | 22935.84(28.40) | |
| 6 | 12408.34(133.60) | 12408.34(158.60) | 12408.34(162.70) | 21718.03(83.80) | 23866.31(28.70) | 21395.48(34.60) | |
| Warcraft | 2 | 0.50(40.80) | 0.50(29.60) | 0.50(34.90) | 0.67(192.30) | 0.73(171.40) | 0.65(192.30) |
| 3 | 0.50(31.00) | 0.50(29.70) | 0.50(34.10) | 0.74(108.90) | 0.74(188.20) | 0.75(213.00) | |
| 4 | 0.50(31.30) | 0.50(33.00) | 0.50(39.80) | 0.68(212.00) | 0.74(163.90) | 0.71(181.40) | |
| 5 | 0.50(37.90) | 0.50(26.10) | 0.50(41.60) | 0.65(96.30) | 0.76(123.70) | 0.67(195.80) | |
| 6 | 0.50(25.60) | 0.50(41.80) | 0.50(47.20) | 0.68(181.20) | 0.76(195.30) | 0.63(115.60) | |
| Warcraft | 2 | 0.56(108.10) | 0.56(335.20) | 0.58(257.90) | 0.97(221.70) | 0.93(130.20) | 0.90(184.60) |
| 3 | 0.50(145.20) | 0.50(139.10) | 0.50(116.90) | 0.87(234.50) | 1.01(92.40) | 0.95(204.20) | |
| 4 | 0.50(123.00) | 0.51(255.50) | 0.50(115.70) | 0.90(96.90) | 1.04(150.30) | 0.98(167.80) | |
| 5 | 0.50(125.70) | 0.50(144.50) | 0.50(144.70) | 0.88(148.50) | 0.94(120.90) | 1.01(148.90) | |
| 6 | 0.50(126.90) | 0.50(175.20) | 0.50(152.80) | 0.88(156.10) | 0.93(91.50) | 0.96(56.90) | |
Table 6: Performance summary of the baseline methods (GP, TPE, NN+MILP, and PROTES) in Experiment 2. Each cell reports the mean over 10 runs, displaying the Best Value with the Round at which it first appeared in subscripts using the notation . Standard deviations are omitted for brevity as per the main CA-TD results.
| Task | Method | Constrained (-c) | Unconstrained (-u) | ||
|---|---|---|---|---|---|
| Best Value(Round) | Best Value(Round) | ||||
| Ackley | GP | ||||
| TPE | |||||
| NN+MILP | |||||
| PROTES | |||||
| Diabetes | GP | ||||
| TPE | |||||
| NN+MILP | |||||
| PROTES | |||||
| Pressure Vessel | GP | ||||
| TPE | |||||
| NN+MILP | |||||
| PROTES | |||||
| Warcraft2x2 | GP | ||||
| TPE | |||||
| NN+MILP | |||||
| PROTES | |||||
| Warcraft2x3 | GP | ||||
| TPE | |||||
| NN+MILP | |||||
| PROTES | |||||
K. Onoue and R. Kojima
Table 7: Full experimental results on benchmarks from [22] across all evaluated ranks . Values are reported as Value(Round). The best performing configuration for each task (lowest value, then earliest round) is highlighted in bold.
| Task | Format | R=2 | R=3 | R=4 | R=5 | R=6 | NN+MILP-c |
|---|---|---|---|---|---|---|---|
| GAP A | CP | ||||||
| TR | |||||||
| TT | |||||||
| GAP B | CP | ||||||
| TR | |||||||
| TT | |||||||
| Ising A | CP | ||||||
| TR | |||||||
| TT | |||||||
| Ising B | CP | ||||||
| TR | |||||||
| TT | |||||||
| SSS | CP | ||||||
| TR | |||||||
| TT | |||||||
| TSS | CP | ||||||
| TR | |||||||
| TT | |||||||
| TBind | CP | ||||||
| TR | |||||||
| TT |

(a) Ackley on grid

(b) Warcraft on map
Fig. 4: Representative sensitivity analysis of the penalty coefficient for TT-c. (a) Ackley illustrates the typical high robustness found in the majority of tasks. (b) Warcraft shows a slight performance sensitivity specifically at very high values. The overlapping curves justify the choice of as a robust default.
D.3 Effect of Number of Epochs and Initial Points for NN+MILP
We conducted an ablation study to optimize the NN+MILP baseline by varying the number of training epochs ( ) and initial points ( ). While all five benchmarks were evaluated, Figure 6 displays the Ackley grid as a representative case, as it clearly illustrates the observed trends.
Regarding initial points, a distinct preference emerged based on the constraint setting. For constrained problems (-c), a single initial point consistently demonstrated superior or competitive performance. Conversely, unconstrained problems (-u) significantly benefited from 50 initial points, which led to faster convergence. As for training duration, performance gains generally plateaued at
K. Onoue and R. Kojima

Fig. 5: Representative ablation study (Ackley grid) on the number of pre-trained infeasible points for GP-c and TPE-c. Left and right panels show GP-c and TPE-c, respectively. Increasing informed points consistently degraded performance across all five tested benchmarks.
1000 epochs; further training (up to 25000 epochs) yielded diminishing returns relative to the increased computational cost.
Consequently, we adopted the following configurations for all main experiments: 1 initial point with 1000 epochs for constrained settings (-c), and 50 initial points with 1000 epochs for unconstrained settings (-u). These settings offer the optimal trade-off between sample efficiency and computational overhead.
D.4 Effect of Hyperparameters for PROTES
To optimize the PROTES baseline, we evaluated various configurations of batch size , top samples , and TT-rank . The results across all tasks consistently showed that a larger batch size of is superior, as it allows the optimizer to gather more comprehensive information about the objective function landscape. Figure 7 illustrates these trends using the Ackley grid as a representative example.
Regarding the number of top samples, provided the best balance between focusing on elite samples and maintaining sufficient diversity to avoid premature convergence. The performance across TT-ranks 3, 4, and 5 was often similar once optimal B and K values were selected. We chose rank 4 as it provides a robust level of model expressiveness without risking unnecessary overfitting.
Based on these consistent observations across all tested tasks, we adopted , , and rank 4 for all main experiments presented in Section 5. These settings provide the most reliable trade-off between sample efficiency and final optimization performance for the PROTES baseline.
E Constraint Violation during Training
This section reports how frequently constraint violations occur during optimization for both CA-TD and PGRAD. Figure 8 shows the cumulative averaged

Fig. 6: Representative ablation study (Ackley grid) for the NN+MILP baseline. Each panel shows optimization progress for different training epochs. Blue and orange lines denote 1 and 50 initial points, respectively. The results across all tasks confirmed that optimal initial points depend on the constraint setting, and returns diminish after 1000 epochs.
number of points proposed by CA-TD during SMBO optimization that were rejected due to constraint violations. We observe that the number of rejected points does not increase throughout the optimization process, indicating that although CA-TD does not theoretically guarantee feasibility, it practically tends to propose feasible points almost exclusively. Figure 9 presents the fraction of constraint-violating samples observed during training of the surrogate model when applying PGRAD. The vertical axis represents the ratio of violated samples to the total number of sampled points. These results are obtained under the setting where no unobserved points remain. The plot demonstrates that PGRAD maintains feasibility for nearly all sampled points during training, with only a very small fraction violating the constraints. Overall, the empirical evidence shows that CA-TD rarely produces infeasible proposals in practice, and PGRAD is able to prevent constraint violations in almost all cases throughout the training process.
F Scalability on High-Dimensional Discrete Spaces
In this section, we present data on the memory usage bottleneck of tensor decomposition-based methods; this is the main bottleneck of our proposed method. We then demonstrate the impact of batching tensor decomposition, the most naive solution to this bottleneck.
K. Onoue and R. Kojima

Fig. 7: Representative ablation study (Ackley grid) for the PROTES baseline. Curves compare different batch sizes (B) and top samples (K) across ranks. Consistently across all tasks, B = 100 and K = 10 yielded the most stable and effective optimization progress.
Standard gradient-based optimization methods in deep learning frameworks (e.g., PyTorch) generally require single-precision floating-point (Float32) formats to ensure numerical stability.
Storing dense tensors using single-precision floating-point numbers requires 0.4 GB of memory for a search space size of , 4.0 GB for , and 40.0 GB for .
Next, we introduce a mini-batch approach to CA-TD by switching to stochastic optimization. The mini-batch method used here approximates both the loss function in Eq. 5 and the acquisition function described in Section 3.4 through sampling. For the loss computation in tensor decomposition, all previously observed points that satisfy the constraints are always included in each batch, while the remaining batch elements are randomly sampled from the constraint-violating points. For the acquisition function, mini-batches are constructed by uniformly sampling indices from the entire search space. Furthermore, the gradient descent algorithm is fixed to 200 steps, and at each step only the constraint-violating points are resampled.
This mini-batch method is expected to significantly reduce computational and memory loads by not loading the entire search space into memory.
F.1 Ablation Study on Batch Size
First, we investigate the impact of mini-batch size selection on optimization.
Experimental Setup We utilize the 4-dimensional Ackley function discretized with 10 levels per dimension, resulting in a search space of size . The feasible region is defined by the constraint . The computational environment follows the specifications described in Appendix B. The “Full” baseline (black dashed line) represents the ideal setting where both training and acquisition are performed using the full dataset (full-batch). Larger batches improve convergence toward the full-batch baseline.
(a) Ackley
(b) Pressure Vessel

(c) Warcraft on map
(d) Warcraft on map
(e) Diabetes
Fig. 8: Averaged cumulative number of rejected points proposed by CA-TD during SMBO optimization.
Methodology and Results We conduct two separate analyses by varying the batch size in 128, 256, 512, 1024, focusing on its effect on (1) tensor training and (2) acquisition inference.
-
Effect of Tensor Batch Size (Surrogate Training): We vary the batch size used for the PGRAD updates while keeping the acquisition evaluation in full-batch mode. As shown in the left panels of Figure 10 and 11, reducing the training batch size substantially degrades performance: smaller batches (e.g., 128) lead to noticeably slower convergence and poorer final objective values. In contrast, larger batches behave similarly to the full-batch baseline, indicating that sufficient tensor batch size is critical for stable surrogate training.
-
Effect of Acquisition Batch Size (Inference): We vary the batch size used during the acquisition evaluation while fixing the tensor training batch size to 128. The right panels of Figure 10 and 11 show that changes in acquisition batch size have almost no effect on the optimization trajectory. All curves corresponding to different batch sizes closely overlap, indicating that acquisition inference is robust to batch size variation.
F.2 Applying Mini-Batched CA-TD to High-Dimensional Discrete Space Task
Next, we conduct experiments in a search space of size to demonstrate that the proposed mini-batch method enables optimization even when direct full-batch tensor decomposition is computationally infeasible.
K. Onoue and R. Kojima
(a) Ackley
(b) Pressure Vessel

(c) Warcraft on map
(d) Warcraft on map
(e) Diabetes
Fig. 9: Fraction of constraint violations observed during training of the surrogate model in PGRAD. The vertical axis shows the ratio of violated samples to all sampled points in the gradient step.
With a mini-batch size of 1024, the execution time per iteration was approximately 4.43 ms, and the convergence behavior is shown in Figure 12a. Figure 12b further compares CA-TD with NN+MILP on the same task. The results show that CA-TD, which leverages constraint information, achieves superior performance in the early optimization phase. In contrast, NN+MILP attains better performance in the later stages.
This performance shift is consistent with the analysis in the previous section: mini-batched CA-TD is sensitive to the batch size used for surrogate training, and in large-scale problems that require highly accurate tensor decompositions, approximation errors accumulate during the later optimization phase. As a result, CA-TD's effectiveness diminishes over time, whereas NN+MILP maintains stable performance throughout.
G Connection to Polynomial Optimization Problems (POPs)
We clarify why the constrained surrogate learning problem becomes a Polynomial Optimization Problem (POP) by using the TT-based surrogate representation.
The surrogate tensor is represented in Tensor Train (TT) format (Equation 2). Expanding the matrix products yields
TT-c with Mini Batch Learning on Ackley ( )

Fig. 10: Ablation study on batch size for a search space of size . (Left) Tensor Batch Size: Varying the training batch size for PGRAD. (Right) Acq. Batch Size: Varying the inference batch size for acquisition while fixing the training batch size to 128.
TT-c with Mini Batch Learning on Ackley ( )

Fig. 11: Ablation study on batch size for a search space of size . (Left) Tensor Batch Size: Varying the training batch size for PGRAD. (Right) Acq. Batch Size: Varying the inference batch size for acquisition while fixing the training batch size to 128.
where are the indices for summing in the range 1 to , respectively ( ). Thus, is a -degree multivariate polynomial related to the TT core tensor parameters.
The squared error term of the learning objective in Equation 4 is also a polynomial as is a polynomial in the TT parameters. Therefore, the entire objective function is a polynomial in the decision variables.
Input constraints impose for all . Because is a polynomial, each constraint can be written as
which is a polynomial inequality in the TT parameters.
K. Onoue and R. Kojima

(a) PGRAD training loss ( Ackley).

(b) Optimization progress ( Ackley).
Fig. 12: Results on the high-dimensional constrained Ackley problem ( search space). (a) shows the PGRAD convergence with mini-batching. (b) compares CA-TD (TT-c) with the NN+MILP-c baseline.
A POP is generally written as
where both the objective f and constraints are polynomials in the decision variables .
The TT-based constrained surrogate learning problem matches this form:
– Decision variables : all TT core tensor elements ,
– Objective : polynomial least-squares error,
- Constraints : polynomial lower-bound constraints ( ).
Because both the objective function and all constraints are multivariate polynomials in the TT parameters, the constrained surrogate model learning problem constitutes a POP.