arXiv:2609.09370cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09370

Constraint-Aware Discrete Black-Box Optimization Using Tensor Decomposition

Keisuke Onoue, Ryosuke Kojima

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Keisuke Onoue 1^{1}[0009-0007-3249-6572]

and Ryosuke Kojima 2,3^{2,3}[0000-0003-1095-8864] (✉)

1^{1} Nara Institute of Science and Technology, Nara, Japan

onoue.keisuke.ok2@naist.ac.jp

2^{2} Graduate School of Medicine, Kyoto University, Kyoto, Japan

kojima.ryosuke.8e@kyoto-u.ac.jp

3^{3} 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

Figure

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 1^{1}.

References (34)