Chelsea707 commited on
Commit
322f7bd
·
verified ·
1 Parent(s): c5c2e3a

Add Batch 1b4c3ead-ac6a-4dc1-94d2-560885d1ba3c data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_content_list.json +0 -0
  3. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_model.json +0 -0
  4. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_origin.pdf +3 -0
  5. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/full.md +639 -0
  6. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/images.zip +3 -0
  7. 2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/layout.json +0 -0
  8. 2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_content_list.json +0 -0
  9. 2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_model.json +0 -0
  10. 2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_origin.pdf +3 -0
  11. 2023/Constrained Monotonic Neural Networks/full.md +630 -0
  12. 2023/Constrained Monotonic Neural Networks/images.zip +3 -0
  13. 2023/Constrained Monotonic Neural Networks/layout.json +0 -0
  14. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_content_list.json +0 -0
  15. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_model.json +0 -0
  16. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_origin.pdf +3 -0
  17. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/full.md +0 -0
  18. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/images.zip +3 -0
  19. 2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/layout.json +0 -0
  20. 2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_content_list.json +0 -0
  21. 2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_model.json +0 -0
  22. 2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_origin.pdf +3 -0
  23. 2023/Constrained Phi-Equilibria/full.md +0 -0
  24. 2023/Constrained Phi-Equilibria/images.zip +3 -0
  25. 2023/Constrained Phi-Equilibria/layout.json +0 -0
  26. 2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_content_list.json +0 -0
  27. 2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_model.json +0 -0
  28. 2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_origin.pdf +3 -0
  29. 2023/Context Consistency Regularization for Label Sparsity in Time Series/full.md +418 -0
  30. 2023/Context Consistency Regularization for Label Sparsity in Time Series/images.zip +3 -0
  31. 2023/Context Consistency Regularization for Label Sparsity in Time Series/layout.json +0 -0
  32. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_content_list.json +0 -0
  33. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_model.json +0 -0
  34. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_origin.pdf +3 -0
  35. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/full.md +0 -0
  36. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/images.zip +3 -0
  37. 2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/layout.json +0 -0
  38. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_content_list.json +0 -0
  39. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_model.json +0 -0
  40. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_origin.pdf +3 -0
  41. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/full.md +0 -0
  42. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/images.zip +3 -0
  43. 2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/layout.json +0 -0
  44. 2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_content_list.json +0 -0
  45. 2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_model.json +0 -0
  46. 2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_origin.pdf +3 -0
  47. 2023/Contextual Conservative Interleaving Bandits/full.md +877 -0
  48. 2023/Contextual Conservative Interleaving Bandits/images.zip +3 -0
  49. 2023/Contextual Conservative Interleaving Bandits/layout.json +0 -0
  50. 2023/Contextual Reliability_ When Different Features Matter in Different Contexts/e62f107c-5285-460d-87a5-7b9e770dcce2_content_list.json +0 -0
.gitattributes CHANGED
@@ -6283,3 +6283,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
6283
  2023/Constant[[:space:]]Matters_[[:space:]]Fine-grained[[:space:]]Error[[:space:]]Bound[[:space:]]on[[:space:]]Differentially[[:space:]]Private[[:space:]]Continual[[:space:]]Observation/31fcbc4c-2dfc-4a53-8a7a-8aca406995a0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6284
  2023/Constrained[[:space:]]Causal[[:space:]]Bayesian[[:space:]]Optimization/7d3acc74-343c-4348-82cb-ee455f8d4bd8_origin.pdf filter=lfs diff=lfs merge=lfs -text
6285
  2023/Constrained[[:space:]]Decision[[:space:]]Transformer[[:space:]]for[[:space:]]Offline[[:space:]]Safe[[:space:]]Reinforcement[[:space:]]Learning/fb29707b-9636-46ac-8ca9-6b5515fcf178_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6283
  2023/Constant[[:space:]]Matters_[[:space:]]Fine-grained[[:space:]]Error[[:space:]]Bound[[:space:]]on[[:space:]]Differentially[[:space:]]Private[[:space:]]Continual[[:space:]]Observation/31fcbc4c-2dfc-4a53-8a7a-8aca406995a0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6284
  2023/Constrained[[:space:]]Causal[[:space:]]Bayesian[[:space:]]Optimization/7d3acc74-343c-4348-82cb-ee455f8d4bd8_origin.pdf filter=lfs diff=lfs merge=lfs -text
6285
  2023/Constrained[[:space:]]Decision[[:space:]]Transformer[[:space:]]for[[:space:]]Offline[[:space:]]Safe[[:space:]]Reinforcement[[:space:]]Learning/fb29707b-9636-46ac-8ca9-6b5515fcf178_origin.pdf filter=lfs diff=lfs merge=lfs -text
6286
+ 2023/Constrained[[:space:]]Efficient[[:space:]]Global[[:space:]]Optimization[[:space:]]of[[:space:]]Expensive[[:space:]]Black-box[[:space:]]Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_origin.pdf filter=lfs diff=lfs merge=lfs -text
6287
+ 2023/Constrained[[:space:]]Monotonic[[:space:]]Neural[[:space:]]Networks/787717a9-c3e6-48b4-b37b-de986180631e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6288
+ 2023/Constrained[[:space:]]Optimization[[:space:]]via[[:space:]]Exact[[:space:]]Augmented[[:space:]]Lagrangian[[:space:]]and[[:space:]]Randomized[[:space:]]Iterative[[:space:]]Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_origin.pdf filter=lfs diff=lfs merge=lfs -text
6289
+ 2023/Constrained[[:space:]]Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_origin.pdf filter=lfs diff=lfs merge=lfs -text
6290
+ 2023/Context[[:space:]]Consistency[[:space:]]Regularization[[:space:]]for[[:space:]]Label[[:space:]]Sparsity[[:space:]]in[[:space:]]Time[[:space:]]Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_origin.pdf filter=lfs diff=lfs merge=lfs -text
6291
+ 2023/Context-Aware[[:space:]]Bayesian[[:space:]]Network[[:space:]]Actor-Critic[[:space:]]Methods[[:space:]]for[[:space:]]Cooperative[[:space:]]Multi-Agent[[:space:]]Reinforcement[[:space:]]Learning/86660bc6-c69c-4665-870e-6fa177111263_origin.pdf filter=lfs diff=lfs merge=lfs -text
6292
+ 2023/Contextual[[:space:]]Combinatorial[[:space:]]Bandits[[:space:]]with[[:space:]]Probabilistically[[:space:]]Triggered[[:space:]]Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_origin.pdf filter=lfs diff=lfs merge=lfs -text
6293
+ 2023/Contextual[[:space:]]Conservative[[:space:]]Interleaving[[:space:]]Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6294
+ 2023/Contextual[[:space:]]Reliability_[[:space:]]When[[:space:]]Different[[:space:]]Features[[:space:]]Matter[[:space:]]in[[:space:]]Different[[:space:]]Contexts/e62f107c-5285-460d-87a5-7b9e770dcce2_origin.pdf filter=lfs diff=lfs merge=lfs -text
6295
+ 2023/Continual[[:space:]]Learners[[:space:]]are[[:space:]]Incremental[[:space:]]Model[[:space:]]Generalizers/0d331f42-dcaf-4b42-a350-6791e98ab3c1_origin.pdf filter=lfs diff=lfs merge=lfs -text
6296
+ 2023/Continual[[:space:]]Learning[[:space:]]in[[:space:]]Linear[[:space:]]Classification[[:space:]]on[[:space:]]Separable[[:space:]]Data/58e682fb-9ce1-42e3-888b-3375f4527d1f_origin.pdf filter=lfs diff=lfs merge=lfs -text
6297
+ 2023/Continual[[:space:]]Task[[:space:]]Allocation[[:space:]]in[[:space:]]Meta-Policy[[:space:]]Network[[:space:]]via[[:space:]]Sparse[[:space:]]Prompting/86b32940-89c8-4e26-9bd0-30875f05949c_origin.pdf filter=lfs diff=lfs merge=lfs -text
6298
+ 2023/Continual[[:space:]]Vision-Language[[:space:]]Representation[[:space:]]Learning[[:space:]]with[[:space:]]Off-Diagonal[[:space:]]Information/452c541f-3301-45eb-ba1d-636abfcb068f_origin.pdf filter=lfs diff=lfs merge=lfs -text
6299
+ 2023/Continuation[[:space:]]Path[[:space:]]Learning[[:space:]]for[[:space:]]Homotopy[[:space:]]Optimization/71cbdc0a-3f38-4619-9ecf-bb5f449aff5b_origin.pdf filter=lfs diff=lfs merge=lfs -text
6300
+ 2023/Continuous[[:space:]]Spatiotemporal[[:space:]]Transformer/3355be84-b963-4fa6-b041-e7457a9bef3d_origin.pdf filter=lfs diff=lfs merge=lfs -text
6301
+ 2023/Continuously[[:space:]]Parameterized[[:space:]]Mixture[[:space:]]Models/2d591acc-69d6-4d29-9fd8-180d62f41107_origin.pdf filter=lfs diff=lfs merge=lfs -text
6302
+ 2023/ContraBAR_[[:space:]]Contrastive[[:space:]]Bayes-Adaptive[[:space:]]Deep[[:space:]]RL/214b1590-e75a-451f-9d9a-ad1657425b65_origin.pdf filter=lfs diff=lfs merge=lfs -text
6303
+ 2023/Contrast[[:space:]]with[[:space:]]Reconstruct_[[:space:]]Contrastive[[:space:]]3D[[:space:]]Representation[[:space:]]Learning[[:space:]]Guided[[:space:]]by[[:space:]]Generative[[:space:]]Pretraining/66e4609a-8d5b-43ac-a7ff-7b8cd78f9be4_origin.pdf filter=lfs diff=lfs merge=lfs -text
6304
+ 2023/Contrastive[[:space:]]Energy[[:space:]]Prediction[[:space:]]for[[:space:]]Exact[[:space:]]Energy-Guided[[:space:]]Diffusion[[:space:]]Sampling[[:space:]]in[[:space:]]Offline[[:space:]]Reinforcement[[:space:]]Learning/4d56b33c-7e46-4bfd-bbbd-6e1c4184c0e0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6305
+ 2023/Contrastive[[:space:]]Learning[[:space:]]Meets[[:space:]]Homophily_[[:space:]]Two[[:space:]]Birds[[:space:]]with[[:space:]]One[[:space:]]Stone/5acaef28-1a8c-4d9e-b640-7ae472fe4d94_origin.pdf filter=lfs diff=lfs merge=lfs -text
6306
+ 2023/Controllability-Aware[[:space:]]Unsupervised[[:space:]]Skill[[:space:]]Discovery/b6c1d71d-58d1-475f-a014-2911bd3ce4d5_origin.pdf filter=lfs diff=lfs merge=lfs -text
6307
+ 2023/Controllable[[:space:]]Neural[[:space:]]Symbolic[[:space:]]Regression/7b860d39-209f-4fd2-980b-d461dfc25716_origin.pdf filter=lfs diff=lfs merge=lfs -text
6308
+ 2023/Controlled[[:space:]]Differential[[:space:]]Equations[[:space:]]on[[:space:]]Long[[:space:]]Sequences[[:space:]]via[[:space:]]Non-standard[[:space:]]Wavelets/1face307-ab37-4c7b-a22e-e14f6263d1fd_origin.pdf filter=lfs diff=lfs merge=lfs -text
6309
+ 2023/Controlled[[:space:]]Text[[:space:]]Generation[[:space:]]with[[:space:]]Natural[[:space:]]Language[[:space:]]Instructions/947188cd-88ed-4226-ab4a-cb586ef081e1_origin.pdf filter=lfs diff=lfs merge=lfs -text
6310
+ 2023/Controlling[[:space:]]Posterior[[:space:]]Collapse[[:space:]]by[[:space:]]an[[:space:]]Inverse[[:space:]]Lipschitz[[:space:]]Constraint[[:space:]]on[[:space:]]the[[:space:]]Decoder[[:space:]]Network/6ac3acff-a1e7-43c3-9d2d-365cd26c798b_origin.pdf filter=lfs diff=lfs merge=lfs -text
6311
+ 2023/Controlling[[:space:]]Type[[:space:]]Confounding[[:space:]]in[[:space:]]Ad[[:space:]]Hoc[[:space:]]Teamwork[[:space:]]with[[:space:]]Instance-wise[[:space:]]Teammate[[:space:]]Feedback[[:space:]]Rectification/498d0e96-7237-48a0-aad3-1d7555215574_origin.pdf filter=lfs diff=lfs merge=lfs -text
6312
+ 2023/Convergence[[:space:]]of[[:space:]]First-Order[[:space:]]Methods[[:space:]]for[[:space:]]Constrained[[:space:]]Nonconvex[[:space:]]Optimization[[:space:]]with[[:space:]]Dependent[[:space:]]Data/d11cc52e-b244-4700-8900-d7a1128e4b04_origin.pdf filter=lfs diff=lfs merge=lfs -text
6313
+ 2023/Convergence[[:space:]]of[[:space:]]Proximal[[:space:]]Point[[:space:]]and[[:space:]]Extragradient-Based[[:space:]]Methods[[:space:]]Beyond[[:space:]]Monotonicity_[[:space:]]the[[:space:]]Case[[:space:]]of[[:space:]]Negative[[:space:]]Comonotonicity/57ca14b6-dd4b-48bf-a485-0f00777ecb3b_origin.pdf filter=lfs diff=lfs merge=lfs -text
6314
+ 2023/Convex[[:space:]]Geometry[[:space:]]of[[:space:]]ReLU-layers,[[:space:]]Injectivity[[:space:]]on[[:space:]]the[[:space:]]Ball[[:space:]]and[[:space:]]Local[[:space:]]Reconstruction/13a49c45-b7e1-494e-aa86-71a8e36c289c_origin.pdf filter=lfs diff=lfs merge=lfs -text
6315
+ 2023/Cooperation[[:space:]]in[[:space:]]the[[:space:]]Latent[[:space:]]Space_[[:space:]]The[[:space:]]Benefits[[:space:]]of[[:space:]]Adding[[:space:]]Mixture[[:space:]]Components[[:space:]]in[[:space:]]Variational[[:space:]]Autoencoders/a660a6d4-c9d9-425c-8183-3d32b7f0f4fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
6316
+ 2023/Cooperative[[:space:]]Multi-Agent[[:space:]]Reinforcement[[:space:]]Learning_[[:space:]]Asynchronous[[:space:]]Communication[[:space:]]and[[:space:]]Linear[[:space:]]Function[[:space:]]Approximation/83f2b428-6c79-4880-a267-35379fe30724_origin.pdf filter=lfs diff=lfs merge=lfs -text
6317
+ 2023/Cooperative[[:space:]]Open-ended[[:space:]]Learning[[:space:]]Framework[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Coordination/79edf2c9-21fa-4397-bc98-042a6aff9870_origin.pdf filter=lfs diff=lfs merge=lfs -text
6318
+ 2023/Coordinate[[:space:]]Descent[[:space:]]Methods[[:space:]]for[[:space:]]Fractional[[:space:]]Minimization/ce02144f-24b4-49e8-b187-bfae2e18fd14_origin.pdf filter=lfs diff=lfs merge=lfs -text
6319
+ 2023/Coordinated[[:space:]]Dynamic[[:space:]]Bidding[[:space:]]in[[:space:]]Repeated[[:space:]]Second-Price[[:space:]]Auctions[[:space:]]with[[:space:]]Budgets/097bbf75-b99c-4cf0-8179-d40d18c948c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
6320
+ 2023/Correcting[[:space:]]discount-factor[[:space:]]mismatch[[:space:]]in[[:space:]]on-policy[[:space:]]policy[[:space:]]gradient[[:space:]]methods/292bac21-f6c0-471a-91b1-12679a63ec94_origin.pdf filter=lfs diff=lfs merge=lfs -text
6321
+ 2023/Corruption-Robust[[:space:]]Algorithms[[:space:]]with[[:space:]]Uncertainty[[:space:]]Weighting[[:space:]]for[[:space:]]Nonlinear[[:space:]]Contextual[[:space:]]Bandits[[:space:]]and[[:space:]]Markov[[:space:]]Decision[[:space:]]Processes/9552b370-8a74-4440-90f2-508973a25cf4_origin.pdf filter=lfs diff=lfs merge=lfs -text
6322
+ 2023/Counterfactual[[:space:]]Analysis[[:space:]]in[[:space:]]Dynamic[[:space:]]Latent[[:space:]]State[[:space:]]Models/57fccbd7-34f5-4290-9742-7e57fa07ca77_origin.pdf filter=lfs diff=lfs merge=lfs -text
6323
+ 2023/Counterfactual[[:space:]]Identifiability[[:space:]]of[[:space:]]Bijective[[:space:]]Causal[[:space:]]Models/5d43735f-3633-48b1-b7a1-3ee3adc3bb42_origin.pdf filter=lfs diff=lfs merge=lfs -text
6324
+ 2023/Coupled[[:space:]]Variational[[:space:]]Autoencoder/15697d0a-2af3-496d-bc90-a9c06663571f_origin.pdf filter=lfs diff=lfs merge=lfs -text
6325
+ 2023/Covariate[[:space:]]balancing[[:space:]]using[[:space:]]the[[:space:]]integral[[:space:]]probability[[:space:]]metric[[:space:]]for[[:space:]]causal[[:space:]]inference/01972355-7535-42d6-8d4e-09e1d1564b48_origin.pdf filter=lfs diff=lfs merge=lfs -text
6326
+ 2023/Crafting[[:space:]]Training[[:space:]]Degradation[[:space:]]Distribution[[:space:]]for[[:space:]]the[[:space:]]Accuracy-Generalization[[:space:]]Trade-off[[:space:]]in[[:space:]]Real-World[[:space:]]Super-Resolution/06133b06-97ae-4f9f-999e-e43403c0b22e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6327
+ 2023/Cramming_[[:space:]]Training[[:space:]]a[[:space:]]Language[[:space:]]Model[[:space:]]on[[:space:]]a[[:space:]]single[[:space:]]GPU[[:space:]]in[[:space:]]one[[:space:]]day./f7201b85-5dd1-4a41-85f9-33348e23be3f_origin.pdf filter=lfs diff=lfs merge=lfs -text
6328
+ 2023/Critical[[:space:]]Points[[:space:]]and[[:space:]]Convergence[[:space:]]Analysis[[:space:]]of[[:space:]]Generative[[:space:]]Deep[[:space:]]Linear[[:space:]]Networks[[:space:]]Trained[[:space:]]with[[:space:]]Bures-Wasserstein[[:space:]]Loss/782242b1-af46-4c3d-af10-304eb3c025ab_origin.pdf filter=lfs diff=lfs merge=lfs -text
6329
+ 2023/Cross-Entropy[[:space:]]Loss[[:space:]]Functions_[[:space:]]Theoretical[[:space:]]Analysis[[:space:]]and[[:space:]]Applications/912552e1-1826-4ada-96ae-4c8d62c4b2ef_origin.pdf filter=lfs diff=lfs merge=lfs -text
6330
+ 2023/Cross-Modal[[:space:]]Fine-Tuning_[[:space:]]Align[[:space:]]then[[:space:]]Refine/8a7456a3-c118-4fbd-a8cd-681ad8e45e14_origin.pdf filter=lfs diff=lfs merge=lfs -text
6331
+ 2023/CrossSplit_[[:space:]]Mitigating[[:space:]]Label[[:space:]]Noise[[:space:]]Memorization[[:space:]]through[[:space:]]Data[[:space:]]Splitting/90e8a187-611d-46ef-81a2-a29a1342d58e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6332
+ 2023/Curiosity[[:space:]]in[[:space:]]Hindsight_[[:space:]]Intrinsic[[:space:]]Exploration[[:space:]]in[[:space:]]Stochastic[[:space:]]Environments/90f9841a-d5d6-4378-8a24-384741b6c0c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
6333
+ 2023/Curious[[:space:]]Replay[[:space:]]for[[:space:]]Model-based[[:space:]]Adaptation/953fb9b8-20c7-43b7-ad51-e9e284a783c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
6334
+ 2023/Curriculum[[:space:]]Co-disentangled[[:space:]]Representation[[:space:]]Learning[[:space:]]across[[:space:]]Multiple[[:space:]]Environments[[:space:]]for[[:space:]]Social[[:space:]]Recommendation/364c4aee-d390-4488-8b00-531a2ef157d1_origin.pdf filter=lfs diff=lfs merge=lfs -text
6335
+ 2023/Cut[[:space:]]your[[:space:]]Losses[[:space:]]with[[:space:]]Squentropy/f7adf66f-cd8b-4015-bd41-7a1bcd356fc1_origin.pdf filter=lfs diff=lfs merge=lfs -text
6336
+ 2023/Cyclic[[:space:]]Block[[:space:]]Coordinate[[:space:]]Descent[[:space:]]With[[:space:]]Variance[[:space:]]Reduction[[:space:]]for[[:space:]]Composite[[:space:]]Nonconvex[[:space:]]Optimization/888ec48d-d5c7-494d-9f09-a89f80d35f21_origin.pdf filter=lfs diff=lfs merge=lfs -text
6337
+ 2023/D2Match_[[:space:]]Leveraging[[:space:]]Deep[[:space:]]Learning[[:space:]]and[[:space:]]Degeneracy[[:space:]]for[[:space:]]Subgraph[[:space:]]Matching/a8b4c73f-4132-40ab-9027-e86efcb0398e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6338
+ 2023/DADAO_[[:space:]]Decoupled[[:space:]]Accelerated[[:space:]]Decentralized[[:space:]]Asynchronous[[:space:]]Optimization/c42ad3ed-9864-4fca-979f-69ec7bea40e3_origin.pdf filter=lfs diff=lfs merge=lfs -text
6339
+ 2023/DDGR_[[:space:]]Continual[[:space:]]Learning[[:space:]]with[[:space:]]Deep[[:space:]]Diffusion-based[[:space:]]Generative[[:space:]]Replay/6b93da11-a32b-4b9d-a732-6afd390542b8_origin.pdf filter=lfs diff=lfs merge=lfs -text
6340
+ 2023/DIFF2_[[:space:]]Differential[[:space:]]Private[[:space:]]Optimization[[:space:]]via[[:space:]]Gradient[[:space:]]Differences[[:space:]]for[[:space:]]Nonconvex[[:space:]]Distributed[[:space:]]Learning/9651fd9a-04b0-4db3-8318-4f1760696f01_origin.pdf filter=lfs diff=lfs merge=lfs -text
6341
+ 2023/DIVISION_[[:space:]]Memory[[:space:]]Efficient[[:space:]]Training[[:space:]]via[[:space:]]Dual[[:space:]]Activation[[:space:]]Precision/0ad7485e-ff4c-4b10-b05b-37067c17838a_origin.pdf filter=lfs diff=lfs merge=lfs -text
6342
+ 2023/DP-Fast[[:space:]]MH_[[:space:]]Private,[[:space:]]Fast,[[:space:]]and[[:space:]]Accurate[[:space:]]Metropolis-Hastings[[:space:]]for[[:space:]]Large-Scale[[:space:]]Bayesian[[:space:]]Inference/2a2790eb-9654-43d9-b763-3352d12955a9_origin.pdf filter=lfs diff=lfs merge=lfs -text
6343
+ 2023/DRCFS_[[:space:]]Doubly[[:space:]]Robust[[:space:]]Causal[[:space:]]Feature[[:space:]]Selection/f4252f86-4a7f-4fe2-b564-09650150c561_origin.pdf filter=lfs diff=lfs merge=lfs -text
6344
+ 2023/DRew_[[:space:]]Dynamically[[:space:]]Rewired[[:space:]]Message[[:space:]]Passing[[:space:]]with[[:space:]]Delay/3d430e2a-4b28-4bf8-9e60-8906c70ffde3_origin.pdf filter=lfs diff=lfs merge=lfs -text
6345
+ 2023/DS-1000_[[:space:]]A[[:space:]]Natural[[:space:]]and[[:space:]]Reliable[[:space:]]Benchmark[[:space:]]for[[:space:]]Data[[:space:]]Science[[:space:]]Code[[:space:]]Generation/12eea6b9-0172-4172-961f-fdc603683ea0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6346
+ 2023/DSGD-CECA_[[:space:]]Decentralized[[:space:]]SGD[[:space:]]with[[:space:]]Communication-Optimal[[:space:]]Exact[[:space:]]Consensus[[:space:]]Algorithm/1d115024-9bc6-4ebd-a053-8d42bc414429_origin.pdf filter=lfs diff=lfs merge=lfs -text
6347
+ 2023/DUET_[[:space:]]2D[[:space:]]Structured[[:space:]]and[[:space:]]Approximately[[:space:]]Equivariant[[:space:]]Representations/8c26838b-37cf-4af9-ae4a-5bd0c41bb10e_origin.pdf filter=lfs diff=lfs merge=lfs -text
6348
+ 2023/Data[[:space:]]Efficient[[:space:]]Neural[[:space:]]Scaling[[:space:]]Law[[:space:]]via[[:space:]]Model[[:space:]]Reusing/911090cc-3f24-4e9c-8c89-c8b5e0ae5794_origin.pdf filter=lfs diff=lfs merge=lfs -text
6349
+ 2023/Data[[:space:]]Feedback[[:space:]]Loops_[[:space:]]Model-driven[[:space:]]Amplification[[:space:]]of[[:space:]]Dataset[[:space:]]Biases/89a7331f-b679-41f5-b39c-82851b8602d9_origin.pdf filter=lfs diff=lfs merge=lfs -text
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/56b9421b-4cd9-4cb5-a040-d46af6608554_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55b8c89e59b06f8b78c237273626f52b51b271a5b213db990659d5d97778e0cf
3
+ size 907832
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/full.md ADDED
@@ -0,0 +1,639 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Constrained Efficient Global Optimization of Expensive Black-box Functions
2
+
3
+ Wenjie Xu $^{1,2}$ Yuning Jiang $^{1}$ Bratislav Svetozarevic $^{2}$ Colin N. Jones
4
+
5
+ # Abstract
6
+
7
+ We study the problem of constrained efficient global optimization, where both the objective and constraints are expensive black-box functions that can be learned with Gaussian processes. We propose CONFIG (CONstrained efFicient Global Optimization), a simple and effective algorithm to solve it. Under certain regularity assumptions, we show that our algorithm enjoys the same cumulative regret bound as that in the unconstrained case and similar cumulative constraint violation upper bounds. For commonly used Mátern and Squared Exponential kernels, our bounds are sublinear and allow us to derive a convergence rate to the optimal solution of the original constrained problem. In addition, our method naturally provides a scheme to declare infeasibility when the original black-box optimization problem is infeasible. Numerical experiments on sampled instances from the Gaussian process, artificial numerical problems, and a black-box building controller tuning problem all demonstrate the competitive performance of our algorithm. Compared to the other state-of-the-art methods, our algorithm significantly improves the theoretical guarantees while achieving competitive empirical performance.
8
+
9
+ # 1. Introduction
10
+
11
+ Global optimization of expensive black-box functions is a pervasive problem in science and engineering. In black-box optimization problems, we typically need to evaluate different candidate solutions sequentially to find the optimal one without explicit gradient information. For example, hyperparameter tuning for machine learning models (Bergstra & Bengio, 2012; Snoek et al., 2015), control system performance optimization (Bansal et al., 2017; Xu et al., 2022b) and drug discovery or materials design (Negoescu et al.,
12
+
13
+ $^{1}$ Automatic Control Laboratory, EPFL, Lausanne, Switzerland $^{2}$ Urban Energy Systems Laboratory, Empa, Zurich, Switzerland. Correspondence to: Yuning Jiang <yuning.jiang@ieee.org>.
14
+
15
+ Proceedings of the $40^{th}$ International Conference on Machine Learning, Honolulu, Hawaii, USA. PMLR 202, 2023. Copyright 2023 by the author(s).
16
+
17
+ 2011; Frazier & Wang, 2016) can all be formulated as black-box optimization problems.
18
+
19
+ In these applications, we typically know little about the shape of the black-box functions, which can be non-convex and multi-modal. As a result, a global optimization method is needed. In many applications, e.g., tuning the hyperparameters of a deep neural network, each function evaluation can take a large number of resources such as energy, time, or GPU computation, so we want to use as few function evaluations as possible. Standard global optimization methods, such as genetic algorithms or simulated annealing (Pardalos & Romeijn, 2013), typically require a large number of samples and thus can not be applied to the optimization of expensive black-box functions. Therefore, Gaussian process based efficient global optimization $^{1}$ (Jones et al., 1998; Shahrriari et al., 2015), as a sample-efficient method to solve black-box optimization problems (Xu et al., 2022a), has recently been becoming more and more popular. The general idea of efficient global optimization is to build a surrogate model, typically by Gaussian process regression, of the black box function from samples and then to choose a search direction using this model. This problem, when formulated as a (kernelized) multi-armed bandit problem, is widely studied in the literatures (Audibert et al., 2010; Srinivas et al., 2012; Soare et al., 2014; Chowdhury & Gopalan, 2017a; Amani et al., 2019; Zhou & Ji, 2022).
20
+
21
+ A key challenge in many applications is black-box constraints. For example, when tuning the temperature controller parameters of a building, we need to minimize the energy consumption while keeping the occupants' comfort at user-defined levels, where both the energy and the comfort are black-box functions of the controller parameters. To handle the unknown black-box constraints, a variety of efficient global optimization methods with constraints have been developed. Intuitively, there is a non-trivial tradeoff over optimization, learning and violations. We can roughly classify the existing methods into different groups based on whether constraint violations are allowed during the optimization process. For the setting where no constraint violations are tolerated, a group of safe optimization meth
22
+
23
+ ods has been developed (Sui et al., 2015; Wu et al., 2016; Sui et al., 2018; Turchetta et al., 2020; Moradipari et al., 2020; Amani et al., 2020). However, these safe algorithms require a set of feasible solutions known a priori, while in practice, we may not get access to such feasible solutions or even do not know the feasibility of the problem. Furthermore, due to these hard safety-critical constraints, these algorithms may become stuck at a local minimum. The other extreme is where constraint violations are allowed to occur during the optimization process without penalty, for which there exists generic constrained Bayesian (efficient global) optimization methods (Schonlau, 1997; Sasena et al., 2002; Basudhar et al., 2012; Bagheri et al., 2017; Zhang et al., 2021). Along this line of research, a group of popular methods (Gardner et al., 2014; Gelbart et al., 2014) encodes the constraint information into the acquisition function (e.g., Constrained Expected Improvement). However, there are no theoretical guarantees on optimality, constraint violation incurred during optimization, or convergence rates for this class of methods. A recent work of (Inatsu et al., 2022) considers Bayesian optimization for distributionally robust chance-constrained problems but can not provide cumulative regret/violation bounds.
24
+
25
+ More recently, a third group of approaches has been studied (e.g., (Xu et al., 2022b; Zhou & Ji, 2022)), where constraint violations are allowed, but limits are placed on the total violation incurred during the optimization process. In this setting, two more recent works adopt a penalty-function approach (Lu & Paulson, 2022) and a primal-dual approach (Zhou & Ji, 2022) to solve constrained efficient global optimization problems. The common ideas behind these two approaches are the addition of a penalizing term of the constraint violation in the objective and the transformation of the constrained problem to an unconstrained one. However, both of these methods require choosing values for some critical parameters (e.g., penalty coefficient (Lu & Paulson, 2022) and dual update step size (Zhou & Ji, 2022)). The performance of these methods relies on the chosen parameters heavily, and hence these methods can take significant parameter tuning effort for implementation. Additionally, the cumulative violations considered in (Zhou & Ji, 2022) are the violations of the cumulative constraint values, not the real total violations. Such a form of cumulative violation bounds is weak and can not rule out the case where points with severe violations and small constraint values are alternatingly sampled while keeping a low cumulative constraint value. The work of (Lu & Paulson, 2022) only provides a penalty-based regret bound, which is defined as the regret plus a penalty weight times violations, which does not directly lead to separate bounds on regret and violation since the penalty weight is unknown beforehand. We also notice that a concurrent work (Guo et al., 2022) extends the fixed penalty to an increasing penalty sequence. However, it
26
+
27
+ requires a delicate design of the penalty sequence and may result in numerical issues when the penalty is large. Last but not least, all the existing methods (Sui et al., 2015; Gelbart et al., 2014; Zhou & Ji, 2022; Lu & Paulson, 2022), either require an initial feasible solution to be given or lack the scheme to detect and report infeasibility when the original problem is infeasible. This is key, as, in practice, black-box optimization problems may be infeasible, and a scheme to detect and report infeasibility is desired.
28
+
29
+ Our contributions. We propose CONFIG, a simple and effective algorithm for the constrained efficient global optimization of expensive black-box functions by exploiting the principle of optimism in the face of uncertainty. Specifically,
30
+
31
+ 1. CONFIG dynamically maintains an optimistic estimate of the feasible set as demonstrated in Fig. 1 and solves an auxiliary problem with lower confidence bound (LCB) surrogates as both objective and constraints to get the next sample in each step. Intuitively, CONFIG trades potential violations for faster learning of both the objective function and the constraints.
32
+ 2. Under certain regularity assumptions, we show that the algorithm enjoys the same cumulative regret bound as that in the unconstrained case. In addition, we show that the cumulative constraint violation has an upper bound in terms of maximum information gain, which is similar to the cumulative regret bounds. For the commonly used Matern and Squared Exponential kernels, our bounds are sublinear and allow us to derive a convergence rate to the optimal solution of the original constrained problem.
33
+ 3. Furthermore, our method naturally provides a scheme to declare infeasibility when the original black-box optimization problem is infeasible.
34
+ 4. Numerical results show that our algorithm achieves performance competitive with the state-of-the-art algorithms in terms of both optimality and constraint violations.
35
+
36
+ In sharp contrast, existing algorithms for constrained Bayesian optimization, including the popular CEI method (Gardner et al., 2014) and the recently introduced primal-dual method (Zhou & Ji, 2022; Xu et al., 2023), can only provide no or weak guarantees on the cumulative regret/violation bounds or on the convergence to the optimal solution (See Tab. 1 for details). Additionally, none of the existing methods can detect infeasibility if the original problem is infeasible. As such, our algorithm significantly improves the theoretical guarantees while achieving competitive empirical performance compared to the existing state-of-the-art constrained global/Bayesian optimization methods.
37
+
38
+ ![](images/5b7438597248e50b07fb9e3cef7a4cdcae49b8f31793dcf9391e55ab24f69fa1.jpg)
39
+ Figure 1. A simple demonstration of different ways to construct the estimate of the feasible set, where we minimize an unknown function subject to that it is non-positive. The pessimistic estimate can guarantee feasibility with high probability. However, it is tiny and can easily be empty if the initial points are infeasible. With the certainty-equivalent estimate, the algorithm may easily get stuck due to a lack of exploration. In contrast, our optimistic estimate of the feasible set contains the ground-truth feasible set with high probability.
40
+
41
+ Table 1. The comparison of our method to existing state-of-the-art constrained efficient global optimization (or kernelized multi-armed bandits with constraints) methods.
42
+
43
+ <table><tr><td>Works</td><td>Cumulative Regret Bound</td><td>Cumulative Violation Bound</td><td>Optimality Guarantee</td><td>Infeasibility Declaration</td></tr><tr><td>SafeOPT (Sui et al., 2015), etc.</td><td>X</td><td>No violation</td><td>Local convergence</td><td>X</td></tr><tr><td>Constrained EI (Gardner et al., 2014), etc.</td><td>X</td><td>X</td><td>X</td><td>X</td></tr><tr><td>Primal-Dual (Zhou &amp; Ji, 2022), etc.</td><td>✓</td><td>weak-form</td><td>X</td><td>X</td></tr><tr><td>Penalty function method (Lu &amp; Paulson, 2022), etc.</td><td colspan="2">Penalty-based Regret Bound</td><td>Global convergence with penalty-dependent rate</td><td>X</td></tr><tr><td>CONFIG (This paper)</td><td>✓</td><td>✓</td><td>Global convergence</td><td>✓</td></tr></table>
44
+
45
+ # 2. Notation and Preliminaries
46
+
47
+ This section introduces the class of constrained global optimization problems studied in this paper and recaps existing results from the field of efficient global optimization.
48
+
49
+ # 2.1. Problem Statement
50
+
51
+ We consider the following black-box optimization problem,
52
+
53
+ $$
54
+ \begin{array}{c c c} \min _ {x \in \mathcal {X}} & f (x) , \\ \text {s u b j e c t t o} & g _ {i} (x) \leq 0 , \quad \forall i \in [ N ], \end{array} \tag {1a}
55
+ $$
56
+
57
+ where $\mathcal{X} \subset \mathbb{R}^d$ is a known set of candidate solutions (e.g., a hyperbox) with dimension $d$ and $[N] := \{1, 2, \dots, N\} \subset \mathbb{Z}$ denotes the set of integers from 1 to $N$ . Both $f$ and $g_i, i \in [N]$ are unknown black-box functions.
58
+
59
+ Remark 1. In Prob. 1, we only consider inequality constraints because an equality constraint $g(x) = 0$ can be equivalently transformed into two inequality constraints $g(x) \leq 0, -g(x) \leq 0$ .
60
+
61
+ To proceed, we make the following commonly used assumptions in the field of efficient global optimization.
62
+
63
+ Assumption 2.1. Set $\mathcal{X}$ is compact.
64
+
65
+ Assumption 2.1 is naturally satisfied in a large set of applications. For example, when tuning the hyperparameters of a machine learning model, we can restrict the parameters to lie inside a hyperbox based on prior knowledge.
66
+
67
+ Assumption 2.2. $f \in \mathcal{H}_{k_0}$ , $g_i \in \mathcal{H}_{k_i}$ , $i \in [N]$ , where $k_i: \mathbb{R}^d \times \mathbb{R}^d \to \mathbb{R}, i \in \{0\} \cup [N]$ are symmetric, positive-semidefinite kernel functions and $\mathcal{H}_{k_i}$ are their corresponding reproducing kernel Hilbert spaces (RKHSs, see (Scholkopf et al., 2001)). Furthermore, we assume $\| f \|_{k_0} \leq B_0$ and $\| g_i \|_{k_i} \leq B_i$ , $i \in [N]$ , where $\| \cdot \|_{k_i}$ is the norm induced by the inner product in the corresponding reproducing kernel Hilbert space.
68
+
69
+ Assumption 2.2 requires that the underlying functions are regular in the sense of having a bounded norm in an RKHS. In existing literature of efficient global optimization (also known as Bayesian optimization or Gaussian process optimization), having a bounded norm in an RKHS is a common assumption (e.g., (Srinivas et al., 2012; Zhou & Ji, 2022)).
70
+
71
+ Assumption 2.3. Prob. (1) is feasible and has an optimal solution $x^{*}$ with the optimal value $f^{*} = f(x^{*})$ .
72
+
73
+ With Assumption 2.3, we focus on the case that the original black-box optimization problem is feasible. We will separately discuss how our algorithm can handle infeasible
74
+
75
+ problem instances later in Sec. 5.
76
+
77
+ We consider a zero-order feedback setting, where the algorithm can sequentially query noisy evaluations of different candidate solutions to learn the optimal feasible solution. At step $t$ , with query point $x_{t}$ , we get noisy evaluations,
78
+
79
+ $$
80
+ y _ {0, t} = f \left(x _ {t}\right) + \xi_ {0, t}, \tag {2a}
81
+ $$
82
+
83
+ $$
84
+ y _ {i, t} = g _ {i} \left(x _ {t}\right) + \xi_ {i, t}, \quad i \in [ N ], \tag {2b}
85
+ $$
86
+
87
+ where $\xi_{i,t}, i \in \{0\} \cup [N], t \geq 1$ are i.i.d $\sigma$ -sub-Gaussian noise with fixed $\sigma > 0$ . We also use $X_{t} \coloneqq (x_{1}, x_{2}, \dots, x_{t})$ to denote the sequence of sampled points up to step $t$ .
88
+
89
+ # 2.2. Gaussian Process Surrogates
90
+
91
+ To design our algorithm, we use a Gaussian process surrogate model to learn the unknown functions. As in (Chowdhury & Gopalan, 2017a), we artificially introduce a Gaussian process $\mathcal{GP}(0,k(\cdot ,\cdot))$ for the surrogate modeling of the unknown black-box function $f$ . We also adopt an i.i.d Gaussian zero-mean noise model with noise variance $\lambda >0$ .
92
+
93
+ Remark 2. Note that this Gaussian process model is only used to derive posterior mean functions, covariance functions, and maximum information gain for the purpose of algorithm design. We introduce the artificial Gaussian process only to make the algorithm more interpretable. It does not change our set-up that $f$ is a deterministic function and that the noise is only assumed to be sub-Gaussian. Indeed, we are considering the agnostic setting introduced in (Srinivas et al., 2012).
94
+
95
+ We introduce the following functions for $x, x'$ ,
96
+
97
+ $$
98
+ \begin{array}{l} \mu_ {0, t} (x) = k _ {0} \left(x _ {1: t}, x\right) ^ {\top} \left(K _ {0, t} + \lambda I\right) ^ {- 1} y _ {0, 1: t}, (3a) \\ k _ {0, t} \left(x, x ^ {\prime}\right) = k _ {0} \left(x, x ^ {\prime}\right) (3b) \\ - k _ {0} \left(x _ {1: t}, x\right) ^ {\top} \left(K _ {0, t} + \lambda I\right) ^ {- 1} k _ {0} \left(x _ {1: t}, x ^ {\prime}\right), \\ \sigma_ {0, t} ^ {2} (x) = k _ {0, t} (x, x), (3c) \\ \end{array}
99
+ $$
100
+
101
+ where $k_{0}(x_{1:t},x) = [k_{0}(x_{1},x),k_{0}(x_{2},x),\dots ,k_{0}(x_{t},x)]^{\top}$ $K_{0,t} = (k_0(x,x'))_{x,x'\in X_t}$ and $y_{0,1:t} =$ $[y_{0,1},y_{0,2},\dots ,y_{0,t}]^{\top}$ Similarly, we can derive $\mu_{i,t}(\cdot),k_{i,t}(\cdot ,\cdot),\sigma_{i,t}(\cdot),\forall i\in [N]$ for the constraints. We also introduce the maximum information gain for the objective $f$ as in (Srinivas et al., 2012),
102
+
103
+ $$
104
+ \gamma_ {0, t} := \max _ {X \subset \mathcal {X}; | X | = t} \frac {1}{2} \log \left| I + \lambda^ {- 1} K _ {0, X} \right|, \tag {4}
105
+ $$
106
+
107
+ where $K_{0,X} = (k_0(x,x'))_{x,x'\in X}$ . Similarly, we can introduce the maximum information gain $\gamma_{i,t},\forall i\in [N]$ for the constraints.
108
+
109
+ Lemma 2.4 (Theorem 2, (Chowdhury & Gopalan, 2017a)). Let Assumptions 2.1 and 2.2 hold. For any $\delta \in (0,1)$ , with
110
+
111
+ probability at least $1 - \delta /(N + 1)$ , the following holds for all $x\in \mathcal{X}$ and $1\leq t\leq T$ $T\in \mathbb{N}$
112
+
113
+ $$
114
+ \begin{array}{l} \left| \mu_ {0, t - 1} (x) - f (x) \right| \tag {5} \\ \leq \left(B _ {0} + \sigma \sqrt {2 \left(\gamma_ {0 , t - 1} + 1 + \ln ((N + 1) / \delta)\right)}\right) \sigma_ {0, t - 1} (x), \\ \end{array}
115
+ $$
116
+
117
+ where $\mu_{0,t - 1}(x),\sigma_{0,t - 1}^2 (x)$ and $\gamma_{0,t - 1}$ are as given in Eq. (3) and Eq. (4), and $\lambda$ set to be $1 + \frac{2}{T}$ . ( $\mu_{0,0}$ and $\sigma_{0,0}$ are the prior mean and standard deviation, and $\gamma_{0,0} = 0$ .)
118
+
119
+ We remark that we replace the $\delta$ in Theorem 2 of (Chowdhury & Gopalan, 2017a) by $\frac{\delta}{N + 1}$ , which will be useful to derive the confidence interval with $1 - \delta$ probability in Corollary 2.6. We can derive similar confidence intervals for the constraint functions. To facilitate the following algorithm design and discussion, we introduce the lower confidence and upper confidence bound functions,
120
+
121
+ Definition 2.5. For $i\in \{0\} \cup [N]$ $x\in \mathcal{X}$ and $t\in [T]$
122
+
123
+ $$
124
+ l _ {i, t} (x) := \mu_ {i, t - 1} (x) - \beta_ {i, t} \sigma_ {i, t - 1} (x), \tag {6a}
125
+ $$
126
+
127
+ $$
128
+ u _ {i, t} (x) := \mu_ {i, t - 1} (x) + \beta_ {i, t} \sigma_ {i, t - 1} (x), \tag {6b}
129
+ $$
130
+
131
+ where $\beta_{i,t} = B_i + \sigma \sqrt{2(\gamma_{i,t - 1} + 1 + \ln((N + 1) / \delta))}$ .
132
+
133
+ We then have the following corollary,
134
+
135
+ Corollary 2.6. Let Assumptions 2.1 and 2.2 hold. With probability at least $1 - \delta$ , the following holds for all $x \in \mathcal{X}$ and $1 \leq t \leq T$ ,
136
+
137
+ $$
138
+ g _ {i} (x) \in \left[ l _ {i, t} (x), u _ {i, t} (x) \right], \quad \forall i \in [ N ] \tag {7}
139
+ $$
140
+
141
+ $$
142
+ a n d \quad f (x) \in [ l _ {0, t} (x), u _ {0, t} (x) ]. \tag {8}
143
+ $$
144
+
145
+ # 2.3. Performance Metric
146
+
147
+ Before we design our algorithm, we introduce the performance metric. We are interested in minimizing the gap of $f(x_{t})$ to the optimal value $f^{*} = \min_{x\in \mathcal{X},g_{i}(x)\leq 0,\forall i\in [N]}f(x)$ , i.e., the instantaneous regret. Instantaneous regret at step $t$ is defined as,
148
+
149
+ $$
150
+ r _ {t} = f \left(x _ {t}\right) - f ^ {*}, \tag {9}
151
+ $$
152
+
153
+ where $x_{t}$ is the point queried by our algorithm in step $t$ . Since $f^{*}$ is the constrained optimal value, we may sample some infeasible points with even smaller objective values than $f^{*}$ , we further define the positive regret as,
154
+
155
+ $$
156
+ r _ {t} ^ {+} = \left[ f \left(x _ {t}\right) - f ^ {*} \right] ^ {+}, \tag {10}
157
+ $$
158
+
159
+ where $[\cdot ]^{+}\coloneqq \max \{0,\cdot \}$ . We are also interested in the constraint violation, defined as,
160
+
161
+ $$
162
+ v _ {i, t} = \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+}. \tag {11}
163
+ $$
164
+
165
+ We then introduce cumulative regret that measures the extra cost incurred during the running of the algorithm, as in existing kernelized multi-armed bandit literature (e.g., (Srinivas et al., 2012; Chowdhury & Gopalan, 2017a)).
166
+
167
+ Definition 2.7 (Cumulative-Regret). We define the cumulative-regret as
168
+
169
+ $$
170
+ R _ {T} = \sum_ {t = 1} ^ {T} \left(f \left(x _ {t}\right) - f ^ {*}\right). \tag {12}
171
+ $$
172
+
173
+ To facilitate the following discussion, we further define the cumulative positive regret,
174
+
175
+ $$
176
+ R _ {T} ^ {+} = \sum_ {t = 1} ^ {T} [ f (x _ {t}) - f ^ {*} ] ^ {+}. \tag {13}
177
+ $$
178
+
179
+ We further define the cumulative violation.
180
+
181
+ Definition 2.8 (Cumulative-Violation). We define the cumulative-violation as
182
+
183
+ $$
184
+ \mathcal {V} _ {i, T} = \sum_ {t = 1} ^ {T} \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+}, \forall i \in [ N ]. \tag {14}
185
+ $$
186
+
187
+ Cumulative regret/violations measure the performance during the running of the algorithm. Besides them, we are also interested in the convergence speed to the constrained global optimum. Intuitively, small average regret/violations indicate the existence of a sample with small regret/violation.
188
+
189
+ # 3. Algorithm
190
+
191
+ We propose the lower confidence bound based CONstrained efFicient Global (CONFIG) optimization algorithm to solve our problem as shown in Alg. 1<sup>2</sup>. Our algorithm
192
+
193
+ Algorithm 1 Lower confidence bounds based CONstrained efFcient Global (CONFIG) optimization algorithm.
194
+
195
+ 1: for $t\in [T]$ do
196
+ 2: if $\exists i\in [N]$ , such that $\min_{x\in \mathcal{X}}l_{i,t}(x) > 0$ then
197
+ 3: Declare infeasibility.
198
+ 4: end if
199
+ 5: Find $x_{t} \in \arg \min_{x \in \mathcal{X}} l_{0,t}(x)$
200
+
201
+ subject to $l_{i,t}(x)\leq 0,\forall i\in [N]$
202
+
203
+ 6: Make noisy evaluations of $f$ and $g_{i}$ , $i \in [N]$ at $x_{t}$ .
204
+ 7: Update Gaussian process posterior mean and covariance with the new evaluations added.
205
+
206
+ 8: end for
207
+
208
+ is conceptually simple based on the optimism in the face of uncertainty and only requires one to solve an auxiliary problem with the black-box objective and constraints replaced by their lower confidence bound surrogates as shown in line 1 of Alg. 1. Since we consider problems with expensive-to-evaluate functions, the cost of solving the auxiliary problem,
209
+
210
+ which may itself be non-convex, is much smaller compared to solving the original black-box optimization problem when the dimension of the input space is small to medium size. To solve the auxiliary problem, we can use a pure grid search method when the dimension is small (e.g., $\leq 5$ ). For larger dimensions, one can, for example, start from multiple different points and apply gradient-based methods.
211
+
212
+ Note that in line 1 of Alg. 1, we may declare infeasibility if the auxiliary problem in line 1 is infeasible. When the original problem (1) is feasible, in some very rare cases, we may find the auxiliary problem infeasible due to the potentially unbounded noise. Fortunately, we will show that with guaranteed high probability, line 1 of Alg. 1 is never declared when the original problem is feasible and Assumptions 2.1 and 2.2 hold.
213
+
214
+ # 4. Analysis
215
+
216
+ We now analyze the performance of Alg. 1. All the proofs to the results are put in the appendix. We first introduce a lemma to bound the instantaneous regret and violation,
217
+
218
+ Lemma 4.1. Let Assumptions 2.1, 2.2, and 2.3 hold. With probability at least $1 - \delta$ , we have first that infeasibility is never declared in line 1 of the Alg. 1, and for all $1 \leq t \leq T$
219
+
220
+ $$
221
+ r _ {t} \leq r _ {t} ^ {+} \leq 2 \beta_ {0, t} \sigma_ {0, t - 1} \left(x _ {t}\right), \tag {15}
222
+ $$
223
+
224
+ $$
225
+ v _ {i, t} \leq 2 \beta_ {i, t} \sigma_ {i, t - 1} \left(x _ {t}\right), \quad i \in [ N ]. \tag {16}
226
+ $$
227
+
228
+ We can also bound the cumulative sum of the posterior standard deviation,
229
+
230
+ Lemma 4.2 (Lemma 4, (Chowdhury & Gopalan, 2017b)). If $x_{1}, x_{2}, \dots, x_{T}$ are the points selected by Alg. 1, then,
231
+
232
+ $$
233
+ \sum_ {t = 1} ^ {T} \sigma_ {i, t - 1} \left(x _ {t}\right) \leq \sqrt {4 (T + 2) \gamma_ {i , T}}. \tag {17}
234
+ $$
235
+
236
+ The bound in Eq. (17) is in terms of maximum information gain. To derive a kernel-specific bound, we need to estimate the maximum information gain. A set of upper bounds for the maximum information gains were given by (Srinivas et al., 2012; Vakili et al., 2021), which we restate in the maximum information gain column of Tab. 2. We can now state our main theorem,
237
+
238
+ Theorem 4.3. Under Assumptions 2.1, 2.2 and 2.3, we have, with probability at least $1 - \delta$ , the sample points of Algorithm 1 satisfy,
239
+
240
+ $$
241
+ R _ {T} \leq R _ {T} ^ {+} \leq 4 \beta_ {0, T} \sqrt {(T + 2) \gamma_ {0 , T}} = \mathcal {O} (\gamma_ {0, T} \sqrt {T}), \tag {18a}
242
+ $$
243
+
244
+ $$
245
+ \mathcal {V} _ {i, T} \leq 4 \beta_ {i, T} \sqrt {(T + 2) \gamma_ {i , T}} = \mathcal {O} \left(\gamma_ {i, T} \sqrt {T}\right), \quad \forall i \in [ N ]. \tag {18b}
246
+ $$
247
+
248
+ Table 2. Kernel-specific cumulative regret/violation bounds and the convergence rate to the optimal solution. See Appendix A for the specific kernel functions. The column of maximum information gain shows the results of (Srinivas et al., 2012; Vakili et al., 2021). In the table, $d$ represents the dimension of the input space, and $\nu$ represents the smoothness parameter of the Matern kernel.
249
+
250
+ <table><tr><td>Kernel</td><td>Maximum Information Gain</td><td>Cumulative Regret/Violation</td><td>Convergence Rate</td></tr><tr><td>Linear</td><td>O(d log T)</td><td>O(d log T√T)</td><td>O((N+1)d log T/√T)</td></tr><tr><td>Squared Exponential</td><td>O((log T)d+1)</td><td>O((log T)d+1√T)</td><td>O((N+1)(log T)d+1/√T)</td></tr><tr><td>Mátern (ν&gt; d/2)</td><td>O(Td/2ν+d log 2ν/2ν+d(T))</td><td>O(T2ν+3d/4ν+2d log 2ν/2ν+d(T))</td><td>O((N+1)T-2ν-d/4ν+2d log 2ν/2ν+d(T))</td></tr></table>
251
+
252
+ Interestingly, the regret bound in Thm. 4.3 is exactly the same as the regret bound in the unconstrained case shown in (Chowdhury & Gopalan, 2017b). Furthermore, the constraint violation bound is similar to the regret bound. Based on Thm. 4.3, we can derive a convergence rate to the optimal feasible solution.
253
+
254
+ Theorem 4.4. Under Assumptions 2.1, 2.2 and 2.3, we have, with probability at least $1 - \delta$ , that there exists $\tilde{x}_T \in \{x_1, x_2, \dots, x_T\}$ , such that, $\forall j \in [N]$
255
+
256
+ $$
257
+ \begin{array}{l} f \left(\tilde {x} _ {T}\right) - f ^ {*} \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T} = \mathcal {O} \left(\frac {\sum_ {i = 0} ^ {N} \gamma_ {i , T}}{\sqrt {T}}\right), (19a) \\ \left[ g _ {j} \left(\tilde {x} _ {T}\right) \right] ^ {+} \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T} = \mathcal {O} \left(\frac {\sum_ {i = 0} ^ {N} \gamma_ {i , T}}{\sqrt {T}}\right). (19b) \\ \end{array}
258
+ $$
259
+
260
+ Thm. 4.4 gives the convergence rate to the constrained optimal value in terms of maximum information gain for general kernels. We can now apply Thm. 4.3 and Thm. 4.4 to derive kernel-specific results. Specifically, if $k_{i}, i \in \{0\} \cup [N]$ share the same kernel types, we can list the kernel-specific bounds and the convergence rates in Tab. 2.
261
+
262
+ # 5. Infeasibility Declaration
263
+
264
+ Thm. 4.3 and Thm. 4.4 are derived under the assumption that the problem is feasible. However, the underlying problem may indeed sometimes be infeasible and therefore, we need an infeasibility detection scheme. In the following, we show that if the original problem is infeasible, we are able to declare infeasibility in line 1 of Alg. 1 and detect the original problem's infeasibility with high probability.
265
+
266
+ For infeasibility declaration, we try to avoid 'false positives', where a feasible problem is declared as infeasible, and 'false negatives', where an infeasible problem is not declared to be infeasible. Lem. 4.1 already shows that if the original black-box optimization problem is feasible, then with high probability infeasibility is not declared. The following theorem complements Lem. 4.1 by showing that if the original problem is infeasible, our algorithm is guaranteed to declare infeasibility within finite steps with high probability.
267
+
268
+ Theorem 5.1. Let Assumptions 2.1 and 2.2 hold. Assume that Prob. (1) is infeasible, that is, there exists $i \in [N]$ , such that
269
+
270
+ $$
271
+ \min _ {x \in \mathcal {X}} g _ {i} (x) = \epsilon > 0,
272
+ $$
273
+
274
+ and $\lim_{T\to \infty}\frac{\gamma_{i,T}}{\sqrt{T}} = 0$ . Given a desired confidence level $\delta \in (0,1)$ , Alg. 1 will declare infeasibility on line 1 within a number of steps equal to
275
+
276
+ $$
277
+ \bar {T} = \min _ {T \in \mathbb {N} _ {+}} \left\{T \left| \frac {\gamma_ {i , T}}{\sqrt {T}} \leq C \epsilon \right. \right\}, \tag {20}
278
+ $$
279
+
280
+ with probability at least $1 - \delta$ , where $C$ is a constant independent of $T$ .
281
+
282
+ Remark 3. The proposed algorithm design and analysis in this paper focuses on the case where $T$ is given. In cases where $T$ is not given or not large enough to declare infeasibility, we can apply the 'doubling trick' (Besson & Kaufmann, 2018). The basic idea is that we can start running a round of steps with $T = 1$ and double $T$ after each round. As $T$ grows larger and larger, it will finally be larger than $\overline{T}$ and enough for infeasibility declaration.
283
+
284
+ Remark 4. Note that in Thm. 5.1, we assume that $\lim_{T\to \infty}\frac{\gamma_i,T}{\sqrt{T}} = 0$ . From Tab. 2, we can see that for linear and squared exponential kernels, it is satisfied and for Mátern kernel, we require that $\nu >\frac{d}{2}$ .
285
+
286
+ # 6. Experiments
287
+
288
+ To demonstrate the effectiveness of CONFIG, we run experiments over sampled instances from the Gaussian process, artificial numerical instances, and a room temperature controller tuning problem. We compare our method to the state-of-the-art Gaussian process optimization baseline methods with constraints consideration. The baselines include SafeOPT (Sui et al., 2015), CEI (Constrained Expected Improvement) based method (Gelbart et al., 2014; Gardner et al., 2014), primal-dual algorithm (Zhou & Ji, 2022) and EPBO (exact penalty Bayesian optimization) (Lu & Paulson, 2022). The experiments are implemented in python, based on the package GPy (GPy, since 2012).
289
+
290
+ Choice of Parameters. Definition 2.5 gives a rigorous method for selecting the coefficient $\beta_{i,t}$ . Since $B_{i}$ and $\sigma$
291
+
292
+ may be hard to obtain in practice, $\beta_{i,t}$ can usually be set as a constant. The choice of $\beta_{i,t}$ is a key factor that impacts the performance of different algorithms. Empirically, if $\beta_{i,t}$ is set too small, exploration may be insufficient and we may miss the global optimal solution. If $\beta_{i,t}$ is set too large, the algorithm overly explores, converges more slowly, and may suffer from high cumulative regret/violation before converging to the optimal solution. In our experiments shown in this section, manually setting $\beta_{i,t} = 3$ works well. We also set $\lambda = 0.05^2$ as the noise variance for the Gaussian process modelling. We use the common squared exponential kernel functions. For Sec. 6.2 and Sec. 6.3, we randomly sample a few points and maximize the likelihood function to get the hyperparameters of the kernel.
293
+
294
+ Computational Time. In our experiments, all the problems have low-dimensional input $(\leq 3)$ . So we use pure grid search to solve the auxiliary problem for different algorithms and therefore, the computational time is almost the same for different algorithms. With the explicit expression of the lower confidence bounds, the computation cost of solving the auxiliary problems is much cheaper than evaluating the expensive functions, e.g., energy consumption and discomfort of a simulated building in Sec. 6.3.
295
+
296
+ # 6.1. Numerical Results over Sampled Instances from Gaussian Process
297
+
298
+ In this section, we consider the constrained problem with both the objective and the constraint sampled from a Gaussian process. We use the squared exponential kernel as shown in (21).
299
+
300
+ $$
301
+ k (x, y) = \sigma_ {\mathrm {S E}} ^ {2} \exp \left\{- \frac {\| x - y \| ^ {2}}{l ^ {2}} \right\}, \tag {21}
302
+ $$
303
+
304
+ where $\sigma_{\mathrm{SE}}^2 = 2.0$ and $l = 1.0$ . We remove those instances with empty feasible sets. We sampled 48 instances in total.
305
+
306
+ As shown in Fig. 2, we observe that SafeOPT has almost linear cumulative regret, although achieving close-to-zero violation. This is due to the possibility of getting stuck in a local minimum for SafeOPT. In contrast, the primal-dual method can achieve competitive performance with the state-of-the-art constrained expected improvement (CEI) method in terms of cumulative regret but suffers from almost linear cumulative violation. The EPBO method may also suffer from almost linear cumulative violation if the penalty term is not set large enough. The proposed CONFIG algorithm can achieve performance competitive with the state-of-the-art constrained expected improvement method in terms of both cumulative regret and cumulative violation.
307
+
308
+ We further show the evolution of the best-observed suboptimality plus violation up to the current step $t$ in Fig. 3, which measures the empirical convergence speed to the op
309
+
310
+ ![](images/3c43ceed514f767eb59c4929ef5031a17a803835f78b1f2358abbbd8031a3d17.jpg)
311
+
312
+ ![](images/ce08a70344498ffb48453e6dfe98caa5390a217707f963c5da08f7662ffa3022.jpg)
313
+
314
+ ![](images/982ec5c9fa7ca42c3f0df3d9b4d94b6a0add8b4e40cbdfac1aeb98b19934e950.jpg)
315
+ Figure 2. Cumulative regret and violation of different algorithms. The shaded area represents $\pm 0.1$ standard deviation and EPBO- $\rho$ represents EPBO with penalty $\rho$ .
316
+
317
+ ![](images/3a9694ecb2e50cb91ead4e5292ccc7defc80d2fb3619578a72b2b8ca47fdb88a.jpg)
318
+ Figure 3. The best suboptimality plus violation up to step $t$ , that is $\min_{\tau \in [t]}[f(x_{\tau}) - f^{*}]^{+} + [g(x_{\tau})]^{+}$ , of different algorithms. The shaded area represents $\pm 0.1$ standard deviation. Here, EPBO- $\rho$ represents the EPBO algorithm with penalty term $\rho$ . The SafeOPT has a higher initial value due to the restriction of starting from a feasible solution.
319
+
320
+ ![](images/7a3e92fcb8aa85ff354996109060a740dd5a9f97df5653edee0dce1b0f64a5e7.jpg)
321
+
322
+ ![](images/3b57105d65cdcfb2629a7bef7490c90bd9551f66cdab8c2a5fdffc55b7a69e7e.jpg)
323
+
324
+ ![](images/86b735c0116882c0346c6d36c6e76eb4e1e906c7efd8a9b3b036c70458d9c2e8.jpg)
325
+
326
+ ![](images/0dac94d686cc520f05139a20abfe146d293f9bca73c66ffa18f0f7c3da829a2a.jpg)
327
+
328
+ Figure 4. Convergence of constrained regret for the collections of problems in Tab. 3.
329
+ ![](images/0a69c5a4f4c78ed4f7bcc51d15f3f05010f7444ee2ff61eb8a4f8ef903043ba0.jpg)
330
+ CEI SafeOPT Primal-Dual EPBO 0.2 EPBO 3.0 CONFIG
331
+
332
+ ![](images/f6ddc48ef67613302d801c9d4107cce8935b0248307d637e8f9faf8942abbdc3.jpg)
333
+
334
+ ![](images/ace36c2b459b5d86d18d96ac349ba126d2fb1fef3899dfccf055cbfbb55e821b.jpg)
335
+
336
+ timal feasible solution. We notice that our algorithm again achieves empirical convergence speed competitive with the state-of-the-art CEI method.
337
+
338
+ We then test our algorithms on a set of infeasible instances, where we shift the sampled constraint function $g(x)$ by $\epsilon - \min_{x \in \mathcal{X}} g(x)$ with $\epsilon = 0.1$ . Over 50 such infeasible instances, our algorithm consistently declares infeasibility, within 16.3 steps on average.
339
+
340
+ # 6.2. Artificial Numerical Instances
341
+
342
+ In this section, we present the results of a set of global optimization test problems. We consider the global optimization problem in two-dimensional space with $\mathcal{X} = [-10, 10]^2$ . We then introduce a set of potentially non-convex and multimodal functions as in Tab. 4 in the Appendix G. Using these functions as the objective or constraint, we construct a set of global optimization benchmark problems as shown in Tab. 3 (Similar problems in (Vinod et al., 2022)). We use the common squared exponential kernel for all the experiments.
343
+
344
+ We use constrained regret defined as
345
+
346
+ $$
347
+ \min _ {\tau \in [ t ]} [ f (x _ {\tau}) - f ^ {*} ] ^ {+} + [ g (x _ {\tau}) ] ^ {+}, \tag {22}
348
+ $$
349
+
350
+ to measure the quality of the solution found by different algorithms up to step $t$ . It can be seen that the smaller the constrained regret is, the closer to the constrained optimum our solution is in terms of optimality and violations.
351
+
352
+ Fig. 4 demonstrates the convergence of constrained regret
353
+
354
+ Table 3. Artificial numerical problems constructed using the functions from Tab. 4, where $\mathbf{Qr}_{\mathcal{X}}(h) := \frac{3}{4}\min_{x\in \mathcal{X}}h(x) + \frac{1}{4}\max_{x\in \mathcal{X}}h(x)$ .
355
+
356
+ <table><tr><td>Problem</td><td>Objective f</td><td>Constraint g</td></tr><tr><td>P1</td><td>Br</td><td>SinQ - QrX (SinQ)</td></tr><tr><td>P2</td><td>MBr</td><td>SinQ - QrX (SinQ)</td></tr><tr><td>P3</td><td>Br</td><td>InvBowl - QrX (InvBowl)</td></tr><tr><td>P4</td><td>MBr</td><td>InvBowl - QrX (InvBowl)</td></tr><tr><td>P5</td><td>Br</td><td>Bowl - QrX (Bowl)</td></tr><tr><td>P6</td><td>MBr</td><td>Bowl - QrX (Bowl)</td></tr></table>
357
+
358
+ for different algorithms. The results show that the CONFIG algorithm consistently achieves a superior or comparable speed of finding the constrained optimal solution, as compared to the other state-of-the-art baselines. We can also notice that in Problem 3 and Problem 4, SafeOPT outperforms both CEI and our method. Intuitively, it happens when the constrained global optimum lies in the same local feasible set as the initial points. In such a case, our method may spend lots of samples exploring globally, while SafeOPT identifies the local (and global) optimal solution quickly by restricting to the local feasible set.
359
+
360
+ # 6.3. Tuning the P Controller of a Building
361
+
362
+ In this section, we consider a building temperature controller tuning problem. We use Energym (Scharnhorst et al., 2021) with a lower level Modelica (Fritzson & Engelson, 1998)
363
+
364
+ model with a single thermal zone as our simulator. We consider a P controller controlling the temperature. The mathematical expression of the P controller is given as
365
+
366
+ $$
367
+ u = K _ {p} (\text {s e t - p o i n t - t e m p e r a t u r e}),
368
+ $$
369
+
370
+ where $K_{p}$ is the proportional gain and $u$ is the heating control. We use $\theta$ to denote the tuning parameters, which include the proportional gain, daytime set-point for temperature, and the switching time from nighttime set-point to daytime set-point. Here, the nighttime set-point is fixed. Our objective is to minimize energy consumption while keeping the average temperature deviation below a given threshold. Our problem is formulated as in Eq. (23).
371
+
372
+ $$
373
+ \min _ {\theta \in \Theta} J (\theta) \quad \text {s u b j e c t} \quad g (\theta) - g _ {\mathrm {t h r}} \leq 0, \tag {23}
374
+ $$
375
+
376
+ where $J(\theta)$ represents energy consumption in this example, $g(\theta)$ represents average temperature deviation and $g_{\mathrm{thr}}$ is a given average temperature deviation threshold. In each step, our algorithm selects a set of promising controller parameters. We use this set of parameters to run a closed-loop building simulation over a period of 1 day.
377
+
378
+ Based on the closed-loop trajectory, we calculate the key performance indicators, that is, energy consumption and average temperature deviation. We then update the Gaussian process regression with the new data added. Since energy consumption and temperature deviations are in two different scales, we use normalized energy consumption $\frac{J}{\sigma_J}$ plus normalized average temperature deviation $\frac{[g - g_{\mathrm{thr}}]^+}{\sigma_g}$ to measure the quality of the solution, where $\sigma_J, \sigma_g$ are standard deviations in a set of randomly sampled data.
379
+
380
+ Fig. 5 gives the best-normalized energy consumption plus average temperature deviation up to the current step. We observe that within 15 steps, our algorithm identifies the solution with minimized normalized energy consumption plus normalized average temperature deviation, verifying the competitiveness of our algorithm with the currently popular constrained expected improvement method again. In contrast, the SafeOPT method can be overly cautious and fails to find a solution with performance comparable to ours.
381
+
382
+ # 7. Conclusion
383
+
384
+ In this paper, we have presented CONFIG, a simple and effective algorithm, for constrained efficient global optimization of expensive black-box functions by exploiting the principle of optimism in the face of uncertainty. Specifically, our algorithm solves an auxiliary constrained optimization problem with the lower confidence bound (LCB) surrogates as objective and constraints to get the next sample. Theoretically, we show that our algorithm enjoys the same cumulative regret bound as that in the unconstrained case. In
385
+
386
+ ![](images/c92295be8bb1993d24c0c91b3dc27c8bd165267035adfd847ef978db2e60896e.jpg)
387
+ Figure 5. Best normalized energy consumption plus normalized temperature deviation up to the current step. For SafeOPT, the initial required feasible solution is obtained based on domain knowledge.
388
+
389
+ ![](images/f323a4b582ce737a03f76a68c8f834f2ef0492d715d10fae28601485b097936f.jpg)
390
+
391
+ addition, we show that the cumulative constraint violations have upper bounds in terms of maximum information gain, which are similar to the cumulative regret bounds of the objective function. For commonly used Mátern $(\nu > \frac{d}{2})$ and Squared Exponential kernels, our bounds are sublinear and allow us to derive a convergence rate to the optimal solution of the original constrained problem. Furthermore, our method naturally provides a scheme to declare infeasibility when the original black-box optimization problem is infeasible. Numerical experiments over sampled instances, artificial problems, and a building controller tuning problem, all corroborate the effectiveness of our algorithm, which is competitive with the popular CEI method. As compared to existing state-of-the-art constrained efficient global/Bayesian optimization methods, CONFIG significantly improves the theoretical guarantees, while achieving competitive empirical performance.
392
+
393
+ One limitation of our work is that the auxiliary problem may be infeasible with misspecified hyperparameters, which needs to be addressed in future work.
394
+
395
+ # Acknowledgements
396
+
397
+ This research was supported by the Swiss National Science Foundation under NCCR Automation, grant agreement 51NF40_180545, and in part by the Swiss Data Science Center, grant agreement C20-13.
398
+
399
+ # References
400
+
401
+ Amani, S., Alizadeh, M., and Thampoulidis, C. Linear stochastic bandits under safety constraints. Advances in Neural Information Processing Systems, 32, 2019.
402
+ Amani, S., Alizadeh, M., and Thrampoulidis, C. Regret bound for safe Gaussian process bandit optimization. In Learning for Dynamics and Control, pp. 158-159. PMLR, 2020.
403
+ Audibert, J.-Y., Bubeck, S., and Munos, R. Best arm identification in multi-armed bandits. In The Annual Conference On Learning Theory (COLT), pp. 41-53. CiteSeer, 2010.
404
+ Bagheri, S., Konen, W., Allmendinger, R., Branke, J., Deb, K., Fieldsend, J., Quagliarella, D., and Sindhya, K. Constraint handling in efficient global optimization. In Proceedings of the Genetic and Evolutionary Computation Conference, pp. 673-680, 2017.
405
+ Bansal, S., Calandra, R., Xiao, T., Levine, S., and Tomlin, C. J. Goal-driven dynamics learning via Bayesian optimization. In 2017 IEEE 56th Annual Conference on Decision and Control (CDC), pp. 5168-5173. IEEE, 2017.
406
+ Basudhar, A., Dribusch, C., Lacaze, S., and Missoum, S. Constrained efficient global optimization with support vector machines. Structural and Multidisciplinary Optimization, 46(2):201-221, 2012.
407
+ Bergstra, J. and Bengio, Y. Random search for hyperparameter optimization. Journal of Machine Learning Research, 13(2), 2012.
408
+ Besson, L. and Kaufmann, E. What doubling tricks can and can't do for multi-armed bandits. arXiv preprint arXiv:1803.06971, 2018.
409
+ Chowdhury, S. R. and Gopalan, A. On kernelized multiarmed bandits. In International Conference on Machine Learning, pp. 844-853. PMLR, 2017a.
410
+ Chowdhury, S. R. and Gopalan, A. On kernelized multiarmed bandits. arXiv preprint arXiv:1704.00445, 2017b.
411
+ Frazier, P. I. A tutorial on Bayesian optimization. arXiv preprint arXiv:1807.02811, 2018.
412
+ Frazier, P. I. and Wang, J. Bayesian optimization for materials design. In Information Science for Materials Discovery and Design, pp. 45-75. Springer, 2016.
413
+ Fritzson, P. and Engelson, V. Modelica—a unified object-oriented language for system modeling and simulation. In European Conference on Object-Oriented Programming, pp. 67-90. Springer, 1998.
414
+
415
+ Gardner, J. R., Kusner, M. J., Xu, Z. E., Weinberger, K. Q., and Cunningham, J. P. Bayesian optimization with inequality constraints. In International Conference on Machine Learning (ICML), volume 2014, pp. 937-945, 2014.
416
+ Gelbart, M. A., Snoek, J., and Adams, R. P. Bayesian optimization with unknown constraints. In Proc. of the 30th Conf. on Uncertainty in Artif. Intell., UAI'14, pp. 250-259, Arlington, Virginia, USA, 2014. AUAI Press. ISBN 9780974903910.
417
+ GPy. GPy: A Gaussian process framework in python. http://github.com/SheffieldML/GPy, since 2012.
418
+ Guo, H., Zhu, Q., and Liu, X. Rectified pessimistic-optimistic learning for stochastic continuum-armed bandit with constraints. arXiv preprint arXiv:2211.14720, 2022.
419
+ Hernández-Lobato, J. M., Gelbart, M. A., Adams, R. P., Hoffman, M. W., and Ghahramani, Z. A general framework for constrained Bayesian optimization using information-based search. 2016.
420
+ Inatsu, Y., Takeno, S., Karasuyama, M., and Takeuchi, I. Bayesian optimization for distributionally robust chance-constrained problem. In International Conference on Machine Learning, 2022.
421
+ Jeong, S., Murayama, M., and Yamamoto, K. Efficient optimization design method using kriging model. Journal of Aircraft, 42(2):413-420, 2005.
422
+ Jones, D. R., Schonlau, M., and Welch, W. J. Efficient global optimization of expensive black-box functions. Journal of Global Optimization, 13(4):455-492, 1998.
423
+ Lu, C. and Paulson, J. A. No-regret Bayesian optimization with unknown equality and inequality constraints using exact penalty functions. IFAC-PapersOnLine, 55(7):895-902, 2022.
424
+ Moradipari, A., Thrampoulidis, C., and Alizadeh, M. Stagewise conservative linear bandits. Advances in Neural Information Processing Systems, 33:11191-11201, 2020.
425
+ Negoescu, D. M., Frazier, P. I., and Powell, W. B. The knowledge-gradient algorithm for sequencing experiments in drug discovery. INFORMS Journal on Computing, 23(3):346-363, 2011.
426
+ Pardalos, P. M. and Romeijn, H. E. Handbook of Global Optimization: Volume 2, volume 62. Springer Science & Business Media, 2013.
427
+
428
+ Sasena, M. J., Papalambros, P., and Goovaerts, P. Exploration of metamodeling sampling criteria for constrained global optimization. Engineering optimization, 34(3): 263-278, 2002.
429
+ Scharnhorst, P., Schubnel, B., Fernández Bandera, C., Salom, J., Taddeo, P., Boegli, M., Gorecki, T., Stauffer, Y., Peppas, A., and Politi, C. Energy: A building model library for controller benchmarking. Appl. Sciences, 11 (8):3518, 2021.
430
+ Schölkopf, B., Herbrich, R., and Smola, A. J. A generalized representative theorem. In International Conference on Computational Learning Theory, pp. 416-426. Springer, 2001.
431
+ Schonlau, M. Computer experiments and global optimization. 1997.
432
+ Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., and De Freitas, N. Taking the human out of the loop: A review of Bayesian optimization. Proceedings of the IEEE, 104(1):148-175, 2015.
433
+ Snoek, J., Rippel, O., Swersky, K., Kiros, R., Satish, N., Sundaram, N., Patwary, M., Prabhat, M., and Adams, R. Scalable Bayesian optimization using deep neural networks. In International Conference on Machine Learning, pp. 2171-2180. PMLR, 2015.
434
+ Soare, M., Lazaric, A., and Munos, R. Best-arm identification in linear bandits. Advances in Neural Information Processing Systems, 27, 2014.
435
+ Srinivas, N., Krause, A., Kakade, S. M., and Seeger, M. W. Information-theoretic regret bounds for Gaussian process optimization in the bandit setting. IEEE Transactions on Information Theory, 58(5):3250-3265, 2012.
436
+ Sui, Y., Gotovos, A., Burdick, J., and Krause, A. Safe exploration for optimization with Gaussian processes. In Proc. of the Int. Conf. on Mach. Learn., pp. 997-1005, 2015.
437
+ Sui, Y., Burdick, J., Yue, Y., et al. Stage-wise safe Bayesian optimization with Gaussian processes. In Proc. of the Int. Conf. on Mach. Learn., pp. 4781-4789, 2018.
438
+ Turchetta, M., Berkenkamp, F., and Krause, A. Safe exploration for interactive machine learning. Advances in Neural Inf. Process. Syst. 32, 4:2868-2878, 2020.
439
+ Vakili, S., Khezeli, K., and Picheny, V. On information gain and regret bounds in Gaussian process bandits. In International Conference on Artificial Intelligence and Statistics, pp. 82-90. PMLR, 2021.
440
+
441
+ Vinod, A. P., Israel, A., and Topcu, U. Constrained, global optimization of unknown functions with lipschitz continuous gradients. SIAM Journal on Optimization, 32(2): 1239-1264, 2022.
442
+ Wu, Y., Shariff, R., Lattimore, T., and Szepesvári, C. Conservative bandits. In International Conference on Machine Learning, pp. 1254-1262. PMLR, 2016.
443
+ Xu, W., Jiang, Y., Maddalena, E. T., and Jones, C. N. Lower bounds on the worst-case complexity of efficient global optimization. arXiv preprint arXiv:2209.09655, 2022a.
444
+ Xu, W., Jones, C. N., Svetozarevic, B., Laughman, C. R., and Chakrabarty, A. VABO: Violation-aware Bayesian optimization for closed-loop control performance optimization with unmodeled constraints. In 2022 American Control Conference (ACC), pp. 5288-5293. IEEE, 2022b.
445
+ Xu, W., Jiang, Y., Svetozarevic, B., and Jones, C. N. Primal-dual contextual Bayesian optimization for control system online optimization with time-average constraints. arXiv preprint arXiv:2304.06104, 2023.
446
+ Zhang, Y., Zhang, X., and Frazier, P. I. Two-step lookasidehead Bayesian optimization with inequality constraints. Advances in Neural Information Processing Systems, 34, 2021.
447
+ Zhou, X. and Ji, B. On kernelized multi-armed bandits with constraints. Advances in Neural Information Processing Systems, 35, 2022.
448
+
449
+ # A. Examples of kernel functions
450
+
451
+ - Linear:
452
+
453
+ $$
454
+ k (x, y) = x ^ {T} y.
455
+ $$
456
+
457
+ - Squared Exponential:
458
+
459
+ $$
460
+ k (x, y) = \exp \left\{- \frac {\| x - y \| ^ {2}}{\ell^ {2}} \right\}.
461
+ $$
462
+
463
+ - Matern:
464
+
465
+ $$
466
+ \begin{array}{l} k (x, y) = \\ \frac {2 ^ {1 - \nu}}{\Gamma (\nu)} \left(\sqrt {2 \nu} \frac {\| x - y \|}{\rho}\right) ^ {\nu} K _ {\nu} \left(\sqrt {2 \nu} \frac {\| x - y \|}{\rho}\right), \\ \end{array}
467
+ $$
468
+
469
+ where $\rho$ and $\nu$ are positive parameters of the kernel function, $\Gamma$ is the gamma function, and $K_{\nu}$ is the modified Bessel function of the second kind.
470
+
471
+ # B. Proof of Corollary 2.6
472
+
473
+ Proof. Note that $l_{i,t}(x)$ and $u_{i,t}(x)$ are random variables since they depend on the observations $y_{i,t}$ 's, which are corrupted by random noise. The following events definitions are with respect to the randomness from noise. For simplicity of notation, we use $\{l_{i,t}(x) \leq y \leq u_{i,t}(x)\}$ to denote the intersection event that the random variable $l_{i,t}(x) \leq y$ and $u_{i,t}(x) \geq y$ , where $y \in \mathbb{R}$ , $i \in \{0\} \cup [N]$ and $t \geq 1$ . We define the event $\mathcal{E}_i \triangleq \cap_{x \in \mathcal{X}} \cap_{T \geq t \geq 1} \{l_{i,t}(x) \leq g_i(x) \leq u_{i,t}(x)\}, \forall i \in [N]$ and the event $\mathcal{E}_0 \triangleq \cap_{x \in \mathcal{X}} \cap_{T \geq t \geq 1} \{l_{0,t}(x) \leq f(x) \leq u_{0,t}(x)\}$ . We have,
474
+
475
+ $$
476
+ \begin{array}{l} \mathbb {P} \left(\cap_ {i = 0} ^ {N} \mathcal {E} _ {i}\right) = 1 - \mathbb {P} \left(\overline {{\cap_ {i = 0} ^ {N} \mathcal {E} _ {i}}}\right) (24a) \\ = 1 - \mathbb {P} \left(\cup_ {i = 0} ^ {N} \overline {{\mathcal {E} _ {i}}}\right) (24b) \\ \geq 1 - \sum_ {i = 0} ^ {N} \mathbb {P} \left(\overline {{\mathcal {E} _ {i}}}\right) (24c) \\ \geq 1 - \sum_ {i = 0} ^ {N} \frac {\delta}{N + 1} (24d) \\ = 1 - \delta , (24e) \\ \end{array}
477
+ $$
478
+
479
+ where the inequality (24c) follows by union bound of probability and the inequality (24d) follows by Lemma 2.4. The conclusion then follows.
480
+
481
+ ![](images/8c4d5b25bec8b6280484380851e4cc1cc5edd55bf156615480c94fb5ac3b578c.jpg)
482
+
483
+ # C. Proof of Lemma 4.1
484
+
485
+ Proof. By Corollary 2.6, with probability at least $1 - \delta$ , we have, for all $x \in \mathcal{X}$ and $1 \leq t \leq T$ ,
486
+
487
+ $$
488
+ \begin{array}{l} f (x) \quad \in [ l _ {0, t} (x), u _ {0, t} (x) ], (25a) \\ g _ {i} (x) \quad \in [ l _ {i, t} (x), u _ {i, t} (x) ], \quad \forall i \in [ N ]. (25b) \\ \end{array}
489
+ $$
490
+
491
+ All the following statements are conditioned on the above joint event happening, which has a probability of at least $1 - \delta$ .
492
+
493
+ By setting $x = x^{*}$ in (25b) and the feasibility of the optimal solution $x^{*}$ , we have
494
+
495
+ $$
496
+ l _ {i, t} \left(x ^ {*}\right) \leq g _ {i} \left(x ^ {*}\right) \leq 0, \quad \forall i \in [ N ]. \tag {26}
497
+ $$
498
+
499
+ Therefore, infeasibility is not declared in line 1 of the Alg. 1, and $x^{*}$ is a feasible solution for the auxiliary problem in line 1 of the Alg. 1. Therefore, we have
500
+
501
+ $$
502
+ l _ {0, t} \left(x _ {t}\right) \leq l _ {0, t} \left(x ^ {*}\right). \tag {27}
503
+ $$
504
+
505
+ Therefore,
506
+
507
+ $$
508
+ \begin{array}{l} r _ {t} = f \left(x _ {t}\right) - f ^ {*} (28a) \\ \leq r _ {t} ^ {+} (28b) \\ = \left[ f \left(x _ {t}\right) - l _ {0, t} \left(x _ {t}\right) + l _ {0, t} \left(x _ {t}\right) - f ^ {*} \right] ^ {+} (28c) \\ \leq \left[ f \left(x _ {t}\right) - l _ {0, t} \left(x _ {t}\right) \right] ^ {+} + \left[ l _ {0, t} \left(x _ {t}\right) - f ^ {*} \right] ^ {+} (28d) \\ \leq \left[ u _ {0, t} \left(x _ {t}\right) - l _ {0, t} \left(x _ {t}\right) \right] ^ {+} + \left[ l _ {0, t} \left(x _ {t}\right) - l _ {0, t} \left(x ^ {*}\right) \right] ^ {+} (28e) \\ = u _ {0, t} \left(x _ {t}\right) - l _ {0, t} \left(x _ {t}\right) (28f) \\ = 2 \beta_ {0, t} \sigma_ {0, t - 1} (x _ {t}), (28g) \\ \end{array}
509
+ $$
510
+
511
+ where the inequality (28e) follows by the inequalities (25a), the inequality (28d) follows by the fact that $[a + b]^+ \leq [a]^+ + [b]^+, \forall a, b \in \mathbb{R}$ , and the equality (28f) follows by the inequality (27). We now consider the constraint violation,
512
+
513
+ $$
514
+ \begin{array}{l} v _ {i, t} = \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+} (29a) \\ = \left[ g _ {i} \left(x _ {t}\right) - l _ {i, t} \left(x _ {t}\right) + l _ {i, t} \left(x _ {t}\right) \right] ^ {+} (29b) \\ \leq \left[ g _ {i} \left(x _ {t}\right) - l _ {i, t} \left(x _ {t}\right) \right] ^ {+} + \left[ l _ {i, t} \left(x _ {t}\right) \right] ^ {+} (29c) \\ = \left[ g _ {i} \left(x _ {t}\right) - l _ {i, t} \left(x _ {t}\right) \right] ^ {+} (29d) \\ \leq \left[ u _ {i, t} \left(x _ {t}\right) - l _ {i, t} \left(x _ {t}\right) \right] ^ {+} (29e) \\ = 2 \beta_ {i, t} \sigma_ {i, t - 1} (x _ {t}), (29f) \\ \end{array}
515
+ $$
516
+
517
+ where the equality (29d) follows by the feasibility of $x_{t}$ for the auxiliary problem in line 1 of Alg. 1.
518
+
519
+ # D. Proof of Theorem 4.3
520
+
521
+ Proof. By the monotonicity of $\beta_{i,t}$ and Lem. 17, we have,
522
+
523
+ $$
524
+ \begin{array}{l} R _ {T} = \sum_ {t = 1} ^ {T} r _ {t} (30a) \\ \leq \sum_ {t = 1} ^ {T} r _ {t} ^ {+} = R _ {T} ^ {+} (30b) \\ \leq \sum_ {t = 1} ^ {T} 2 \beta_ {0, t} \sigma_ {0, t} \left(x _ {t}\right) (30c) \\ \leq 2 \beta_ {0, T} \sum_ {t = 1} ^ {T} \sigma_ {0, t} \left(x _ {t}\right) (30d) \\ \leq 4 \beta_ {0, T} \sqrt {(T + 2) \gamma_ {0 , T}}, (30e) \\ \end{array}
525
+ $$
526
+
527
+ and $\forall i\in [N]$
528
+
529
+ $$
530
+ \begin{array}{l} \mathcal {V} _ {i, T} = \sum_ {t = 1} ^ {T} v _ {i, t} (31a) \\ \leq \sum_ {t = 1} ^ {T} 2 \beta_ {i, t} \sigma_ {i, t} \left(x _ {t}\right) (31b) \\ \leq 2 \beta_ {i, T} \sum_ {t = 1} ^ {T} \sigma_ {i, t} \left(x _ {t}\right) (31c) \\ \leq 4 \beta_ {i, T} \sqrt {(T + 2) \gamma_ {i , T}}, (31d) \\ \end{array}
531
+ $$
532
+
533
+ Combining with the expression of $\beta_{i,t}$ in Definition 2.5, we can derive
534
+
535
+ $$
536
+ R _ {T} \leq R _ {T} ^ {+} \leq 4 \beta_ {0, T} \sqrt {(T + 2) \gamma_ {0 , T}} = \mathcal {O} (\gamma_ {0, T} \sqrt {T}),
537
+ $$
538
+
539
+ $$
540
+ \mathcal {V} _ {i, T} \leq 4 \beta_ {i, T} \sqrt {(T + 2) \gamma_ {i , T}} = \mathcal {O} (\gamma_ {i, T} \sqrt {T}), \quad \forall i \in [ N ],
541
+ $$
542
+
543
+ which completes the proof.
544
+
545
+ ![](images/cfc5dad11dc51e1820f5940230577a283f71cba97e27fa69a23459150e4c5f5a.jpg)
546
+
547
+ # E. Proof of Theorem 4.4
548
+
549
+ Proof. Consider the sum,
550
+
551
+ $$
552
+ \begin{array}{l} \sum_ {t = 1} ^ {T} \left(\left[ f \left(x _ {t}\right) - f ^ {*} \right] ^ {+} + \sum_ {i = 1} ^ {N} \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+}\right) \\ = R _ {T} ^ {+} + \sum_ {i = 1} ^ {N} \mathcal {V} _ {i, T} \\ \leq 4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i, T} \sqrt {\gamma_ {i , T}}, \\ \end{array}
553
+ $$
554
+
555
+ where the last inequality follows by the inequalities (30e) and (31d). Therefore,
556
+
557
+ $$
558
+ \begin{array}{l} \min _ {t \in [ T ]} \left(\left[ f \left(x _ {t}\right) - f ^ {*} \right] ^ {+} + \sum_ {i = 1} ^ {N} \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+}\right) \\ \leq \frac {1}{T} \sum_ {t = 1} ^ {T} \left(\left[ f \left(x _ {t}\right) - f ^ {*} \right] ^ {+} + \sum_ {i = 1} ^ {N} \left[ g _ {i} \left(x _ {t}\right) \right] ^ {+}\right) \\ \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T}. \\ \end{array}
559
+ $$
560
+
561
+ So there exists $\tilde{x}_T\in \{x_1,x_2,\dots ,x_T\}$ , such that,
562
+
563
+ $$
564
+ [ f (\tilde {x} _ {T}) - f ^ {*} ] ^ {+} + \sum_ {i = 1} ^ {N} [ g _ {i} (\tilde {x} _ {T}) ] ^ {+} \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T}.
565
+ $$
566
+
567
+ Since $[f(\tilde{x}_T) - f^*]^{+}$ and $[g_i(\tilde{x}_T)]^{+}$ are non-negative, we have
568
+
569
+ $$
570
+ f (\tilde {x} _ {T}) - f ^ {*} \leq [ f (\tilde {x} _ {T}) - f ^ {*} ] ^ {+} \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T}
571
+ $$
572
+
573
+ $$
574
+ [ g _ {j} (\tilde {x} _ {T}) ] ^ {+} \leq \frac {4 \sqrt {T + 2} \sum_ {i = 0} ^ {N} \beta_ {i , T} \sqrt {\gamma_ {i , T}}}{T}, \quad \forall j \in [ N ].
575
+ $$
576
+
577
+ The desired conclusion then follows.
578
+
579
+ ![](images/4f2b2cd4098c66d9eff85cf4a99bb75f0e802bc36ec3896cdd2e5cf3ac98a098.jpg)
580
+
581
+ # F. Proof of Theorem 5.1
582
+
583
+ Proof. Suppose up to step $T$ , infeasibility has not been declared. We have,
584
+
585
+ $$
586
+ l _ {i, t} (x _ {t}) \leq 0
587
+ $$
588
+
589
+ and
590
+
591
+ $$
592
+ u _ {i, t} \left(x _ {t}\right) \geq g _ {i} \left(x _ {t}\right) \geq \epsilon
593
+ $$
594
+
595
+ with probability at least $1 - \delta$
596
+
597
+ Accordingly, we have
598
+
599
+ $$
600
+ 2 \sum_ {t = 1} ^ {T} \beta_ {i, t} \sigma_ {i, t - 1} (x _ {t}) = \sum_ {t = 1} ^ {T} \left(u _ {i, t} (x _ {t}) - l _ {i, t} (x _ {t})\right) \geq \sum_ {t = 1} ^ {T} \epsilon = T \epsilon .
601
+ $$
602
+
603
+ Meanwhile,
604
+
605
+ $$
606
+ \begin{array}{l} 2 \sum_ {t = 1} ^ {T} \beta_ {i, t} \sigma_ {i, t - 1} (x _ {t}) \leq 2 \beta_ {i, T} \sum_ {t = 1} ^ {T} \sigma_ {i, t - 1} (x _ {t}) \\ \leq 2 \beta_ {i, T} \sqrt {4 (T + 2) \gamma_ {i , T}}, \\ \end{array}
607
+ $$
608
+
609
+ where the last inequality follows by Lem. 17. Therefore,
610
+
611
+ $$
612
+ 2 \beta_ {i, T} \sqrt {4 (T + 2) \gamma_ {i , T}} \geq T \epsilon ,
613
+ $$
614
+
615
+ which implies $\epsilon \leq \frac{2\beta_{i,T}\sqrt{4(T + 2)\gamma_{i,T}}}{T}$ . By Def. 2.5, we have
616
+
617
+ $$
618
+ \frac {2 \beta_ {i , T} \sqrt {4 (T + 2) \gamma_ {i , T}}}{T} = \mathcal {O} \left(\frac {\gamma_ {i , T}}{\sqrt {T}}\right).
619
+ $$
620
+
621
+ Hence, $\exists \tilde{C} > 0$ , such that,
622
+
623
+ $$
624
+ \epsilon \leq \tilde {C} \frac {\gamma_ {i , T}}{\sqrt {T}}. \tag {32}
625
+ $$
626
+
627
+ That is
628
+
629
+ $$
630
+ C \epsilon \leq \frac {\gamma_ {i , T}}{\sqrt {T}}, \tag {33}
631
+ $$
632
+
633
+ where $C = \frac{1}{\tilde{C}}$ . However, since $\lim_{T \to \infty} \frac{\gamma_i T}{\sqrt{T}} = 0$ , the inequality (33) will be violated when $T$ is large enough. So infeasibility will be declared on or before the first time the above inequality is violated, which is $\overline{T}$ .
634
+
635
+ # G. Explicit functions for the artificial numerical instances
636
+
637
+ <table><tr><td>Name</td><td>Function</td></tr><tr><td>Branin (Br)</td><td>Br(x1,x2)=(x2-5.1/4π2x1+5/πx1-6)2+10(1-1/8π)cos(x1)+10.</td></tr><tr><td>Modified Branin (MBr)</td><td>MBr(x1,x2)=Br(x1,x2)+20x1-30x2.</td></tr><tr><td>Bowl (Bowl)</td><td>Bowl(x1,x2)=1/2(||x-cbowl||2-R2bowl) where Rbowl=10 and cbowl=[-3,-3].</td></tr><tr><td>Inverted bowl (InvBowl)</td><td>InvBowl(x1,x2)=-Bowl(x1,x2).</td></tr><tr><td>Sine-quadratic (SinQ)</td><td>SinQ(x1,x2)=sin(x12/x2/10).</td></tr></table>
638
+
639
+ Table 4. Explicit functions used to construct the artificial numerical instances.
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b52824fd111c7da6e473fbda4bd151951cccccbc215135cc13b61016b22f894
3
+ size 799822
2023/Constrained Efficient Global Optimization of Expensive Black-box Functions/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Monotonic Neural Networks/787717a9-c3e6-48b4-b37b-de986180631e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5cc1e863a80eddbcad696be2307fd1b96b4690b42ef4e4e11fb71b3f6657efc
3
+ size 626337
2023/Constrained Monotonic Neural Networks/full.md ADDED
@@ -0,0 +1,630 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Davor Runje<sup>12</sup> Sharath M Shankaranarayana<sup>1</sup>
2
+
3
+ # Abstract
4
+
5
+ Wider adoption of neural networks in many critical domains such as finance and healthcare is being hindered by the need to explain their predictions and to impose additional constraints on them. Monotonicity constraint is one of the most requested properties in real-world scenarios and is the focus of this paper. One of the oldest ways to construct a monotonic fully connected neural network is to constrain signs on its weights. Unfortunately, this construction does not work with popular non-saturated activation functions as it can only approximate convex functions. We show this shortcoming can be fixed by constructing two additional activation functions from a typical unsaturated monotonic activation function and employing each of them on the part of neurons. Our experiments show this approach of building monotonic neural networks has better accuracy when compared to other state-of-the-art methods, while being the simplest one in the sense of having the least number of parameters, and not requiring any modifications to the learning procedure or post-learning steps. Finally, we prove it can approximate any continuous monotone function on a compact subset of $\mathbb{R}^n$ .
6
+
7
+ # 1. Introduction
8
+
9
+ Deep Learning has witnessed widespread adoption in many critical real-world domains such as finance, healthcare, etc (LeCun et al., 2015). Incorporating prior knowledge such as monotonicity in trained models helps in improving the performance and generalization ability of the trained models (Mitchell, 1980; Dugas et al., 2000). The introduction of structural biases such as monotonicity makes models also more data-efficient, enabling a leap in predictive power on
10
+
11
+ $^{1}$ Airt Research, Zagreb, Croatia $^{2}$ Algebra University College, Zagreb, Croatia. Correspondence to: Davor Runje <davor@airt.ai>, Sharath M Shankaranarayana <sharithms@alumni.iitm.ac.in>.
12
+
13
+ Proceedings of the $40^{th}$ International Conference on Machine Learning, Honolulu, Hawaii, USA. PMLR 202, 2023. Copyright 2023 by the author(s).
14
+
15
+ smaller datasets (Veličković, 2019). Apart from the requirements of having models with high accuracy, there is also a need for transparency and interpretability, and monotonicity helps in partially achieving the above requirements (Gupta et al., 2016). Due to legal, ethical and/or safety concerns, monotonicity of predictive models with respect to some input or all the inputs is required in numerous domains such as financial (house pricing, credit scoring, insurance risk), healthcare (medical diagnosis, patient medication) and legal (criminal sentencing) to list just a few. For example, when using machine learning to predict admission decisions, it may seem unfair to select student X over student Y, if Y has a higher score than X, while all other aspects of the two are identical (Liu et al., 2020). In another example, one would expect an individual with a higher salary to have a higher loan amount approved, all else being equal (Sivaraman et al., 2020). A model without such a monotonic property would not, and certainly should not, be trusted by society to provide a basis for such important decisions.
16
+
17
+ Monotonicity has been an active area of research and the existing methods on the subject can be broadly categorized into two types:
18
+
19
+ 1. Monotonic architectures by construction: neural architectures guaranteeing monotonicity by construction (Archer & Wang, 1993; Sill, 1997; Daniels & Velikova, 2010; Milani Fard et al., 2016; You et al., 2017).
20
+
21
+ 2. Monotonicity by regularization: enforcing monotonicity in neural networks during training by employing a modified loss function or a heuristic regularization term (Sill & Abu-Mostafa, 1996; Gupta et al., 2019).
22
+
23
+ The simplest method to achieve monotonicity by construction is to constrain the weights of the fully connected neural network to have only non-negative (for non-decreasing variables) or only non-positive values (for non-ascending) variables when used in conjunction with a monotonic activation function, a technique known for 30 years (Archer & Wang, 1993). When used in conjunction with saturated (bounded) activation functions such as the sigmoid and hyperbolic tangent, these models are difficult to train, i.e. they do not converge to a good solution. On the other hand, when used with non-saturated (unbounded) convex activation functions such as ReLU (Nair & Hinton, 2010), the resulting models
24
+
25
+ are always convex (Liu et al., 2020), severely limiting the applicability of the method in practice.
26
+
27
+ Our main contribution is a modification of the method above which, in conjunction with non-saturated activation functions, is capable of approximating non-convex functions as well: when the original activation function is used with additional two monotonic activation functions constructed from it in a neural network with constrained weights, it can approximate any monotone continuous functions.
28
+
29
+ The resulting model is guaranteed to be monotonic, can be used in conjunction with popular convex monotonic non-saturated activation function, doesn't have any additional parameters compared to a non-monotonic fully-connected network for the same task, and can be trained without any additional requirements on the learning procedure. Experimental results show it is exceeding the performance of all other state-of-the-art methods, all while being both simpler (in the number of parameters) and easier to train.
30
+
31
+ Our contributions can be summarized as follows:
32
+
33
+ 1. A modification to an existing constrained neural network layer enabling it to model arbitrary monotonic function when used with non-saturated monotone convex activation functions such as ReLU, ELU, SELU, and alike.
34
+ 2. Experimental comparisons with other recent works showing that the proposed architecture can yield equal or better results than the previous state-of-the-art and with significantly fewer parameters.
35
+ 3. A proof showing that the proposed architecture can approximate any monotone continuous function on a compact subset of $\mathbb{R}^n$ for a large class of non-saturated activation functions.
36
+
37
+ # 2. Related work
38
+
39
+ # 2.1. Activation functions
40
+
41
+ Right from its inception in perceptron (Rosenblatt, 1958), non-linear activation functions have historically been one of the most important components of neural networks. Previously, the saturated functions such as the sigmoid (Rumelhart et al., 1986), the hyperbolic tangent (Neal, 1992), and its variants were the most common choice of activation functions. Currently, one of the most important factors for state-of-the-art results accomplished by modern neural networks is the use of non-saturated activation functions. The use of Rectified Linear Unit (ReLU) (Nair & Hinton, 2010; Glorot et al., 2011) as activation function was instrumental in achieving good performance in newer architectures. The ReLU has since become a de facto choice of activation in most practical implementations and continues to be
42
+
43
+ widely used because of its advantages such as simple computation, representational sparsity, and linearity. Later, a number of activation functions were proposed to deal with solving problems of dead neurons and aid in faster convergence (Maas et al., 2013), (Clevert et al., 2016) (He et al., 2015), (Zheng et al., 2015), (Hendrycks & Gimpel, 2016), (Ramachandran et al., 2017), (Klambauer et al., 2017).
44
+
45
+ The idea of using both the original activation function and its point reflection in the same layer has been proposed in (Shang et al., 2016) where both outputs of ReLU and the negative value of its point reflection were used in the construction of concatenated ReLU (CReLU) activation function. The proposed modification outputs two values instead of one and therefore increases the number of parameters. In (Zagoruyko & Komodakis, 2017), the authors propose negative concatenated ReLU (NCReLU) flip the sign and use the point reflection directly. In (Eidnes & Nøkland, 2018), the authors propose bipolar ReLU which consists of using ReLU on the half of the neurons in the layer and the point reflection of ReLU on the other half.
46
+
47
+ # 2.2. Monotonicity by construction
48
+
49
+ Apart from the approaches mentioned in the introduction, another approach to building monotonic neural architecture is Min-Max networks where monotonic linear embedding and max-min-pooling are used (Sill, 1997). In (Daniels & Velikova, 2010), authors generalized this approach to handle functions that are partially monotonic and proved that the resulting networks have the universal approximation property. However, such networks are very difficult to train and not used in practice.
50
+
51
+ Deep lattice networks (DLN) (You et al., 2017) use a combination of linear calibrators and lattices (Milani Fard et al., 2016) for learning monotonic functions. This is the most widely used method in practice today, but not without its limits. Lattices are structurally rigid thereby restricting the hypothesis space significantly. They also require a very large number of parameters to obtain good performance.
52
+
53
+ Given a model with a convex output function, it is possible to use backpropagation (Rumelhart et al., 1986) to make a monotonic model by computing the derivation of the output function. One simple way to construct a convex function is to use an unsaturated monotonic activation function in a fully connected layer as mentioned above or a more elaborate architecture such as the input convex neural networks (Amos et al., 2017). These constructions are computationally more complex than the simple solution proposed here.
54
+
55
+ # 2.3. Monotonicity by regularization
56
+
57
+ Monotonicity can be enforced during the training by modifying the loss function or adding a regularization term.
58
+
59
+ ![](images/9d91082eb032ad604709eefcd5b02ef44c566d3a5f70c4f58cefcfa31514a0f7.jpg)
60
+ (a) Unconstrained ReLU
61
+
62
+ ![](images/72e770c5f99e46ec764fd8325ea8a649fd044fa4d750594e914c04f397c1f1d6.jpg)
63
+ (b) Constrained ReLU
64
+
65
+ ![](images/e47b7d2a3624a1458b9f515729d3a86460661cead5e7fb7e79851ed009539198.jpg)
66
+ (c) Constrained ReLU based activations
67
+ Figure 1: Approximations of the cubic function $f(x) = x^{3}$
68
+
69
+ In (Sill & Abu-Mostafa, 1996), the authors propose a modified loss function that penalizes the non-monotonicity of the model. The algorithm models the input distribution as a joint Gaussian estimated from the training data and samples random pairs of monotonic points that are added to the training data. In (Gupta et al., 2019), the authors propose a point-wise loss function that acts as a soft monotonicity constraint. These methods are straightforward to implement and can be used with any neural network architecture, but they do not guarantee the monotonicity of the trained model.
70
+
71
+ Recently, there is an increasing number of proposed methods to certify or verify monotonicity obtained by regularization methods. In (Liu et al., 2020), the authors propose an optimization-based technique for mathematically verifying, or rejecting, the monotonicity of an arbitrary piece-wise linear (e.g., ReLU) neural network. The method consists of transforming the monotonicity verification problem into a mixed integer linear programming (MILP) problem that can be solved using an off-the-shelf MILP solver.
72
+
73
+ In (Sivaraman et al., 2020), the authors propose an approach that finds counterexamples (defined as the pair of points where the monotonicity constraint is violated) by employing satisfiability modulo theories (SMT) solver (Barrett & Tinelli, 2018). To satisfy the monotonicity constraints, these counterexamples are included in the training data with adjustments to their target values to enforce the next iterations of the model to be monotonic.
74
+
75
+ Both methods (Liu et al., 2020; Sivaraman et al., 2020) have been shown to support ReLU as the activation function only and there is no obvious way how to extend them to other activation functions. More precisely, they rely on piecewise linearity of ReLU to work, the property not satisfied by other variants such as ELU, SELU, GELU, etc. Last but not least, the procedure for certifying/verifying using MILP or SMT solvers is computationally very costly. These approaches also require multiple reruns or iterations to arrive at certified/verified monotonic networks.
76
+
77
+ # 3. Constrained neural networks
78
+
79
+ Most of the commonly used activation functions such as ReLU, ELU, SELU, etc. are monotonically increasing zero-centred, convex, lower-bounded non-polynomial functions. When used in a fully-connected, feed-forward neural network with at least one hidden layer and with unconstrained weights, they can approximate any continuous function on a compact subset. The simplest way to construct a monotonic neural network is to constrain its weights when used in conjunction with a monotone activation function. However, when the activation function is convex as well, the constrained neural network is not able to approximate nonconvex functions.
80
+
81
+ To better illustrate this, and to propose a simple solution in this particular example, we refer the readers to Figure 1 where the goal is to approximate a simple cubic function $x^3$ using a neural network with a single hidden layer with either 2 or 32 neurons and with ReLU activation. A cubic function is apt for our illustration since it is concave in the considered interval $[-1,0]$ and convex in the interval $[0,1]$ :
82
+
83
+ 1a. An unconstrained ReLU network with $n$ neurons can approximate both concave and convex segments of the cubic function using at most $n + 1$ piecewise linear segments. Increasing the number of neurons will provide a better fit with the function being approximated. Notice that even though the cubic function is monotone, there is no guarantee that the trained model will be monotone as well.
84
+ 1b. If we constrain the weights of the network to be non-negative while still employing ReLU activation, the resulting model is monotone and convex. We can no longer approximate non-convex segments such as the cubic function on $[-1,0]$ in the figure, and increasing the number of neurons from 2 to 32 does not yield any significant improvement in the approximation.
85
+ 1c. Our proposed solution uses a combination of three ac
86
+
87
+ ![](images/b30aeed45803b85110b4a116473035ad913435c11400b65a6a8c758f6b69cc30.jpg)
88
+ (a) ReLU based activations
89
+
90
+ ![](images/1f8136b11f4daab61d8b0e667774b93d037c42383d406a5f8db2b2c3c1a5247e.jpg)
91
+ (b) ELU based activations
92
+
93
+ ![](images/1561e838253b7f1e1ffcdae2e4feab999897cd6301635b2a1f8bfbba56196eba.jpg)
94
+ (c) SELU based activations
95
+ Figure 2: Activation functions construction
96
+
97
+ tivation functions in the hidden layer in order to gain the ability to model non-convex, monotone continuous functions. Notice that increasing the number of neurons increases the number of piecewise linear segments to approximate the cubic function. The resulting network is monotone by construction even when trained on noisy data.
98
+
99
+ The schematic block diagram of our proposed solution (which we refer to as Constrained Monotone Fully Connected Layer or Monotonic Dense Unit interchangeably) is shown in the figure Fig. 3. The individual components of the proposed solution are defined and described in the subsequent subsection.
100
+
101
+ # 3.1. Constrained monotone fully connected layer
102
+
103
+ We say that a multivariate function $f: \mathbb{R}^n \to \mathbb{R}$ is partially monotonically increasing with respect to $x_i$ if
104
+
105
+ $$
106
+ x _ {i} ^ {0} > x _ {i} ^ {1} \Rightarrow f \left(x _ {1}, \dots , x _ {i} ^ {0}, \dots x _ {n}\right) \geq f \left(x _ {1}, \dots , x _ {i} ^ {1}, \dots x _ {n}\right).
107
+ $$
108
+
109
+ Similarly, $f$ is partially monotonically decreasing with respect to $x_{i}$ if
110
+
111
+ $$
112
+ x _ {i} ^ {0} > x _ {i} ^ {1} \Rightarrow f \left(x _ {1}, \dots , x _ {i} ^ {0}, \dots x _ {n}\right) \leq f \left(x _ {1}, \dots , x _ {i} ^ {1}, \dots x _ {n}\right).
113
+ $$
114
+
115
+ A set $S \subseteq R$ is compact if every sequence in $S$ has a subsequence that converges to a point in $S$ . One can easily show that closed intervals $[a, b]$ are compact, and compact sets can be thought of as generalizations of such closed bounded intervals.
116
+
117
+ Our construction is preconditioned on a priori knowledge of (partial) monotonicity of a multivariate, multidimensional function $f$ . Let $f: K \mapsto \mathbb{R}^m$ be defined on a compact segment $K \subseteq \mathbb{R}^n$ . Then we define its $n$ -dimensional monotonicity indicator vector $\mathbf{t} = [t_1, \dots, t_n]$ element-wise as
118
+
119
+ follows:
120
+
121
+ $$
122
+ t _ {j} = \left\{ \begin{array}{l l} 1 & \text {i f} \frac {\partial f (\mathbf {x}) _ {i}}{\partial x _ {j}} \geq 0 \text {f o r e a c h} i \in \{1, \dots , m \} \\ - 1 & \text {i f} \frac {\partial f (\mathbf {x}) _ {i}}{\partial x _ {j}} \leq 0 \text {f o r e a c h} i \in \{1, \dots , m \} \\ 0 & \text {o t h e r w i s e} \end{array} \right. \tag {1}
123
+ $$
124
+
125
+ Given an $(m\times n)$ -dimensional matrix $\mathbf{M}$ and $n$ -dimensional monotonicity indicator vector $\mathbf{t}$ , we define the operation $|\cdot|_t$ assigning an $(m\times n)$ -dimensional matrix $\mathbf{M}' = |\mathbf{M}|_t$ to $\mathbf{M}$ element-wise as follows:
126
+
127
+ $$
128
+ m _ {j, i} ^ {\prime} = \left\{ \begin{array}{l l} \left| m _ {j, i} \right| & \text {i f} t _ {i} = 1 \\ - \left| m _ {j, i} \right| & \text {i f} t _ {i} = - 1 \\ m _ {j, i} & \text {o t h e r w i s e} \end{array} \right. \tag {2}
129
+ $$
130
+
131
+ Definition 1 (Constrained linear layer). Let $\mathbf{W} \in \mathbb{R}^{n \times m}$ , $\mathbf{t} \in \{-1,0,1\}^n$ , $\mathbf{x} \in \mathbb{R}^n$ and $\mathbf{b} \in \mathbb{R}^m$ . The output $\mathbf{h} \in \mathbb{R}^m$ of the constrained linear layer with monotonicity indicator vector $\mathbf{t}$ , weights $\mathbf{W}$ , biases $\mathbf{b}$ and input $\mathbf{x}$ is:
132
+
133
+ $$
134
+ \mathbf {h} = \left| \mathbf {W} ^ {\mathbf {T}} \right| _ {\mathbf {t}} \cdot \mathbf {x} + \mathbf {b} \tag {3}
135
+ $$
136
+
137
+ Lemma 1. For each $i\in \{1,\ldots ,n\}$ and $j\in \{1,\dots ,m\}$ we have:
138
+
139
+ - if $t_i = 1$ , then $\frac{\partial h_j}{\partial x_i} \geq 0$ , and
140
+ - if $t_i = -1$ , then $\frac{\partial h_j}{\partial x_i} \leq 0$ .
141
+
142
+ We use $\check{\mathcal{A}}$ to denote the set of all zero-centred, monotonically increasing, convex, lower-bounded functions.
143
+
144
+ Definition 2. Let $\breve{\rho} \in \check{\mathcal{A}}$ . Then
145
+
146
+ $$
147
+ \hat {\rho} (x) = - \check {\rho} (- x) \tag {4}
148
+ $$
149
+
150
+ $$
151
+ \tilde {\rho} (x) = \left\{ \begin{array}{l l} \check {\rho} (x + 1) - \check {\rho} (1) & i f x < 0 \\ \hat {\rho} (x - 1) + \check {\rho} (1) & o t h e r w i s e \end{array} \right. \tag {5}
152
+ $$
153
+
154
+ ![](images/86d08aeeeeb8c9fed7c24c5b95cb4ff5376ae40f083acb704cfea9efc51984c3.jpg)
155
+ Figure 3: Proposed Monotonic Dense Unit or Constrained Monotone Fully Connected Layer
156
+
157
+ The main idea of our construction is use of three zero-centred, monotonically increasing activation functions, each applied to a part of neurons in a layer:
158
+
159
+ - the original activation function $\breve{\rho} \in \mathcal{A}$ ,
160
+ - concave upper-bounded function $\check{\rho}$ , and
161
+ - bounded function $\tilde{\rho}$ .
162
+
163
+ Plots of such constructed activation functions for popular activation functions are given in Figure 2. Using only convex and concave activation functions is sufficient for approximating many functions such as the cubic function in Figure 1, but not for e.g. the sigmoid function. As we will show below, the saturated activation function is crucial for the universal property of our construction.
164
+
165
+ Definition 3 (Combined activation function). Let $\breve{\rho} \in \check{\mathcal{A}}$ , $\mathbf{h} \in \mathbb{R}^m$ and $\mathbf{s} = (\check{s}, \hat{s}, \tilde{s}) \in \mathbb{N}^3$ such that $\check{s} + \hat{s} + \tilde{s} = m$ . Then the output of the combined activation function $\rho^s: \mathbb{R}^m \to \mathbb{R}^m$ is defined element-wise as follows:
166
+
167
+ $$
168
+ \rho^ {\mathbf {s}} (\mathbf {h}) _ {j} = \left\{ \begin{array}{l l} \check {\rho} (h _ {j}) & i f j \leq \check {s} \\ \hat {\rho} (h _ {j}) & i f \check {s} < j \leq \check {s} + \hat {s} \\ \tilde {\rho} (h _ {j}) & o t h e r w i s e \end{array} \right. \tag {6}
169
+ $$
170
+
171
+ Lemma 2. Let $\mathbf{y} = \rho^{\mathbf{s}}(\mathbf{h})$ . Then for each $j \in \{1, \dots, m\}$ we have $\frac{\partial y_j}{\partial h_j} \geq 0$ . Moreover
172
+
173
+ - if $\mathbf{s} = (m,0,0)$ , then $\rho_{j}^{\mathbf{s}}$ is convex; and
174
+ - if $s = (0, m, 0)$ , then $\rho_j^s$ is concave.
175
+
176
+ Definition 4 (Monotone constrained fully connected layer). Let $n, m \in \mathbb{N}$ , $\check{\rho} \in \check{\mathcal{A}}$ , $\mathbf{t} \in \{-1,0,1\}^n$ , $\mathbf{s} = (\check{s},\hat{s},\tilde{s}) \in \mathbb{N}^3$ such that $\check{s} + \hat{s} + \tilde{s} = m$ , $\mathbf{W} \in \mathbb{R}^{n \times m}$ , $\mathbf{x} \in \mathbb{R}^n$ and $\mathbf{b} \in \mathbb{R}^m$ .
177
+
178
+ Then the output $\mathbf{y}$ of the monotone constrained fully connected layer with monotonicity indicator vector $\mathbf{t}$ , weights $\mathbf{W}$ , biases $\mathbf{b}$ and input $\mathbf{x}$ is
179
+
180
+ $$
181
+ \mathbf {y} = \rho^ {\mathbf {s}} \left(\left| \mathbf {W} ^ {\mathbf {T}} \right| _ {\mathbf {t}} \cdot \mathbf {x} + \mathbf {b}\right) \tag {7}
182
+ $$
183
+
184
+ From Lemma 1 and 2 directly follows:
185
+
186
+ Corollary 3. For each $i \in \{1, \dots, n\}$ , $j \in \{1, \dots, m\}$ we have:
187
+
188
+ - if $t_i = 1$ , then $\frac{\partial y_j}{\partial x_i} \geq 0$
189
+ - if $t_i = -1$ , then $\frac{\partial y_j}{\partial x_i} \leq 0$
190
+ - if $\mathbf{s} = (m,0,0)$ , then $\mathbf{y}_j$ is convex; and
191
+ - if $\mathbf{s} = (0, m, 0)$ , then $\mathbf{y}_j$ is concave.
192
+
193
+ On the layer level, we can control both monotonicity, convexity and concavity of the output with respect to chosen input variables. The following section discusses how we can use such layers to build practical neural networks with the same properties.
194
+
195
+ # 3.2. Composing monotonic constrained dense layers
196
+
197
+ As mentioned before, the main advantage of our proposed monotonic dense unit is its simplicity. We can build deep neural nets with different architectures by plugging in our monotonic dense blocks. Figures 4 and 5 show two examples of neural architectures that can be built using the proposed monotonic dense block.
198
+
199
+ The first example shown in the Figure 4, corresponds to the standard MLP type of neural network architecture used in
200
+
201
+ ![](images/f6d6dffcfb8df04c4c54b7d35c6ac913787680d2aad91ec28717cfac7cc65ff5.jpg)
202
+ Figure 4: Neural architecture type 1
203
+
204
+ general, where each of the input features is concatenated to form one single input feature vector $\mathbf{x}$ and fed into the network, with the only difference being that instead of standard fully connected or dense layers, we employ monotonic dense units throughout. For the first (or input layer) layer, the indicator vector $\mathbf{t}$ , is used to identify the monotonicity property of the input feature with respect to the output. Specifically, $\mathbf{t}$ is set to 1 for those components in the input feature vector that are monotonically increasing and is set to $-1$ for those components that are monotonically decreasing and set to 0 if the feature is non-monotonic. For the subsequent hidden layers, monotonic dense units with the indicator vector $\mathbf{t}$ always being set to 1 are used in order to preserve monotonicity. Finally, depending on whether the problem at hand is a regression problem or a classification problem (or even a multi-task problem), an appropriate activation function (such as linear activation or sigmoid or softmax) to obtain the final output.
205
+
206
+ Figure 5 shows another example of a neural network architecture that can be built employing proposed monotonic dense blocks. The difference when compared to the architecture described above lies in the way input features are fed into the hidden layers of neural network architecture. Instead of concatenating the features directly, this architecture provides flexibility to employ any form of complex feature extractors for the non-monotonic features and use the extracted feature vectors as inputs. Another difference is that each monotonic input is passed through separate monotonic dense units. This provides an advantage since depending on whether the input is completely concave or convex or both, we can adjust the activation selection vector s appropriately along with an appropriate value for the indicator vector t. Thus, each of the monotonic input features has a separate monotonic dense layer associated with it. Thus as the major difference to the above-mentioned architecture, we concatenate the feature vectors instead of concatenating the inputs directly. The subsequent parts of the network are similar to the architecture described above wherein for the rest of the hidden monotonic dense units, the indicator vector t is
207
+
208
+ always set to 1 to preserve monotonicity.
209
+
210
+ # 3.3. Universal approximation
211
+
212
+ The classical Universal Approximation Theorem (Cybenko, 1989; Hornik, 1991; Pinkus, 1999) states that any continuous function on a closed interval can be approximated with a feed-forward neural network with one hidden layer if and only if its activation function is nonpolynomial. In (Kidger & Lyons, 2020), authors prove the approximation property holds for arbitrary deep neural networks with bounded number of neurons in each layer holds if the activation function is nonaffine and differential at at least one point.
213
+
214
+ In (Daniels & Velikova, 2010), authors show the universal approximation property for constrained multivariate neural networks using sigmoid as the activation functions: any multivariate continuous monotone function on a compact subset of $\mathbb{R}^k$ can be approximated with a constrained neural network with the sigmoid activation function of at most $k$ layers (Theorem 3.1), reproduced here for completeness:
215
+
216
+ Theorem 4. For any continuous monotone nondecreasing function $f: K \to \mathbb{R}$ , where $K$ is a compact subset of $\mathbb{R}^k$ , there exists a feedforward neural network using the sigmoid as the activation function with at most $k$ hidden layers, positive weights, and output $O$ such that $|O_x - f(x)| < \epsilon$ for any $x \in K$ and $\epsilon > 0$ .
217
+
218
+ However, the proof of the theorem uses only the fact that the Heaviside function $\mathbf{H}$ defined as
219
+
220
+ $$
221
+ H (x) = \left\{ \begin{array}{l l} 1 & \text {i f} x \geq 0 \\ 0 & \text {o t h e r w i s e} \end{array} \right.
222
+ $$
223
+
224
+ can be approximated with the sigmoid function on a closed interval (since $\lim_{a\to \infty}\sigma (ax) = H(x)$ ).
225
+
226
+ By construction, we have:
227
+
228
+ Lemma 5. Let $\breve{\rho} \in \check{\mathcal{A}}$ . Then the Heavyside function can be approximated with $\tilde{\rho}_H$ on $\mathbb{R}$ , where
229
+
230
+ $$
231
+ \tilde {\rho} _ {H} (x) = \alpha \tilde {\rho} (x) + \beta
232
+ $$
233
+
234
+ ![](images/740e12159802be730488d2acdc8ab29402a90c906806e89f9e7a7c477f93112c.jpg)
235
+ Figure 5: Neural architecture type 2
236
+
237
+ for some $\alpha, \beta \in \mathbb{R}$ and $\alpha > 0$ .
238
+
239
+ Lemma 6. Let $\tilde{\rho}_{\alpha,\beta}$ be an activation function for some $\alpha, \beta \in \mathbb{R}, \alpha > 0$ such that for every $x \in \mathbb{R}$
240
+
241
+ $$
242
+ \tilde {\rho} _ {\alpha , \beta} (x) = \alpha \tilde {\rho} (x) + \beta .
243
+ $$
244
+
245
+ Then for every constrained monotone neural network $\mathcal{N}_{\alpha,\beta}$ using $\tilde{\rho}_{\alpha,\beta}$ as an activation function ( $s = (0,0,\tilde{s})$ ), there is a constrained monotone neural network $\mathcal{N}$ using $\tilde{\rho}$ as an activation function such that for every $\mathbf{x} \in \mathbb{R}^n$ :
246
+
247
+ $$
248
+ \mathcal {N} (\mathbf {x}) = \mathcal {N} _ {\alpha , \beta} (\mathbf {x}).
249
+ $$
250
+
251
+ Finally, from Theorem 4, Lemma 5 and Lemma 6, we have the universal approximation property:
252
+
253
+ Theorem 7. Let $\breve{\rho} \in \check{\mathcal{A}}$ . Then any multivariate continuous monotone function on a compact subset of $\mathbb{R}^k$ can be approximated with a monotone constrained neural network of at most $k$ layers using $\rho$ as the activation function.
254
+
255
+ The Theorem 7 gives us the upper bound on the number of layers needed for approximating an arbitrary function. In practice, the number and width of layers for a given function and given dataset are found by hyperparameter search. The best results in our experiments were achieved by neural networks with a significantly smaller number of layers. The proof shows that the saturated activation functions are sufficient for the universal approximation property. However, experimental results show that the networks with predominately unsaturated activation functions are easier to train and achieve better results.
256
+
257
+ # 4. Experiments
258
+
259
+ In order to analyze the practical utility of the proposed method, we experiment with various datasets and compare them with the recent state-of-the-art. For the first set of
260
+
261
+ experiments, we use the datasets employed by authors in (Liu et al., 2020) and use the exact train and test split for proper comparison. We perform experiments on 3 datasets: COMPAS (J. Angwin & Kirchner, 2016), which is a classification dataset with 13 features of which 4 are monotonic; Blog Feedback Regression (Buza, 2014), which is a regression dataset with 276 features of which 8 are monotonic; Loan Defaulter<sup>1</sup>, which is a classification dataset with 28 features of which 5 are monotonic. The dataset contains half a million data points. For comparison with other methods, we compare with Certified monotonic networks (Certified) (Liu et al., 2020) and other methods described in it.
262
+
263
+ For the second set of experiments, we use 2 datasets: Auto MPG (which is a regression dataset with 3 monotonic features) and Heart Disease (which is a classification dataset with 2 monotonic features) as employed in the work (Sivaraman et al., 2020) and once again use the exact train and test split for proper comparison. We compare with the method COMET described in (Sivaraman et al., 2020) along with Min-Max Net (Daniels & Velikova, 2010) and Deep Lattice Network (DLN) (You et al., 2017) as described in (Sivaraman et al., 2020), and also more details regarding the datasets have been provided in the supplementary.
264
+
265
+ We use cross-entropy for the classification tasks and we use mean-squared-error for the regression tasks as loss functions. We employ Bayesian optimization tuning with Gaussian process (Snoek et al., 2012) to find the optimal hyperparameters such as the number of neurons, network depth or layers, initial learning rate etc.
266
+
267
+ The code for experiments was written in the Keras framework (Chollet et al., 2015) and KerasTuner (O'Malley et al., 2019) via integration from the Tensorflow framework, version 2.11 (Abadi et al., 2015). All experiments were performed using a Google Colaboratory instance with NVidia
268
+
269
+ <table><tr><td rowspan="2">Method</td><td>COMPAS</td><td>Blog Feedback</td><td>Loan Defaulter</td></tr><tr><td>Parameters Test Acc ↑</td><td>Parameters RMSE ↓</td><td>Parameters Test Acc ↑</td></tr><tr><td>Isotonic</td><td>N.A. 67.6%</td><td>N.A. 0.203</td><td>N.A. 62.1%</td></tr><tr><td>XGBoost (Chen &amp; Guestrin, 2016)</td><td>N.A. 68.5% ± 0.1%</td><td>N.A. 0.176 ± 0.005</td><td>N.A. 63.7% ± 0.1%</td></tr><tr><td>Crystal (Milani Fard et al., 2016)</td><td>25840 66.3% ± 0.1%</td><td>15840 0.164 ± 0.002</td><td>16940 65.0% ± 0.1%</td></tr><tr><td>DLN (You et al., 2017)</td><td>31403 67.9% ± 0.3%</td><td>27903 0.161 ± 0.001</td><td>29949 65.1% ± 0.2%</td></tr><tr><td>Min-Max Net (Daniels &amp; Velikova, 2010)</td><td>42000 67.8% ± 0.1%</td><td>27700 0.163 ± 0.001</td><td>29000 64.9% ± 0.1%</td></tr><tr><td>Non-Neg-DNN</td><td>23112 67.3% ± 0.9%</td><td>8492 0.168 ± 0.001</td><td>8502 65.1% ± 0.1%</td></tr><tr><td>Certified (Liu et al., 2020)</td><td>23112 68.8% ± 0.2%</td><td>8492 0.158 ± 0.001</td><td>8502 65.2% ± 0.1%</td></tr><tr><td>Ours</td><td>2317 69.2% ± 0.2%</td><td>1101 0.156 ± 0.001</td><td>177 65.3% ± 0.01%</td></tr></table>
270
+
271
+ Table 1: Comparison of our method with other methods described in (Liu et al., 2020)
272
+
273
+ <table><tr><td rowspan="2">Method</td><td>Auto MPG</td><td>Heart Disease</td></tr><tr><td>MSE ↓</td><td>Test Acc ↑</td></tr><tr><td>Min-Max Net (Daniels &amp; Velikova, 2010)</td><td>10.14 ± 1.54</td><td>0.75 ± 0.04</td></tr><tr><td>DLN (You et al., 2017)</td><td>13.34 ± 2.42</td><td>0.86 ± 0.02</td></tr><tr><td>COMET (Sivaraman et al., 2020)</td><td>8.81 ± 1.81</td><td>0.86 ± 0.03</td></tr><tr><td>Ours</td><td>8.37 ± 0.08</td><td>0.89 ± 0.00</td></tr></table>
274
+
275
+ Table 2: Comparison of our method with other methods described in (Sivaraman et al., 2020)
276
+
277
+ Tesla T4 GPU (Bisong, 2019). The code is publicly available at (Runje & Shankaranarayana, 2023a), while the preprocessed datasets for experiments are available at (Runje & Shankaranarayana, 2023b).
278
+
279
+ # 4.1. Results
280
+
281
+ The results for the datasets above are summarized in Tables 1 and 2. It shows that our method outperforms other methods in terms of test accuracy for classification tasks and mean squared error and root mean squared error (MSE and RMSE) for regression tasks. For each of the datasets, we run the experiments ten times after finding the optimal hyperparameters and report the mean and standard deviation of the best five results. Experiment results show that networks learned by our method can achieve better results with fewer parameters, than the best-known algorithms for monotonic neural networks, such as Min-Max Network (Daniels & Velikova, 2010) and Deep Lattice Network (You et al., 2017). It should be noted that the recent state-of-the-art works- Certified (Liu et al., 2020) and COMET (Sivaraman et al., 2020) require multiple runs in order to even satisfy monotonic constraints whereas monotonicity is guaranteed by simply employing the proposed monotonic dense units.
282
+
283
+ The most important advantage of our solution is simplicity and computational complexity. Our models have slightly better performance on all datasets we tested them on, but it is important to note they have significantly fewer parameters and the simplest training procedure. As such, they have the
284
+
285
+ potential to significantly reduce the carbon footprint when used at scale:
286
+
287
+ - The number of parameters of our model is an order or even two orders of magnitude smaller than alternatives. At prediction time, this translates roughly into 1-2 orders of magnitude less computation (most parameters are used in multiplications)
288
+ - At training time, we do not use any additional computationally expensive procedures apart from gradient descent, unlike alternative approaches such as COMET (Sivaraman et al., 2020) and Certified (Liu et al., 2020).
289
+
290
+ # 5. Conclusion
291
+
292
+ In this paper, we proposed a simple and elegant solution to build constrained monotonic networks which can approximate any continuous partially monotonic function. Specifically, we introduced a constrained monotone fully connected layer which can be used as a drop-in replacement for a fully connected layer to enforce monotonicity. We then employed our constrained monotone fully connected layer to build neural network models and showed that we can achieve better results to the recent state-of-the-art (Sivaraman et al., 2020; Liu et al., 2020) in addition to the well-known works such as Min-Max networks (Daniels & Velikova, 2010) and DLNs (You et al., 2017). However, the main advantage of the proposed solution is not higher accuracy but its computational and memory complexity: we use orders of magnitude
293
+
294
+ fewer parameters and computation which makes the resulting neural networks more energy efficient. Last but not least, we proved such networks can approximate any multivariate monotonic function.
295
+
296
+ Extending these results to other types of neural network layers is straightforward, but we leave it for future work. E.g. convolutional layer can be made monotonic with respect to a subset of features by replacing its fully-connected filters with monotone constrained fully connected layers. As long as such layers are combined with other monotonic convolutional and fully connected layers and monotone activation functions, the resulting neural network would be monotone.
297
+
298
+ # References
299
+
300
+ Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R., Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K., Tucker, P., Vanhoucke, V., Vasudevan, V., Viégas, F., Vinyals, O., Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and Zheng, X. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from https://tensorflow.org.
301
+ Amos, B., Xu, L., and Kolter, J. Z. Input convex neural networks. In Precup, D. and Teh, Y. W. (eds.), Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 146-155. PMLR, 06-11 Aug 2017. URL https://proceedings.mlr.press/v70/amos17b.html.
302
+ Archer, N. P. and Wang, S. Application of the back propagation neural network algorithm with monotonicity constraints for two-group classification problems. Decision Sciences, 24(1):60-75, 1993.
303
+ Barrett, C. and Tinelli, C. Satisfiability modulo theories. In Handbook of model checking, pp. 305-343. Springer, 2018.
304
+ Bisong, E. Google Colaboratory, pp. 59-64. Apress, Berkeley, CA, 2019. ISBN 978-1-4842-4470-8. doi:10.1007/978-1-4842-4470-8_7. URL https://doi.org/10.1007/978-1-4842-4470-8_7.
305
+ Buza, K. Feedback prediction for blogs. In Data analysis, machine learning and knowledge discovery, pp. 145-152. Springer, 2014.
306
+ Chen, T. and Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM
307
+
308
+ SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '16, pp. 785-794, New York, NY, USA, 2016. ACM. ISBN 978-1-4503-4232-2. doi:10.1145/2939672.2939785. URL http://doi.acm.org/10.1145/2939672.2939785.
309
+ Chollet, F. et al. Keras. https://keras.io, 2015.
310
+ Clevert, D., Unterthiner, T., and Hochreiter, S. Fast and accurate deep network learning by exponential linear units (ELUs). In Bengio, Y. and LeCun, Y. (eds.), 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings, 2016.
311
+ Cybenko, G. Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals, and Systems (MCSS), 2(4):303-314, December 1989. ISSN 0932-4194. doi:10.1007/BF02551274. URL http://dx.doi.org/10.1007/BF02551274.
312
+ Daniels, H. and Velikova, M. Monotone and partially monotone neural networks. IEEE Transactions on Neural Networks, 21(6):906-917, 2010.
313
+ Dugas, C., Bengio, Y., Bélisle, F., Nadeau, C., and Garcia, R. Incorporating second-order functional knowledge for better option pricing. Advances in neural information processing systems, 13, 2000.
314
+ Eidnes, L. H. and Nøkland, A. Shifting mean activation towards zero with bipolar activation functions. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Workshop Track Proceedings, 2018.
315
+ Gennari, J. H., Langley, P., and Fisher, D. Models of incremental concept formation. Artificial intelligence, 40(1-3): 11-61, 1989.
316
+ Glorot, X., Bordes, A., and Bengio, Y. Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 315-323. JMLR Workshop and Conference Proceedings, 2011.
317
+ Gupta, A., Shukla, N., Marla, L., Kolbeinsson, A., and Yellepeddi, K. How to incorporate monotonicity in deep networks while preserving flexibility? arXiv preprint arXiv:1909.10662, 2019.
318
+ Gupta, M., Cotter, A., Pfeifer, J., Voevodski, K., Canini, K., Mangylov, A., Moczydlowski, W., and Van Esbroeck, A. Monotonic calibrated interpolated look-up tables. The Journal of Machine Learning Research, 17(1):3790-3836, 2016.
319
+
320
+ He, K., Zhang, X., Ren, S., and Sun, J. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision, pp. 1026-1034, 2015.
321
+ Hendrycks, D. and Gimpel, K. Bridging nonlinearities and stochastic regularizers with Gaussian error linear units. CoRR, abs/1606.08415, 2016.
322
+ Hornik, K. Approximation capabilities of multilayer feedforward networks. Neural Networks, 4(2):251-257, Mar 1991. doi:10.1016/0893-6080(91)90009-T. URL https://doi.org/10.1016/0893-6080(91)90009-T.
323
+ J. Angwin, J. Larson, S. M. and Kirchner, L. Machine bias: There's software used across the country to predict future criminals. and it's biased against blacks. ProPublica, 2016.
324
+ Kidger, P. and Lyons, T. Universal approximation with deep narrow networks. In Proceedings of the 33rd Annual Conference on Learning Theory (COLT 2020), pp. 2306-2327, 2020.
325
+ Klambauer, G., Unterthiner, T., Mayr, A., and Hochreiter, S. Self-normalizing neural networks. Advances in neural information processing systems, 30, 2017.
326
+ LeCun, Y., Bengio, Y., and Hinton, G. Deep learning. Nature, 521(7553):436-444, May 2015. ISSN 1476-4687. doi:10.1038/nature14539.
327
+ Liu, X., Han, X., Zhang, N., and Liu, Q. Certified monotonic neural networks. Advances in Neural Information Processing Systems, 33:15427-15438, 2020.
328
+ Maas, A. L., Hannun, A. Y., Ng, A. Y., et al. Rectifier nonlinearities improve neural network acoustic models. In ICML Workshop on Deep Learning for Audio, Speech and Language Processing. CiteSeer, 2013.
329
+ Milani Fard, M., Canini, K., Cotter, A., Pfeifer, J., and Gupta, M. Fast and flexible monotonic functions with ensembles of lattices. Advances in neural information processing systems, 29, 2016.
330
+ Mitchell, T. M. The need for biases in learning generalizations. Technical report, Department of Computer Science, Laboratory for Computer Science Research, Rutgers Univ. New Jersey, 1980.
331
+ Nair, V. and Hinton, G. E. Rectified linear units improve restricted Boltzmann machines. In ICML, pp. 807-814, 2010.
332
+ Neal, R. M. Connectionist learning of belief networks. Artificial intelligence, 56(1):71-113, 1992.
333
+
334
+ O'Malley, T., Bursztein, E., Long, J., Chollet, F., Jin, H., Invernizzi, L., et al. Kerastuner. https://github.com/keras-team/keras-tuner, 2019.
335
+ Pinkus, A. Approximation theory of the mlp model in neural networks. Acta Numerica, 8:143-195, 1999. doi:10.1017/S0962492900002919.
336
+ Quinlan, J. R. Combining instance-based and model-based learning. In Proceedings of the tenth international conference on machine learning, pp. 236-243, 1993.
337
+ Ramachandran, P., Zoph, B., and Le, Q. V. Swish: a self-gated activation function. arXiv preprint arXiv:1710.05941, 7(1):5, 2017.
338
+ Rosenblatt, F. The perceptron: a probabilistic model for information storage and organization in the brain. *Psychological review*, 65(6):386, 1958.
339
+ Rudin, C., Wang, C., and Coker, B. The age of secrecy and unfairness in recidivism prediction. Harvard Data Science Review, 2(1), 3 2020.
340
+ Rumelhart, D. E., Hinton, G. E., and Williams, R. J. Learning representations by back-propagating errors. Nature, 323(6088):533-536, 1986.
341
+ Runje, D. and Shankaranarayana, S. M. Code of the experiments in the paper "Constrained Monotonic Neural Networks", May 2023a. URL https://github.com/ airtai/mono-dense-keras.
342
+ Runje, D. and Shankaranarayana, S. M. Preprocessed datasets for experiments in the paper "Constrained Monotonic Neural Networks", May 2023b. URL https://doi.org/10.5281/zenodo.7968969.
343
+ Shang, W., Sohn, K., Almeida, D., and Lee, H. Understanding and improving convolutional neural networks via concatenated rectified linear units. CoRR, abs/1603.05201, 2016. URL http://arxiv.org/abs/1603.05201.
344
+ Sill, J. Monotonic networks. Advances in neural information processing systems, 10, 1997.
345
+ Sill, J. and Abu-Mostafa, Y. Monotonicity hints. Advances in neural information processing systems, 9, 1996.
346
+ Sivaraman, A., Farnadi, G., Millstein, T., and Van den Broeck, G. Counterexample-guided learning of monotonic neural networks. Advances in Neural Information Processing Systems, 33:11936-11948, 2020.
347
+ Snoek, J., Larochelle, H., and Adams, R. P. Practical bayesian optimization of machine learning algorithms. In Pereira, F., Burges, C., Bottou, L., and Weinberger,
348
+
349
+ K. (eds.), Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012. URL https://proceedings.neurips.cc/paper_files/paper/2012/file/05311655a15b75fab86956663e1819cd-Paper.pdf.
350
+ Veličković, P. The resurgence of structure in deep neural networks. PhD thesis, University of Cambridge, 2019.
351
+ You, S., Ding, D., Canini, K., Pfeifer, J., and Gupta, M. Deep lattice networks and partial monotonic functions. Advances in neural information processing systems, 30, 2017.
352
+ Zagoruyko, S. and Komodakis, N. Diracnets: Training very deep neural networks without skip-connections. CoRR, abs/1706.00388, 2017. URL https://arxiv.org/abs/1706.00388.
353
+ Zheng, H., Yang, Z., Liu, W., Liang, J., and Li, Y. Improving deep neural networks using softplus units. In 2015 International Joint Conference on Neural Networks (IJCNN), pp. 1-4. IEEE, 2015.
354
+
355
+ # A. Detailed proofs
356
+
357
+ We restate all lemmas from the main text here are give detailed proofs of them.
358
+
359
+ The following is well known result, proved here for completeness only:
360
+
361
+ Lemma 1. For each $i\in \{1,\dots ,n\}$ and $j\in \{1,\ldots ,m\}$ we have:
362
+
363
+ - if $t_i = 1$ , then $\frac{\partial h_j}{\partial x_i} \geq 0$ , and
364
+ - if $t_i = -1$ , then $\frac{\partial h_j}{\partial x_i} \leq 0$ .
365
+
366
+ Proof. From equation 3, we have
367
+
368
+ $$
369
+ \mathbf {h} = \left| \mathbf {W} ^ {T} \right| _ {\mathbf {t}} \cdot \mathbf {x} + \mathbf {b} \tag {8}
370
+ $$
371
+
372
+ $$
373
+ h _ {j} = \sum_ {i} w _ {i, j} ^ {\prime} x _ {i} + b _ {j} \tag {9}
374
+ $$
375
+
376
+ $$
377
+ \frac {\partial h _ {j}}{\partial x _ {i}} = w _ {i, j} ^ {\prime} \tag {10}
378
+ $$
379
+
380
+ Finally, from equation 2 we have
381
+
382
+ $$
383
+ \frac {\partial h _ {j}}{\partial x _ {i}} = \left\{ \begin{array}{l l} | w _ {i, j} | \geq 0 & \text {i f} t _ {i} = 1 \\ - | w _ {i, j} | \leq 0 & \text {i f} t _ {i} = - 1 \end{array} \right.
384
+ $$
385
+
386
+ Lemma 2. Let $\mathbf{y} = \rho^{\mathbf{s}}(\mathbf{h})$ . Then for each $j \in \{1, \ldots, m\}$ we have $\frac{\partial y_j}{\partial h_j} \geq 0$ . Moreover
387
+
388
+ - if $\mathbf{s} = (m,0,0)$ , then $\rho_{j}^{\mathbf{s}}$ is convex; and
389
+ - if $\mathbf{s} = (0, m, 0)$ , then $\rho_j^{\mathbf{s}}$ is concave.
390
+
391
+ Proof. From equation 4,5 and 6:
392
+
393
+ $$
394
+ \hat {\rho} (x) = - \check {\rho} (- x)
395
+ $$
396
+
397
+ $$
398
+ \tilde {\rho} (x) = \left\{ \begin{array}{l l} \breve {\rho} (x + 1) - \breve {\rho} (1) & \text {i f} x < 0 \\ \hat {\rho} (x - 1) - \hat {\rho} (1) & \text {o t h e r w i s e} \end{array} \right.
399
+ $$
400
+
401
+ $$
402
+ \rho^ {\mathbf {s}} (h _ {j}) = \left\{ \begin{array}{l l} \check {\rho} (h _ {j}) & \text {i f} j \leq \check {s} \\ \hat {\rho} (h _ {j}) & \text {i f} \check {s} < j \leq \hat {s} \\ \tilde {\rho} (h _ {j}) & \text {o t h e r w i s e} \end{array} \right.
403
+ $$
404
+
405
+ we have:
406
+
407
+ $$
408
+ \frac {\partial y _ {j}}{\partial h _ {j}} = \left\{ \begin{array}{l l} \check {\rho} ^ {\prime} (h _ {j}) \geq 0 & \text {i f} j \leq \check {s} \\ \check {\rho} ^ {\prime} (- h _ {j}) \geq 0 & \text {i f} \check {s} < j \leq \hat {s} \\ \check {\rho} ^ {\prime} (h _ {j} + 1) \geq 0 & \text {i f} \check {s} + \hat {s} < j \text {a n d} h _ {j} < 0 \\ \check {\rho} ^ {\prime} (1 - h _ {j}) \geq 0 & \text {i f} \check {s} + \hat {s} < j \text {a n d} h _ {j} \geq 0 \end{array} \right.
409
+ $$
410
+
411
+ if $\mathbf{s} = (m,0,0)$ , we have:
412
+
413
+ $$
414
+ \rho^ {\mathbf {s}} \left(h _ {j}\right) = \check {\rho} \left(h _ {j}\right)
415
+ $$
416
+
417
+ which is a convex function.
418
+
419
+ Similarly, if $\mathbf{s} = (0,m,0)$ , we have:
420
+
421
+ $$
422
+ \rho^ {\mathbf {s}} (h _ {j}) = \hat {\rho} (h _ {j})
423
+ $$
424
+
425
+ which is a concave function.
426
+
427
+ Corollary 3. For each $i\in \{1,\ldots ,n\}$ $j\in \{1,\dots ,m\}$ we have:
428
+
429
+ - if $t_i = 1$ , then $\frac{\partial y_j}{\partial x_i} \geq 0$
430
+ if $t_i = -1$ , then $\frac{\partial y_j}{\partial x_i} \leq 0$
431
+ - if $\mathbf{s} = (m,0,0)$ , then $\mathbf{y}_j$ is convex; and
432
+ - if $\mathbf{s} = (0, m, 0)$ , then $\mathbf{y}_j$ is concave.
433
+
434
+ For completeness, we repeat the Theorem 3.1 from (Daniels & Velikova, 2010) and its proof here:
435
+
436
+ Theorem 4. For any continuous monotone nondecreasing function $f: K \to \mathbb{R}$ , where $K$ is a compact subset of $\mathbb{R}^k$ , there exists a feedforward neural network using the sigmoid as the activation function with at most $k$ hidden layers, positive weights, and output $O$ such that $|O_x - f(x)| < \epsilon$ , for any $x \in K$ and $\epsilon > 0$ .
437
+
438
+ Proof. The proof is derived by induction on the number of input variables $k$ . Without loss of generality, we may assume that $f > 0$ (otherwise, we add a constant $C$ and approximate $f + C$ with the network output $O$ , then modify $O$ with a negative bias at the output node). First, we assume that $f$ is strictly increasing and $C^\infty$ . In case of $k = 1$ , we write
439
+
440
+ $$
441
+ f (x) = \int_ {0} ^ {\infty} \mathbf {H} (f (x) - u) d u \tag {11}
442
+ $$
443
+
444
+ where $\mathbf{H}$ is the Heaviside function:
445
+
446
+ $$
447
+ H (x) = \left\{ \begin{array}{l l} 1 & \text {i f} x \geq 0 \\ 0 & \text {o t h e r w i s e} \end{array} \right.
448
+ $$
449
+
450
+ Since $f$ is continuous and increasing, it is invertible and therefore the right-hand side of 11 can be written as
451
+
452
+ $$
453
+ f (x) = \int_ {0} ^ {\infty} \mathbf {H} \left(x - f ^ {- 1} (v)\right) d v \tag {12}
454
+ $$
455
+
456
+ The integral can be approximated arbitrarily well by a Riemann sum
457
+
458
+ $$
459
+ \sum_ {i = 1} ^ {N} \left(v _ {i + 1} - v i\right) \mathbf {H} \left(x - f ^ {- 1} \left(v _ {i}\right)\right) \tag {13}
460
+ $$
461
+
462
+ where $[v_i]_{i=1}^N$ is a partition of the interval $[f(a), f(b)]$ . This expression corresponds to a neural network with input $x$ , one hidden layer with $N$ neurons all connected to the input with weight of 1, bias term in the hidden neurons $f^{-1}(v_i)$ , and the weights connecting the hidden layer with the output $v_{i+1} - v_i > 0$ . Note that the Heaviside function $\mathbf{H}$ can be replaced by a sigmoid activation function using a standard approximation argument.
463
+
464
+ Assume that Theorem 3.1 holds for $k - 1$ input variables. We now combine the integral representation in 11 with the induction assumption. For a given $v$ , we may solve the equation of the level set corresponding to $v$ for $x_{k}$
465
+
466
+ $$
467
+ f (x _ {1}, \dots , x _ {k}) = v.
468
+ $$
469
+
470
+ By the implicit function theorem, there exists a function $g_v$ such that
471
+
472
+ $$
473
+ f \left(x _ {1}, \dots , g _ {v} \left(x _ {1}, \dots , x _ {k - 1}\right)\right) = v. \tag {14}
474
+ $$
475
+
476
+ Note that $g_{v}$ is decreasing in all arguments $x_{i}$ . This can be seen by taking the partial derivative of 14 with respect to $x_{i}$ . We will now show that
477
+
478
+ $$
479
+ \mathbf {H} \left(f (x) - v\right) = \mathbf {H} \left(x _ {k} - g _ {v} \left(x _ {1}, \dots , x _ {k - 1}\right)\right)
480
+ $$
481
+
482
+ analogously to 12 for the 1-D case. Note that it is sufficient to show that
483
+
484
+ $$
485
+ f (x) < v \text {i f a n d o n l y i f} x _ {k} < g _ {v} \left(x _ {1}, \dots , x _ {k - 1}\right)
486
+ $$
487
+
488
+ and
489
+
490
+ $$
491
+ f (x) > v \text {i f a n d o n l y i f} x _ {k} > g _ {v} \left(x _ {1}, \dots , x _ {k - 1}\right).
492
+ $$
493
+
494
+ But this follows easily from 14 and the fact that $f$ is increasing in all its arguments. We now approximate the integral in 11 with a Riemann sum, leading to the following equation analogously to 13:
495
+
496
+ $$
497
+ R = \sum_ {i = 1} ^ {N} \left(v _ {i - 1} - v _ {i}\right) \mathbf {H} \left(x _ {k} - g _ {v _ {i}} \left(x _ {1}, \dots , x _ {k - 1}\right)\right) \tag {15}
498
+ $$
499
+
500
+ Since $g_{v_i}$ is decreasing in all its arguments $-g_{v_i}$ is increasing. By the induction assumption, we can approximate $-g_{v_i}$ with a feedforward neural network $O_i$ with $x_1, \ldots, x_{k-1}$ as inputs, $k-1$ hidden layers, and nonnegative weights, such that
501
+
502
+ $$
503
+ \left| \sum_ {i = 1} ^ {N} \left(v _ {i - 1} - v _ {i}\right) \mathbf {H} \left(x _ {k} - O _ {i} \left(x _ {1}, \dots , x _ {k - 1}\right)\right) - R \right| < \epsilon
504
+ $$
505
+
506
+ because the sum is finite. Expression 15 corresponds to a feedforward neural network with $k$ inputs and $k$ hidden layers. Here $k - 1$ hidden layers are needed to represent $-g_{v_i}$ and the $k$ -th hidden layer is needed to combine $N$ neural networks with outputs $O_i$ and the input $x_k$ . The weights on the connections between the last hidden layer and the final output are $(v_{i + 1} - v_i) > 0$ . The input $x_k$ is directly (skip-layer) connected to the $k$ -th hidden layer.
507
+
508
+ We can now easily generalize the proof to continuous nondecreasing functions. For continuous functions, we define the convolution of $f$ with a mollifier $K_{\delta}$ by
509
+
510
+ $$
511
+ f _ {\delta} = f \otimes K _ {\delta}
512
+ $$
513
+
514
+ Then, $f_{\delta}$ is $C^\infty$ and $f_{\delta} \longrightarrow f$ as $\delta \downarrow 0$ uniform on compact subsets. Furthermore, $f_{\delta}$ is also increasing since $K_{\delta} > 0$ . Now choose $\delta$ such that $|f - f_{\delta}| < \frac{\epsilon}{2}$ and approximate $f_{\delta}$ with a feedforward neural network $O$ such that $|f_{\delta} - O| < \frac{\epsilon}{2}$ . Then, $|f - O| < \epsilon$ .
515
+
516
+ If $f$ is nondecreasing, then approximate $f$ by $f_{\delta}$
517
+
518
+ $$
519
+ f _ {\delta} = f + \delta \left(x _ {1} + \dots + x _ {k}\right)
520
+ $$
521
+
522
+ which is strictly increasing and let $\delta \downarrow 0$
523
+
524
+ Lemma 5. Let $\breve{\rho} \in \check{\mathcal{A}}$ . Then the Heavyside function can be approximated with $\tilde{\rho}_H$ on $\mathbb{R}$ , where
525
+
526
+ $$
527
+ \tilde {\rho} _ {H} (x) = \alpha \tilde {\rho} (x) + \beta
528
+ $$
529
+
530
+ for some $\alpha, \beta \in \mathbb{R}$ and $\alpha > 0$ .
531
+
532
+ Proof. Since $\check{\rho}$ is bounded from below, then it has a limit
533
+
534
+ $$
535
+ c = \lim _ {x \rightarrow - \infty} \check {\rho} (x) = - \lim _ {x \rightarrow \infty} \hat {\rho} (x) < 0
536
+ $$
537
+
538
+ From equation 5, we have
539
+
540
+ $$
541
+ \lim _ {x \rightarrow - \infty} \tilde {\rho} (x) = \lim _ {x \rightarrow - \infty} \breve {\rho} (x) - \breve {\rho} (1) = c - \breve {\rho} (1)
542
+ $$
543
+
544
+ $$
545
+ \lim _ {x \rightarrow + \infty} \tilde {\rho} (x) = \lim _ {x \rightarrow \infty} \hat {\rho} (x) + \breve {\rho} (1) = - (c - \breve {\rho} (1))
546
+ $$
547
+
548
+ Let $\tilde{\rho}_H$ be defined as follows:
549
+
550
+ $$
551
+ \tilde {\rho} _ {H} (x) = \frac {\tilde {\rho} (x) - c + \breve {\rho} (1)}{2 (- c + \breve {\rho} (1))}
552
+ $$
553
+
554
+ Then
555
+
556
+ $$
557
+ \lim _ {a \to \infty} \tilde {\rho} _ {H} (a \cdot x) = H (x)
558
+ $$
559
+
560
+ ![](images/dd6a8ff7408d132809c671b23c138c8562fd88d74c6e6573c54f47147ec6eedc.jpg)
561
+
562
+ Lemma 6. Let $\tilde{\rho}_{\alpha,\beta}$ be an activation function for some $\alpha, \beta \in \mathbb{R}, \alpha > 0$ such that for every $x \in \mathbb{R}$
563
+
564
+ $$
565
+ \tilde {\rho} _ {\alpha , \beta} (x) = \alpha \tilde {\rho} (x) + \beta .
566
+ $$
567
+
568
+ Then for every constrained monotone neural network $\mathcal{N}_{\alpha,\beta}$ using $\tilde{\rho}_{\alpha,\beta}$ as an activation function ( $s = (0,0,\tilde{s})$ ), there is a constrained monotone neural network $\mathcal{N}$ using $\tilde{\rho}$ as an activation function such that for every $\mathbf{x} \in \mathbb{R}^n$ :
569
+
570
+ $$
571
+ \mathcal {N} (\mathbf {x}) = \mathcal {N} _ {\alpha , \beta} (\mathbf {x}).
572
+ $$
573
+
574
+ Proof. Let $\mathbf{h}_k$ be the output of the $k$ -th constrained linear layer of $\mathcal{N}_{\alpha,\beta}$ evaluated on input $\mathbf{x}$ . For every $k > 1$ , we have
575
+
576
+ $$
577
+ \mathbf {h} _ {1} = | \mathbf {W} _ {1} | _ {\mathbf {t} _ {1}} \cdot \mathbf {x} + \mathbf {b} _ {1}
578
+ $$
579
+
580
+ $$
581
+ \mathbf {h} _ {k} = \left| \mathbf {W} _ {k} \right| _ {\mathbf {t} _ {k}} \cdot \mathbf {y} _ {k - 1} + \mathbf {b} _ {k}
582
+ $$
583
+
584
+ $$
585
+ \mathbf {y} _ {k} = \tilde {\rho} _ {\alpha , \beta} (\mathbf {h} _ {k})
586
+ $$
587
+
588
+ $$
589
+ \mathbf {y} = \mathbf {h} _ {l}
590
+ $$
591
+
592
+ where $l$ is the total number of layers of $\mathcal{N}_{\alpha, \beta}$ . We can rewrite $\mathbf{h}_k$ as follows:
593
+
594
+ $$
595
+ \begin{array}{l} \mathbf {h} _ {k} = \left| \mathbf {W} _ {k} \right| _ {\mathbf {t} _ {k}} \cdot \mathbf {y} _ {k - 1} + \mathbf {b} _ {k} \\ = \left| \mathbf {W} _ {k} \right| _ {\mathbf {t} _ {k}} \cdot \tilde {\rho} _ {\alpha , \beta} \left(\mathbf {h} _ {k - 1}\right) + \mathbf {b} _ {k} \\ = \left| \mathbf {W} _ {k} \right| _ {\mathbf {t} _ {k}} \cdot \left(\alpha \tilde {\rho} \left(\mathbf {h} _ {k - 1}\right) + \beta \mathbf {1}\right) + \mathbf {b} _ {k} \quad (\text {w i t h} | \mathbf {1} | = | \mathbf {h} _ {k - 1} |) \\ = \alpha | \mathbf {W} _ {k} | _ {\mathbf {t} _ {k}} \cdot \tilde {\rho} (\mathbf {h} _ {k - 1}) + \beta | \mathbf {W} _ {k} | _ {\mathbf {t} _ {k}} \mathbf {1} + \mathbf {b} _ {k} \\ = | \alpha \mathbf {W} _ {k} | _ {\mathbf {t} _ {k}} \cdot \tilde {\rho} (\mathbf {h} _ {k - 1}) + \beta | \mathbf {W} _ {k} | _ {t _ {k}} \mathbf {1} + \mathbf {b} _ {k} \quad \left(\text {f r o m} \alpha > 0\right) \\ = \left| \mathbf {W} _ {k} ^ {\prime} \right| _ {t _ {k}} \cdot \tilde {\rho} \left(\mathbf {h} _ {k - 1}\right) + \mathbf {b} _ {k} ^ {\prime} \\ \end{array}
596
+ $$
597
+
598
+ for $\mathbf{W}_k^{\prime} = \alpha \mathbf{W}_k$ and $\mathbf{b}_k^\prime = \beta |\mathbf{W}_k|_{t_k}\mathbf{1} + \mathbf{b}_k$
599
+
600
+ Hence, for every $\mathbf{x} \in \mathbb{R}^n$ , the output of the neural network $\mathcal{N}$ with weights $\mathbf{W}_1, \mathbf{W}_2', \ldots, \mathbf{W}_l'$ and biases $\mathbf{b}_1, \mathbf{b}_2', \ldots, \mathbf{b}_l'$ is:
601
+
602
+ $$
603
+ \mathcal {N} (\mathbf {x}) = \mathcal {N} _ {\alpha , \beta} (\mathbf {x})
604
+ $$
605
+
606
+ Theorem 7. Let $\breve{\rho} \in \check{\mathcal{A}}$ . Then any multivariate continuous monotone function $f$ on a compact subset of $\mathbb{R}^k$ can be approximated with a monotone constrained neural network of at most $k$ layers using $\rho$ as the activation function.
607
+
608
+ Proof. The proof of the Theorem 4 uses only the fact that the Heaviside function $\mathbf{H}$ defined as
609
+
610
+ $$
611
+ H (x) = \left\{ \begin{array}{l l} 1 & \text {i f} x \geq 0 \\ 0 & \text {o t h e r w i s e} \end{array} \right.
612
+ $$
613
+
614
+ can be approximated with the sigmoid function on a closed interval (since $\lim_{a\to \infty}\sigma (ax) = H(x)$ ).
615
+
616
+ From the Theorem 4 and the Lemma 5, any continuous monotone function $f$ on a compact subset of $\mathbb{R}^k$ can be approximated with a monotone constrained neural network with at most $k$ layers using $\tilde{\rho}_H$ as the activation function.
617
+
618
+ From Lemma 6, we can replace $\tilde{\rho}_H$ with $\tilde{\rho}$ . Hence, any continuous monotone function $f$ on a compact subset of $\mathbb{R}^k$ can be approximated with a monotone constrained neural network with at most $k$ layers using $\rho$ as the activation function and $\mathbf{s}_i = (0,0,\tilde{s}_i)$ .
619
+
620
+ ![](images/9e3be79e1a3222622a5c6adfe5e5f6623ec263f33c89725ce9aa5531573e68c2.jpg)
621
+
622
+ # B. Datasets Description
623
+
624
+ The descriptions of datasets used for comparison are detailed below. As mentioned in the section 4, the datasets are chosen from (Liu et al., 2020) and (Sivaraman et al., 2020) for proper evaluation. The train-test splits of $80\% - 20\%$ are used for all comparison experiments.
625
+
626
+ 1. COMPAS (J. Angwin & Kirchner, 2016) is a binary classification dataset, where the task is to predict risk score of an individual committing crime again two years, based on the criminal records of individuals arrested in Florida. The risk score needs to be monotonically increasing with respect to the following attributes: number of prior adult convictions, number of juvenile felony, number of juvenile misdemeanor, and number of other convictions. It should be noted that there have been ethical concerns with the dataset (J. Angwin & Kirchner, 2016; Rudin et al., 2020)
627
+ 2. Blog Feedback (Buza, 2014) is a regression dataset where the task is to predict the number of comments in the upcoming 24 hours from a feature set containing 276 features of which 8 (A51, A52, A53, A54, A56, A57, A58, A59) are monotonic features. The readers are suggested to refer to link ${}^{2}$ for more details. As mentioned by the authors of (Liu et al., 2020), only the data points with targets smaller than the 90th percentile are used since the outliers could dominate the mean-squared-error metric.
628
+ 3. Lending club loan data<sup>3</sup> is a classification dataset, where the task is to predict whether the individual would default on loan, from a feature set having 28 features containing data such as the current loan status, latest payment information etc.. The probability of default should be non-decreasing with respect to number of public record bankruptcies, Debt-to-Income ratio, and non-increasing with respect to credit score, length of employment, annual income.
629
+ 4. Auto $\mathbf{MPG}^4$ (Quinlan, 1993) is a regression dataset where the task is to predict city-cycle fuel consumption in miles per gallon (MPG) from a feature set containing 7 features of which the monotonic features are weight (W), displacement (D), and horse-power (HP)
630
+ 5. Heart Disease $^{5}$ (Gennari et al., 1989) is a classification dataset, where the task is to predict the presence of heart disease from a feature set containing 13 features of which the risk associated with heart disease needs to be monotonically increasing with respect to the features trestbps (T), cholestrol (C))
2023/Constrained Monotonic Neural Networks/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3f0fa7c9148ddf39c3871c71322d17b13b84b2b499f75ec1e9bd6ab1f9bad92
3
+ size 499282
2023/Constrained Monotonic Neural Networks/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/b09ef1e3-93dc-4595-8cb1-368c337a0ba2_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfc2790c5ed13767b1953ba7ab302fbf02526e58dab99af3ffd1779d6caa7873
3
+ size 1382575
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0001859fe92f44406ff45bfd8266c31a9f573456ce46a14e8c66c82a76c47334
3
+ size 1912939
2023/Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketching/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Phi-Equilibria/e2c659f5-cca7-424c-af72-8db1cfe99592_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bf93882b36697c4945a6bd24936d95d1bd05651093d636a815af1cd57724152
3
+ size 489042
2023/Constrained Phi-Equilibria/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2023/Constrained Phi-Equilibria/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2bed83afd5364c666b0e26d696ad59288ee808fca0dae1f1106cdabbda86d87
3
+ size 959845
2023/Constrained Phi-Equilibria/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context Consistency Regularization for Label Sparsity in Time Series/c307eba3-2c86-4839-b84c-6ea34ce1af6a_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81abf5296149103f32a3f5d9dbd5405f31e2b6b14d6e0181be3bf6cb8b02a58f
3
+ size 1123757
2023/Context Consistency Regularization for Label Sparsity in Time Series/full.md ADDED
@@ -0,0 +1,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Context Consistency Regularization for Label Sparsity in Time Series
2
+
3
+ Yooju Shin $^{1}$ Susik Yoon $^{2}$ Hwanjun Song $^{3}$ Dongmin Park $^{1}$ Byunghyun Kim $^{4}$ Jae-Gil Lee $^{4}$ Byung Suk Lee $^{5}$
4
+
5
+ # Abstract
6
+
7
+ Labels are typically sparse in real-world time series due to the high annotation cost. Recently, consistency regularization techniques have been used to generate artificial labels from unlabeled augmented instances. To fully exploit the sequential characteristic of time series in consistency regularization, we propose a novel method of data augmentation called context-attached augmentation, which adds preceding and succeeding instances to a target instance to form its augmented instance. Unlike the existing augmentation techniques that modify a target instance by directly perturbing its attributes, the context-attached augmentation generates instances augmented with varying contexts while maintaining the target instance. Based on our augmentation method, we propose a context consistency regularization framework, which first adds different contexts to a target instance sampled from a given time series and then shares unitary reliability-based cross-window labels across the augmented instances to maintain consistency. We demonstrate that the proposed framework outperforms the existing state-of-the-art consistency regularization frameworks through comprehensive experiments on real-world time-series datasets.
8
+
9
+ # 1 Introduction
10
+
11
+ A time series is a collection of consecutive data points, often annotated with temporally coherent timestamp labels. As the boundaries of coherent labels are unknown in practice, a classifier is trained to predict the label of each timestamp (Farha & Gall, 2019). However, due to the length of and complexity in a time series, labeling every times-
12
+
13
+ <sup>1</sup>Graduate School of Data Science, KAIST, Korea <sup>2</sup>Department of Computer Science, University of Illinois at Urbana-Champaign, USA <sup>3</sup>AWS AI Labs, USA <sup>4</sup>School of Computing, KAIST, Korea <sup>5</sup>Department of Computer Science, University of Vermont, USA. Correspondence to: Jae-Gil Lee <jaegil@kaist.ac.kr>.
14
+
15
+ Proceedings of the $40^{th}$ International Conference on Machine Learning, Honolulu, Hawaii, USA. PMLR 202, 2023. Copyright 2023 by the author(s).
16
+
17
+ tamp in the time series requires prohibitively high cost, and therefore, in reality, a lot of time series are only sparsely labeled (Moltisanti et al., 2019; Ma et al., 2020; Yoon et al., 2021; Shin et al., 2022). In this regard, consistency regularization is used as a promising way to train a model from sparse labels, by leveraging the model's output to infer new labels for unlabeled data points (Laine & Aila, 2017; Rizve et al., 2021). Consistency regularization enforces the consistency among the outputs of a model for a pair of augmented data instances, and thus data augmentation plays a key role in consistency regularization. Recent state-of-the-art consistency regularization methods, mostly developed for image data, necessitate domain-specific data augmentation such as color transformation and image rotation (Cubuk et al., 2020; Sohn et al., 2020; Zhang et al., 2021; Kim & Lee, 2022).
18
+
19
+ Such conventional data augmentation generates multiple different instances from a target instance (i.e., an instance for pseudo-labeling) by way of data perturbation. If data instances are independent of one another as in image data, there is no other way than to perturb the target instance itself. In contrast, using the sequential nature of time series, where data instances (segments or data points) are temporally correlated, it is feasible to generate multiple different instances from a target instance without perturbing it but by attaching its surrounding sequence (i.e., context). As shown in Figure 1(a), given a target instance in a time series, contexts of varying lengths are attached to the target instance to generate different pairs of "augmented" instances. We call this type of data augmentation the context-attached augmentation.
20
+
21
+ The key property of context-attached augmentation is to achieve the effect of data augmentation without perturbing a target instance. Being free of data perturbation brings several benefits. First, consistency between augmented instances can be enforced more reliably because a target instance itself is exactly the same among its augmented instances. Second, a sufficient number of augmented instances can be easily obtained by varying contexts. Third, it is computationally inexpensive, only requiring the retrieval of a sub-sequence from a time series. Moreover, context-attached augmentation can be used together with conventional data augmentation such as jittering and scaling. Thus, the novel concept of context-attached augmentation opens a new direction of context consistency regularization.
22
+
23
+ ![](images/87383fbfb6689cf547247a6ae45c1019d02d4fd19659cf85989bbe305d4ef1b7.jpg)
24
+ (a) Context-attached augmentation.
25
+ Figure 1. Key technique and overall procedure of CrossMatch.
26
+
27
+ ![](images/4088dd30b0e52ba060522ace794b79249c8639b03dbdcbd2bd0df59369f87b71.jpg)
28
+ (b) Model update with cross-window soft labels.
29
+
30
+ Despite its time-series-savvy concept and big benefits, applying context-attached augmentation for consistency regularization is challenging. First, it requires determining the proper number and length of contexts based on the trade-off between the expected performance improvement and training cost. Note that varying the context length in augmented instances incurs different complexity for a downstream task; intuitively, compared with the conventional data augmentation, a short context gives weak augmentation and a long context gives strong augmentation considering the intensity of perturbation. Second, a new consistency regularization method is needed to fully benefit from context-attached augmentation which does not perturb a target instance unlike the conventional data augmentation.
31
+
32
+ In this work, we propose a novel context consistency regularization framework with context-attached augmentation for time series, called CrossMatch. Given a target instance, CrossMatch generates a pair of augmented instances by attaching contexts to the preceding and succeeding positions of the target instance, respectively (Figure 1(a)). We theoretically and empirically show that such a minimal context-attached augmentation is sufficient to take a full advantage of the context consistency regularization. Then, CrossMatch conducts reliability-weighted mixing to generate cross-window soft labels from the augmented instances for regularizing the inference of the target instance (Figure 1(b)). In existing consistency regularization methods such as MixMatch (Berthelot et al., 2019) and FixMatch (Sohn et al., 2020), an artificial label is created as a form of a hard label; because the model's outputs for augmented instances could be biased by the perturbation of the target instance, the most confident label is chosen by averaging and sharpening in MixMatch and weak augmentation and thresholding in FixMatch. In CrossMatch, on the other hand, the model's
33
+
34
+ outputs from the two augmented instances are crossed in the form of a soft label; due to its target-preserving property, the outputs with different contexts can be considered equally meaningful. As shown in Figure 1(b), a pair of augmented instances generated from a target instance is fed to a model to get the two softmax outputs of the target instance. Then, a single set of cross-window soft labels is derived and enforced to each output for consistency regularization. These augmentation and regularization procedures are repeated in each training iteration.
35
+
36
+ Overall, the main contributions are summarized as follows:
37
+
38
+ - Proposing a novel context consistency regularization framework equipped with context-attached augmentation;
39
+ - Analyzing the impact of varying contexts theoretically and empirically to explain why CrossMatch works;
40
+ - Achieving higher classification accuracy than existing state-of-the-art methods (the FixMatch-style methods with jittering and scaling) by up to 23 percentage points.
41
+
42
+ # 2 Related Work
43
+
44
+ # 2.1 Data Augmentation
45
+
46
+ Data augmentation perturbs given data instances to generate diverse and sufficient data instances to prevent overfitting (Shorten & Khoshgoftaar, 2019). The techniques used in data augmentation usually manipulate features and can be classified into two categories: (1) inner-augmentation that changes the features within a data instance and (2) inter-augmentation that exploits features across multiple data instances. Rotation, flipping, scaling, cutout, and random erasing are the examples of inner-augmentation (DeVries & Taylor, 2017; Cubuk et al., 2019). Mix-up, cut-mix, and copy-paste are the representatives of inter-augmentation that mixes two full or partial images (Zhang et al., 2018; Yun
47
+
48
+ et al., 2019; Ghiasi et al., 2021). However, these studies have not considered context-additive augmentation because they deal with independent data instances such as images.
49
+
50
+ Time-series augmentation techniques have been devised in recent literature (Wen et al., 2021). They include jittering, scaling, window warping, window cropping, and the Fourier transform specialized in the time and frequency domains, and belong to the inner-augmentation category (Um et al., 2017; Eldele et al., 2021; Yue et al., 2022; Chen et al., 2022). The inter-augmentation category is considered to be ineffective because temporal patterns could be lost after mixing two time-series segments (Iwana & Uchida, 2021). These studies also consider a set of already segmented time series as candidate augmentation targets and assume that the instances in each segment have the same labels. Thus, they are not directly applicable to a single continuous time series with sparse labels, which is a more practical and challenging setting. Moreover, all of them perturb the target instances, following the common trend of existing data augmentation, whereas our method preserves the target instances.
51
+
52
+ # 2.2 Semi-Supervised Learning Based on Augmentations
53
+
54
+ Semi-supervised learning (SSL) trains a model with both labeled and unlabeled data instances (Van Engelen & Hoos, 2020). Unlabeled data instances are harnessed by two popular approaches: (1) self-supervised learning which is mostly based on contrastive learning or pretext tasks (Chen et al., 2020; Grill et al., 2020; Singh et al., 2021; Yoon et al., 2023) and (2) self-training which produces artificial labels for unlabeled data instances from model predictions (Lee, 2013; Chen et al., 2018; Xie et al., 2020; Pham et al., 2021). We focus on self-training owing to its simplicity and effectiveness demonstrated in recent studies (Yang et al., 2022).
55
+
56
+ State-of-the-art self-training methods, usually based on consistency regularization, force consistency in model predictions from multiple augmentations of a data instance. MixMatch (Berthelot et al., 2019) averages out the predictions from multiple augmentations and sharpens the averaged prediction to reduce the entropy in the pseudo-label. ReMixMatch (Berthelot et al., 2020) generates a sharpened pseudolabel from a weak augmentation and matches it against the predictions from multiple strong augmentations. FixMatch (Sohn et al., 2020) generates a one-hot pseudo-label by choosing a single class above a fixed confidence threshold. FlexMatch (Zhang et al., 2021) is a variation of FixMatch, which uses a dynamic confidence threshold to adapt to different learning speeds among different classes. Propagation regularizer (Kim & Lee, 2022) also reduces confidence in incorrect predictions to make FixMatch robust to a more sparse label setting. However, all these methods heavily rely on domain-specific augmentation and lack for consideration of time series.
57
+
58
+ There are several time-series semi-supervised learning methods in the literature, but most of them are based on self-supervised learning. In their settings, a model is first pre-trained with time-series self-supervision and then finetuned with initial labels. The examples of time-series self-supervisions are (1) pretext tasks such as forecasting and temporal relation prediction (Jawed et al., 2020; Fan et al., 2021), (2) contrastive learning with the aforementioned time-series augmentation techniques (Singh et al., 2021; Xiao et al., 2022), and (3) clustering results (Singhania et al., 2022). These methods target an already-segmented time series, which cannot deal with continuous time series with sparse labels (Ma et al., 2021; Xu et al., 2022).
59
+
60
+ # 3 CrossMatch: Cross-Window Consistency Regularization
61
+
62
+ # 3.1 Preliminaries and Problem Setting
63
+
64
+ Dataset and Model: Let $\mathcal{D} = \mathcal{X}\times \mathcal{Y} = \left\{\left(\mathbf{x}_t,y_t\right)\mid t\in \mathcal{T}\right\}$ be a time series, where $\mathcal{T}$ is an index set of timestamps, $\mathbf{x}_t\in \mathbb{R}^d$ is a $d$ -dimensional data point at timestamp $t$ ,and $y_{t}$ is a corresponding class label if $\mathbf{x}_t$ is labeled or null otherwise. Let $\mathcal{T}_L$ be the index set of labeled timestamps and $\mathcal{T}_U$ be the index set of unlabeled timestamps, where $\mathcal{T}_L\cup$ $\mathcal{T}_U = \mathcal{T}$ and $|\mathcal{T}_L|\ll |\mathcal{T}_U|$ . Here, $\mathcal{T}_L$ is sparse, meaning that its members are few and scattered. In this work, multiple consecutive timestamps, referred to as a segment instance (simply, an instance), are processed in a batch. An instance $X = \{\mathbf{x}_t\mid t\in [m - w:m + w)\}$ is a list of consecutive $2w$ data points (timelines) centered at timestamp $m$ ,where $[m - w:m + w)$ represents an integer interval from $m - w$ through $m + w - 1$ . Likewise, $Y = \{y_{t}\mid t\in [m - w:$ $m + w)\}$ is a set of the corresponding class labels, where $y_{t}\in \{1,\dots ,K\}$ and $K$ is the number of classes. A model $f_{\theta}$ predicts the sequential softmax probabilities of $X$ ,i.e., $f_{\theta}(X)\in [0,1]^{2w\times K}$ . The classification loss for training the model given $X$ and $Y$ is formulated as
65
+
66
+ $$
67
+ \ell (X, Y) = \frac {1}{2 w} \sum_ {t} \mathbf {1} _ {y _ {t} \neq \mathrm {n u l l}} H \left(f _ {\theta} (X) _ {t,:}, y _ {t}\right), \tag {1}
68
+ $$
69
+
70
+ where $H(\cdot, \cdot)$ is sparse categorical cross-entropy and $\cdot_{t,:}$ means indexing at timestamp $t$ .
71
+
72
+ Pseudo-Labeling: For each instance $X$ , using the maximum softmax probabilities conditioned on a confidence threshold $\tau$ , a pseudo-label $\hat{y}_t$ at each timestamp $t \in [m - w : m + w)$ is derived by
73
+
74
+ $$
75
+ \hat {y} _ {t} = \left\{ \begin{array}{l l} \arg \max _ {k \in \{1, \dots , K \}} f _ {\theta} (X) _ {t, k} & \text {i f} f _ {\theta} (X) _ {t, k} > \tau \\ \text {n u l l} & \text {o t h e r w i s e .} \end{array} \right. \tag {2}
76
+ $$
77
+
78
+ A set $\hat{Y} = \{\hat{y}_t\mid t\in [m - w:m + w)\}$ of the pseudo-labels for $X$ is constructed by Equation (2). Then, the classification
79
+
80
+ ![](images/02a1554cad16d7d5632ad1f756b04eb97d1f9ba67b653bda5440c4ea87ef9c72.jpg)
81
+ Figure 2. Intuition of the context-attached augmentation.
82
+
83
+ loss for an instance $X$ and its set $\hat{Y}$ of the pseudo-labels obtained is formulated as $\ell(X, \hat{Y})$ with Equation (1). Note that the pseudo-labels are discarded once the model is updated with the losses calculated from the sampled instances.
84
+
85
+ Consistency Regularization: Recent consistency regularization methods force consistency between the model outputs of augmentations assuming that the class information is preserved across augmentations. For example, FixMatch(Sohn et al., 2020) matches the pseudolabel from a weak augmentation against the prediction from a strong augmentation. That is, $\ell(X, \hat{Y}) = \frac{1}{2w} \sum_{t} \mathbf{1}_{\max_k f_\theta(\alpha(X))_{t,k} > \tau} H(f_\theta(\mathcal{A}(X))_t, \hat{y}_t)$ , where $\hat{y}_t = \arg \max_k f_\theta(\alpha(X))_{t,k}$ , and $\alpha$ and $\mathcal{A}$ represent weak and strong augmentations, respectively. The goal of consistency regularization is to offer informative supervision to update the model by diverse augmentations and reliable pseudo-labels. In FixMatch, pseudo-labels from weak augmentations are reliable due to weak perturbation, and strong augmentations become diverse due to strong perturbation.
86
+
87
+ # 3.2 Context-Attached Augmentation
88
+
89
+ We first define the context-attached augmentation in Definition 3.1 and then discuss its design principle.
90
+
91
+ Definition 3.1. (CONTEXT-ATTACHED AUGMENTATION) A $c$ -length context-attached augmentation $\mathcal{A}$ of a target instance $\dot{X} = \{\mathbf{x}_t|t\in [m - w:m + w)\}$ is attaching $c$ surrounding data points of $\dot{X}$ such that $\mathcal{A}^i (\dot{X}) = \{\mathbf{x}_t|t\in [m - w - c + i:m + w + i)\}$ , where $i\in [0:c]$ .
92
+
93
+ There are $c + 1$ possible choices of context-attached augmentation according to where we put the context (see Figure 2). Choosing augmented instances with a larger difference in the embedding space induces stronger supervision by consistency regularization (Wang et al., 2022; Jiang et al., 2022). Thus, it is preferable to have two augmented instances whose pairwise distance is the farthest in the embedding space. In Theorem 3.2, we show that a pair of augmented instances is more likely to have a larger distance in the embedding space if they have a less number of overlapping data points under the martingale assumption.
94
+
95
+ Theorem 3.2. (EMBEDDING DISTANCE) Let $\mathbf{z}^i$ denote an embedding of $\mathcal{A}^i(\dot{X})$ at a certain timestamp $t \in [m - w : m + w)$ . Under the martingale embedding with a bounded difference assumption, as the overlap between $\mathcal{A}^i(\dot{X})$ and $\mathcal{A}^j(\dot{X})$ ( $i > j$ ) decreases, i.e., $(i - j)$ increases, the upper-bound of the probability of the Euclidean distance between $\mathbf{z}^i$ and $\mathbf{z}^j$ being farther than $\epsilon$ increases. Formally,
96
+
97
+ $$
98
+ \Pr \left[ \| \mathbf {z} ^ {i} - \mathbf {z} ^ {j} \| _ {2} \geq \epsilon \right] \leq 2 e ^ {2} e ^ {- \epsilon^ {2} / 2 s ^ {2} (i - j)}, \tag {3}
99
+ $$
100
+
101
+ where $0 \leq j < i \leq c$ , and $\epsilon$ and $s$ are positive real constants.
102
+
103
+ Proof. Under the martingale embedding with a bounded difference assumption, Equation (3) is simply derived by Azuma's inequality (Hayes, 2005). Refer to Appendix A for the complete proof. $\square$
104
+
105
+ Corollary 3.3. (MAXIMUM DIFFERENCE) Given a context length $c$ , picking the pair of $\mathcal{A}^0(\dot{X})$ and $\mathcal{A}^c(\dot{X})$ maximizes the upperbound of the probability of the Euclidean distance between their embeddings being farther than $\epsilon$ , among all possible pairs of $\mathcal{A}^j(\dot{X})$ and $\mathcal{A}^i(\dot{X})$ ( $0 \leq j < i \leq c$ ).
106
+
107
+ Proof. When $j = 0$ and $i = c$ , $(i - j)$ becomes the largest. Then, Equation (3) in Theorem 3.2 concludes the proof.
108
+
109
+ By Corollary 3.3, the consistency regularization between the furthest embeddings $\mathbf{z}^0$ and $\mathbf{z}^c$ would make the whole embedding space shrink toward its center of a class maximally, compared to other pairs (Van Engelen & Hoos, 2020). Therefore, the effect of consistency regularization can be maximized by picking two augmented instances $\mathcal{A}^0 (\dot{X})$ and $\mathcal{A}^c (\dot{X})$ . Accordingly, a context of length $c$ is attached on the left and right sides of a target instance, respectively, and thus the two augmented instances, $\mathcal{A}^0 (\dot{X}) = X^{\mathrm{left}} = \{\mathbf{x}_t|t\in [m - w - c:m + w)\}$ and $\mathcal{A}^c (\dot{X}) = X^{\mathrm{right}} = \{\mathbf{x}_t|t\in [m - w:m + w + c)\}$ , are generated as shown in Figure 3. Each augmented instance is fed to a model, and pseudo-labels are generated from every timestamp of only the target instance (i.e., the overlap between the two augmented instances) by Equation (2). As a result, two pseudo-label sets $\hat{Y}^{\mathrm{left}}$ and $\hat{Y}^{\mathrm{right}}$ for the left and right augmented instances are obtained. Reliability-weighted mixing will be introduced in Section 3.3 to merge $\hat{Y}^{\mathrm{left}}$ and $\hat{Y}^{\mathrm{right}}$ while considering the reliability of each pseudo-label based on the left and right side lengths.
110
+
111
+ Another important factor is the context length $c$ , which directly affects the supervision quality of consistency regularization. If $c$ is too short, then two augmented instances become too similar so that the model barely changes after matching the embeddings of augmented instances (Wang et al., 2022). On the other hand, if $c$ is too long, the embeddings diverge so that the matching would weld the representation of instances from different classes. We empirically study this trade-off and suggest a heuristic in Section 4.4.
112
+
113
+ ![](images/0baae43dee27ffc87223a41487544208e8d2f3dffe41de7587bb359ec1e1928a.jpg)
114
+ Figure 3. A target instance (yellow) and its context (blue).
115
+
116
+ # 3.3 Reliability-Weighted Mixing
117
+
118
+ Though all pseudo-labels generated for a target instance satisfy the confidence threshold in Equation (2), we treat them differently based on the reliability of a pseudo-label. Our rationale is that the pseudo-label becomes more reliable if (1) the model $f_{\theta}$ receives more data points on the left and right sides of the pseudo-label and (2) the number of data points is balanced between the two sides so that the prediction is not biased to the preceding or succeeding interval. We design a reliability function that follows our rationale and compute reliability of each pseudo-label. Using the reliability as a weight, we mix the pseudo-labels into a single cross-window label, which will be matched against two softmax probabilities from both of augmentations.
119
+
120
+ Let's consider two pseudo-labels $\hat{y}_t^{\mathrm{left}}$ and $\hat{y}_t^{\mathrm{right}}$ generated from $f_{\theta}(X^{\mathrm{left}})_t$ and $f_{\theta}(X^{\mathrm{right}})_t$ shown in Figure 3. For each timestamp $t \in [m - w : m + w)$ of a target instance, the length $n_t^{loc, + }$ of the left side and the length $n_t^{loc, - }$ of the right side along each augmented instance are easily calculated by
121
+
122
+ $$
123
+ n _ {t} ^ {\text {l o c , +}} = \left\{ \begin{array}{l l} t - m + w + c & \text {i f l o c = l e f t} \\ t - m + w & \text {i f l o c = r i g h t} \end{array} \right. \tag {4}
124
+ $$
125
+
126
+ $$
127
+ n _ {t} ^ {\text {l o c , -}} = \left\{ \begin{array}{l l} m + w - t & \text {i f l o c = l e f t} \\ m + w + c - t & \text {i f l o c = r i g h t}, \end{array} \right. \tag {5}
128
+ $$
129
+
130
+ where loc indicates the location of context attachment—either left or right.
131
+
132
+ ![](images/865efc4684835cf4f2916283bb61630a9a3a8be5916119e7562da866ba75ea5b.jpg)
133
+ Figure 4. Visualization of Equation (6).
134
+
135
+ Per our design rationale, the reliability score becomes higher as $n_t^{loc, + }$ and $n_t^{loc, - }$ are larger and $n_t^{loc, + }$ and $n_t^{loc, - }$ are more similar with each other. This requirement can be achieved by exploiting a bell-shaped function,
136
+
137
+ $$
138
+ r (p) = \sqrt {2 p - p ^ {2}} + \sqrt {1 - p ^ {2}}, \tag {6}
139
+ $$
140
+
141
+ where $0 \leq p \leq 1$ . Here, $p$ is a normalization of $n_t^{loc, + }$ with re
142
+
143
+ spect to the full length of an augmented instance, i.e., $p^{loc}(t) = n^{loc, + } / (2w + c)$ . That is, using Equation (6),
144
+
145
+ we obtain two reliability scores $r(p^{\mathrm{left}}(t))$ and $r(p^{\mathrm{right}}(t))$ for each pseudo-label from the two augmented instances $X_{left}$ and $X_{right}$ . Due to the bell shape in Figure 4, a timestamp with a sufficiently long side length on both sides has an adequately high reliability in an augmented instance. If a side length on either side is too long (i.e., biased to one side), the side length on the other side is too short, and the reliability score is too low. Overall, the reliability score is maximized at the center of a given augmented instance.
146
+
147
+ Last, in order to treat each pseudo-label differently based on the reliability scores on the two sides, $r(p^{\mathrm{left}}(t))$ and $r(p^{\mathrm{right}}(t))$ , the weight of each pseudo-label is assigned as $\beta_t^{loc} = r(p^{loc}(t)) / (r(p^{\mathrm{left}}(t)) + r(p^{\mathrm{right}}(t)))$ by normalizing the two reliability scores. The final cross-window soft label for the target instances in the left and right instances is
148
+
149
+ $$
150
+ \bar {y} _ {t} = \beta_ {t} ^ {\text {l e f t}} \cdot \text {o n e h o t} (\hat {y} _ {t} ^ {\text {l e f t}}) + \beta_ {t} ^ {\text {r i g h t}} \cdot \text {o n e h o t} (\hat {y} _ {t} ^ {\text {r i g h t}}), \tag {7}
151
+ $$
152
+
153
+ where the onehot function converts a scalar to one-hot encoded vector. In other words, reliability-weighted mixing generates a soft label by adding the two weighted pseudolabels. Using the cross-window label set and two target instance outputs, the classification loss $\ell_{u}(X^{\mathrm{left}}, X^{\mathrm{right}}, \bar{Y})$ is computed as
154
+
155
+ $$
156
+ \frac {1}{4 w} \sum_ {t} \mathbf {1} _ {\bar {y} _ {t} \neq \text {n u l l}} \left(h \left(\mathbf {z} _ {t} ^ {\text {l e f t}}, \bar {y} _ {t}\right) + h \left(\mathbf {z} _ {t} ^ {\text {r i g h t}}, \bar {y} _ {t}\right)\right), \tag {8}
157
+ $$
158
+
159
+ where $\mathbf{z} = f_{\theta}(X)_{t,:}$ , $h$ is soft cross-entropy, and $\bar{Y} = \{\bar{y}_t|t\in [m - w:m + w)\}$ . By matching a single cross-window soft label to both augmented instances, we can reduce the variance of the label to be predicted, leading to better consistency regularization (Wang et al., 2022). In addition, consistency regularization with soft labeling is more effective than with hard labeling since soft labeling can be robust to erroneous pseudo-labels when at least one pseudo-label is correct (Müller et al., 2019).
160
+
161
+ # 3.4 Overall Procedure of CrossMatch
162
+
163
+ Figure 1 summarizes the overall procedure of CrossMatch using context-attached augmentation and reliability-weighted mixing. Given a time series, CrossMatch first takes a target instance sampled from the time series as an input and generates a pair of augmented instances with context-attached augmentation (see Figure 1(a)). Then, a model $f_{\theta}$ infers the pair of augmented instances $X^{\mathrm{left}}$ and $X^{\mathrm{right}}$ to produce two independent softmax probabilities. The pseudo-labels respectively generated from the two softmax probabilities are merged $(\bigoplus)$ to give cross-window soft labels $\bar{Y}$ with reliability-weighted mixing. Finally, the cross-entropy losses are computed from the cross-window soft labels $\bar{Y}$ as well as the true labels $Y$ and used to update the model $f_{\theta}$ (see Figure 1(b)). These steps are repeated for randomly sampled target instances with varying $c$ until $I$ iterations. CrossMatch in Appendix B details each step.
164
+
165
+ Table 1. Datasets and configurations.
166
+
167
+ <table><tr><td></td><td>|T|</td><td>Length</td><td>#class</td><td>d</td><td>w</td><td>cmax</td><td>v</td><td>I</td></tr><tr><td>HAPT</td><td>408K</td><td>967</td><td>6</td><td>6</td><td>512</td><td>256</td><td>0.1%</td><td>25K</td></tr><tr><td>mHealth</td><td>343K</td><td>2933</td><td>12</td><td>23</td><td>384</td><td>256</td><td>1.0%</td><td>50K</td></tr><tr><td>Opportunity</td><td>190K</td><td>109</td><td>17</td><td>113</td><td>512</td><td>64</td><td>1.0%</td><td>30K</td></tr></table>
168
+
169
+ # 4 Evaluation
170
+
171
+ # 4.1 Experiment Setting
172
+
173
+ Datasets: We use three widely-used benchmark datasets in Table 1. HAPT is a sensor time-series dataset tracking human movements in a laboratory sampled with the frequency of $50\mathrm{Hz}$ (Anguita et al., 2013). mHealth is a similar action recognition dataset recorded with more wearable sensors, such as 3D accelerometers, 3D gyroscopes, 3D magnetometers, and electrodes, whose sampling frequency is $50\mathrm{Hz}$ (Banos et al., 2014). Opportunity is a collection of sensor recordings at $100\mathrm{Hz}$ capturing daily natural human activities with wearable, object, and ambient sensors (Roggen et al., 2010). For each originally fully-labeled dataset, we randomly sample the same number of timestamps for each class and drop the labels from the rest of the timestamps to generate a sparsely-labeled time series, leaving multiple labeled time spans located randomly. The sampled timestamps become a labeled timestamp set $\mathcal{T}_L$ for the given ratio of labeled timestamps $v = |\mathcal{T}_L| / |\mathcal{T}|$ . Table 1 summarizes the statistics of datasets and the data-specific parameters, specifying the number of timestamps, the average length of a segment with a single class, the number of classes, the dimensionality of a data point, the half length of a target instance $w$ , the maximum context length $c_{\mathrm{max}}$ , the default ratio of labeled timestamps $v$ , and the maximum number of iterations $I$ . In particular, $c_{\mathrm{max}}$ is set to be sufficiently smaller than the average length of a segment.
174
+
175
+ The value of $w$ , half of the length of a target instance, needs to be carefully chosen for each data set. Too large $w$ may include semantically irrelevant data points, while too small $w$ may not give enough temporal information for prediction. Either way leads to incorrect pseudo-labels and ultimately degrades the performance. Thus, we set $2w$ , the length of a target instance, as a value lower than the mean length of a label-coherent segment, which could be known in advance or estimated by a given set $T_L$ of labeled timestamps.
176
+
177
+ Implementation Details: We use a widely-used multi-stage temporal convolutional network named MS-TCN (Farha & Gall, 2019), which is applicable to our problem setting because it gives softmax probabilities for each timestamp in an instance $X$ . We follow the same hyperparameter and configuration in the original MS-TCN, except the learning rate and an optimizer adjusted for consistency regularization with sparse labels. See Appendix C for more details.
178
+
179
+ For CrossMatch, we set the confidence threshold $\tau$ to 0.95 and the weight of the unlabeled loss $\lambda$ to 1. The model is first trained without any pseudo-labels, i.e., only using the labeled batches. We start to update a model with pseudolabels after the number of pseudo-labels in each class for a batch is balanced. Formally, this condition is satisfied when the entropy of the numbers of pseudo-labels per class is above 0.99 for the last 100 iterations; it is enforced to prevent early confirmation bias in consistency regularization (Kim & Lee, 2022). If a data point $x_{t}$ in an instance $X$ has a true label (i.e., $t\in \mathcal{T}_L$ ), CrossMatch uses the true label instead of the generated pseudo-label.
180
+
181
+ For every experiment, we use Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz and NVIDIA RTX 3090. The source code is provided at https://github.com/kaist-dmlab/CrossMatch.
182
+
183
+ Evaluation Metrics: We measure timestamp accuracy and segmental F1 score with five-fold cross validation and report the average value with standard deviation of five runs. For sequential classifiers such as MS-TCN, timestamp accuracy (denoted as TS accuracy) and segmental F1 score (denoted as F1@25) measure the performance of classification at each timestamp and segment respectively (Li et al., 2021; Kumar et al., 2022). To evaluate pseudo-labeling performance, we report pseudo-label F1 score (denoted as PLF) as well. We define each metric in detail in Appendix D.
184
+
185
+ Baselines: We compare CrossMatch with three state-of-the-art consistency regularization methods: FixMatch (Sohn et al., 2020), FlexMatch (Zhang et al., 2021), and PropReg (Kim & Lee, 2022). As discussed in Section 2, these methods require inner-instance augmentation for consistency regularization. We use two popular time-series augmentations: jittering and scaling, where weak augmentation $\alpha(X) = \text{jittering}(X)$ and strong augmentation $\mathcal{A}(X) = \text{jittering}(\text{scaling}(X))$ (Um et al., 2017). Throughout the experiments, we use the same hyperparameters for all methods except the instance length due to the context-attached augmentation. We also compare CrossMatch with the variants of the compared methods supported by our context-attached augmentation.
186
+
187
+ # 4.2 Comparison with State-of-the-Art Methods
188
+
189
+ Overall Comparison: Table 2 shows the timestamp accuracy and F1@25 score on three datasets with varying label ratios; each value is obtained by averaging over the last 20 iterations for reliable results. Compared with other methods, CrossMatch achieves the best classification performance with a statistical significance of 0.05 using independent (unpaired) t-test for all datasets except HAPT $10 \times$ . This is mainly because consistency regularization using context-attached augmentation is more informative than inner-instance augmentation used in other consistency regu
190
+
191
+ Table 2. Timestamp accuracy and F1@25 score averaged over the last 20 iterations with adjusting the label ratio $v$ ( $1 \times$ , $5 \times$ ,and ${10} \times$ of a default value). The best values are marked in bold.
192
+
193
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Ratio</td><td colspan="2">FixMatch</td><td colspan="2">FlexMatch</td><td colspan="2">PropReg</td><td colspan="2">CrossMatch</td></tr><tr><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td></tr><tr><td rowspan="3">HAPT</td><td>1×</td><td>0.78 ± 0.01</td><td>0.55 ± 0.04</td><td>0.78 ± 0.01</td><td>0.54 ± 0.04</td><td>0.79 ± 0.01</td><td>0.52 ± 0.04</td><td>0.84 ± 0.01</td><td>0.75 ± 0.02</td></tr><tr><td>5×</td><td>0.85 ± 0.01</td><td>0.51 ± 0.04</td><td>0.84 ± 0.01</td><td>0.50 ± 0.04</td><td>0.82 ± 0.01</td><td>0.49 ± 0.04</td><td>0.88 ± 0.01</td><td>0.70 ± 0.02</td></tr><tr><td>10×</td><td>0.96 ± 0.00</td><td>0.87 ± 0.01</td><td>0.96 ± 0.00</td><td>0.90 ± 0.01</td><td>0.96 ± 0.00</td><td>0.89 ± 0.01</td><td>0.95 ± 0.01</td><td>0.84 ± 0.02</td></tr><tr><td rowspan="3">mHealth</td><td>1×</td><td>0.77 ± 0.01</td><td>0.23 ± 0.01</td><td>0.77 ± 0.01</td><td>0.13 ± 0.01</td><td>0.81 ± 0.01</td><td>0.43 ± 0.03</td><td>0.85 ± 0.01</td><td>0.45 ± 0.02</td></tr><tr><td>5×</td><td>0.91 ± 0.01</td><td>0.65 ± 0.02</td><td>0.91 ± 0.01</td><td>0.62 ± 0.03</td><td>0.91 ± 0.01</td><td>0.67 ± 0.03</td><td>0.94 ± 0.01</td><td>0.74 ± 0.03</td></tr><tr><td>10×</td><td>0.91 ± 0.00</td><td>0.70 ± 0.02</td><td>0.90 ± 0.00</td><td>0.66 ± 0.02</td><td>0.90 ± 0.01</td><td>0.70 ± 0.02</td><td>0.95 ± 0.01</td><td>0.84 ± 0.03</td></tr><tr><td rowspan="3">Opportunity</td><td>1×</td><td>0.61 ± 0.04</td><td>0.65 ± 0.05</td><td>0.59 ± 0.03</td><td>0.63 ± 0.05</td><td>0.63 ± 0.03</td><td>0.65 ± 0.05</td><td>0.67 ± 0.02</td><td>0.73 ± 0.04</td></tr><tr><td>5×</td><td>0.73 ± 0.03</td><td>0.73 ± 0.04</td><td>0.72 ± 0.03</td><td>0.75 ± 0.05</td><td>0.73 ± 0.03</td><td>0.74 ± 0.05</td><td>0.78 ± 0.02</td><td>0.82 ± 0.03</td></tr><tr><td>10×</td><td>0.75 ± 0.03</td><td>0.75 ± 0.04</td><td>0.73 ± 0.03</td><td>0.77 ± 0.04</td><td>0.75 ± 0.03</td><td>0.76 ± 0.04</td><td>0.83 ± 0.02</td><td>0.86 ± 0.02</td></tr></table>
194
+
195
+ ![](images/939a1495b89dc29db51a2224c72af903e19de1b4636914b80b2e5f74bde67e26.jpg)
196
+ Figure 5. Training curve of the classification performance (the first two rows) and pseudo-labeling performance (the last row) over training iterations in Algorithm 1. The full $y$ -axis is shown in Figure 7 of Appendix E.
197
+
198
+ larization methods. In particular, CrossMatch exhibits much better performance than others especially when the initial label ratio is low. For instance, with only $0.1\%$ of the labeled timestamps in HAPT, CrossMatch outperforms FixMatch by 20 percentage points $(\% p)$ , FlexMatch by $21\% p$ , and PropReg by $23\% p$ in F1@25 (see the first row in HAPT of Table 2). Therefore, the performance dominance of CrossMatch indicates the context-attached augmentation with reliability-weighted mixing indeed helps the model select more reliable pseudo-labels even when softmax probabilities fluctuate due to label scarcity and insufficient training.
199
+
200
+ Training Curve Analysis: Figure 5 shows the training curves of classification and PLF over the entire training iteration. Please refer to Appendix E for the same results
201
+
202
+ with standard deviation and other metrics related to pseudolabeling. CrossMatch shows much higher performance than the other methods with respect to timestamp accuracy and F1@25 even in the early stage of training, reaching the highest performance in most cases (see the first two rows in Figure 5). This is attributed to its robustness in reliability-weighted mixing in the early stage of consistency regularization and its credibility in enforcing consistency between two augmented instances from context-attached augmentation. For example, as shown in mHealth of Figure 5(b), other methods suffer from the low-quality pseudo-labels at the iteration of around 17,000 when the warm-up period ends, thereby showing a temporary drop in timestamp accuracy. Although the accuracy recovers gradually, the final accuracy is far behind the accuracy CrossMatch achieves.
203
+
204
+ Table 3. Timestamp accuracy and F1@25 score averaged over the last 20 iterations with varying context attachment for context-attached augmentation (CAA). The best values are marked in bold.
205
+
206
+ <table><tr><td>Variations</td><td>Metrics</td><td>One-sided CAA</td><td>Random-pair CAA</td><td>Multiple-2 CAA</td><td>Multiple-3 CAA</td><td>Multiple-5 CAA</td><td>Multiple-7 CAA</td></tr><tr><td rowspan="2">HAPT</td><td>TS Accuracy</td><td>0.72 ± 0.01</td><td>0.67 ± 0.02</td><td>0.84 ± 0.01</td><td>0.85 ± 0.01</td><td>0.85 ± 0.01</td><td>0.86 ± 0.01</td></tr><tr><td>F1@25</td><td>0.65 ± 0.03</td><td>0.44 ± 0.03</td><td>0.75 ± 0.02</td><td>0.70 ± 0.02</td><td>0.74 ± 0.02</td><td>0.75 ± 0.04</td></tr><tr><td rowspan="2">mHealth</td><td>TS Accuracy</td><td>0.77 ± 0.02</td><td>0.75 ± 0.01</td><td>0.85 ± 0.01</td><td>0.86 ± 0.02</td><td>0.86 ± 0.02</td><td>0.87 ± 0.01</td></tr><tr><td>F1@25</td><td>0.41 ± 0.04</td><td>0.21 ± 0.01</td><td>0.45 ± 0.02</td><td>0.40 ± 0.04</td><td>0.42 ± 0.04</td><td>0.44 ± 0.02</td></tr><tr><td rowspan="2">Opportunity</td><td>TS Accuracy</td><td>0.61 ± 0.07</td><td>0.61 ± 0.05</td><td>0.67 ± 0.02</td><td>0.67 ± 0.05</td><td>0.70 ± 0.04</td><td>0.69 ± 0.02</td></tr><tr><td>F1@25</td><td>0.64 ± 0.07</td><td>0.68 ± 0.03</td><td>0.73 ± 0.04</td><td>0.78 ± 0.08</td><td>0.77 ± 0.07</td><td>0.78 ± 0.03</td></tr></table>
207
+
208
+ Table 4. Timestamp accuracy and F1@25 score averaged over the last 20 iterations with varying context lengths using CrossMatch. The best values are marked in bold.
209
+
210
+ <table><tr><td rowspan="2">Cmax</td><td colspan="2">0.25×</td><td colspan="2">0.5×</td><td colspan="2">1.00×</td><td colspan="2">2.00×</td><td colspan="2">4.00×</td></tr><tr><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td><td>TS Accuracy</td><td>F1@25</td></tr><tr><td>HAPT</td><td>0.65±0.01</td><td>0.46±0.02</td><td>0.74±0.01</td><td>0.63±0.02</td><td>0.84±0.01</td><td>0.75±0.02</td><td>0.79±0.02</td><td>0.65±0.03</td><td>0.81±0.01</td><td>0.70±0.02</td></tr><tr><td>mHealth</td><td>0.69±0.01</td><td>0.29±0.02</td><td>0.79±0.02</td><td>0.37±0.02</td><td>0.85±0.01</td><td>0.45±0.02</td><td>0.82±0.01</td><td>0.38±0.04</td><td>0.77±0.02</td><td>0.28±0.03</td></tr><tr><td>Opportunity</td><td>0.65±0.03</td><td>0.72±0.04</td><td>0.69±0.03</td><td>0.73±0.04</td><td>0.67±0.02</td><td>0.73±0.04</td><td>0.66±0.02</td><td>0.71±0.03</td><td>0.55±0.02</td><td>0.56±0.04</td></tr></table>
211
+
212
+ The effectiveness of CrossMatch is also supported by its PLF computed from precision and recall (see the last row in Figure 5 and also see Figure 8 in Appendix E). Precision is the ratio of the number of correctly predicted timestamps to the number of pseudo-labeled timestamps, while recall is the ratio of the number of correctly predicted timestamps to the length of a target instance (refer to Appendix D for more details). We averaged PLF over the target instances in a batch. CrossMatch reaches the highest PLF continuously in most cases due to the reliability of our cross-window labels.
213
+
214
+ # 4.3 Analysis of Varying Context Attachment
215
+
216
+ We study the effect of varying the ways of context attachment in the context-attached augmentation. Given all augmented instance candidates, $\mathcal{A}^0 (\dot{X}),\mathcal{A}^1 (\dot{X}),\ldots ,\mathcal{A}^c (\dot{X})$ for consistency regularization, one-sided CAA picks either $\mathcal{A}^0 (\dot{X})$ (i.e., $X^{\mathrm{left}}$ ) or $\mathcal{A}^c (\dot{X})$ (i.e., $X^{\mathrm{right}}$ ), Random-pair CAA randomly picks two augmented instances, and Multiple-N CAA includes both $\mathcal{A}^0 (\dot{X})$ and $\mathcal{A}^c (\dot{X})$ and randomly picks $N - 2$ augmented instances; that is, Multiple-2 CAA is the default of CrossMatch. As shown in Table 3, one-sided CAA and Random-pair CAA perform worse than Multiple-N CAA, because of ineffective consistency regularization caused by the lack of variations in their augmented instances. While some cases Multiple- $N > 2$ CAA variations achieve higher performances than Multiple-2 CAA, the performance gain is marginal, i.e., less than $5\% p$ . This result indeed demonstrates that our choice of context attachment in Section 3.2 is practical, considering the computational cost for preparing augmented instances.
217
+
218
+ # 4.4 Analysis of Varying Context Lengths
219
+
220
+ Table 4 summarizes the timestamp accuracy and F1@25 score of CrossMatch by adjusting the default context length
221
+
222
+ $c_{\mathrm{max}}$ (in Table 1) from $0.25 \times$ to $4.0 \times$ . If the context length is too large, augmented instances bear too much perturbation to generate high-quality cross-window labels. On the other hand, if the context length is too small, informative consistency regularization between two augmented instances becomes trivial since they show high similarity. We found out that the optimal context length is highly correlated with the average segment length of each dataset. For instance, the best timestamp accuracy of the Opportunity dataset is achieved with a relatively smaller context length (i.e., 32) than that of mHealth data (i.e., 256) because Opportunity has a much shorter mean segment length; as can be seen in Table 1, Opportunity and mHealth exhibit the shortest and the longest mean segment length among the three datasets. Therefore, the best timestamp accuracy and F1@25 score of each dataset are achieved with different context lengths. Our heuristic to find the best $c_{\mathrm{max}}$ is selecting $c_{\mathrm{max}}$ within $1/5$ and $1/2$ of the average length of segments. The average length of segments in a specific dataset is often available.
223
+
224
+ # 4.5 Extensions with Additional Augmentations
225
+
226
+ We further investigate three possible extensions: (1) Cross-Match to combine the two inner-instance augmentations (+IA) of jittering and scaling, (2) the variant of existing consistency regularization methods to combine our proposed context-attached augmentation (+CAA), and (3) the variant of existing consistency regularization methods to use the cut-based augmentation (+CUT). For the first variant, we perform jittering and scaling before applying the context-attached augmentation. For the second variant, we modify the existing methods in support of the context-attached augmentation. The two augmented instances (the left and right instances in Figure 3) are respectively treated as weakly and strongly augmented instances; the instance with a higher
227
+
228
+ Table 5. Timestamp accuracy and F1@25 score of CrossMatch and the compared methods with various augmentation methods. The best values are marked in bold.
229
+
230
+ <table><tr><td rowspan="2">Variations</td><td rowspan="2">Metrics</td><td>CrossMatch</td><td colspan="2">FixMatch</td><td colspan="2">FlexMatch</td><td colspan="2">PropReg</td></tr><tr><td>+IA</td><td>+CAA</td><td>+CUT</td><td>+CAA</td><td>+CUT</td><td>+CAA</td><td>+CUT</td></tr><tr><td rowspan="2">HAPT</td><td>TS Accuracy</td><td>0.88 ± 0.01</td><td>0.62 ± 0.02</td><td>0.78 ± 0.01</td><td>0.64 ± 0.02</td><td>0.81 ± 0.01</td><td>0.68 ± 0.01</td><td>0.81 ± 0.01</td></tr><tr><td>F1@25</td><td>0.77 ± 0.02</td><td>0.39 ± 0.03</td><td>0.66 ± 0.02</td><td>0.49 ± 0.03</td><td>0.67 ± 0.02</td><td>0.45 ± 0.02</td><td>0.69 ± 0.02</td></tr><tr><td rowspan="2">mHealth</td><td>TS Accuracy</td><td>0.89 ± 0.01</td><td>0.76 ± 0.04</td><td>0.74 ± 0.02</td><td>0.82 ± 0.01</td><td>0.76 ± 0.02</td><td>0.77 ± 0.03</td><td>0.75 ± 0.02</td></tr><tr><td>F1@25</td><td>0.67 ± 0.03</td><td>0.35 ± 0.04</td><td>0.42 ± 0.04</td><td>0.31 ± 0.03</td><td>0.38 ± 0.03</td><td>0.30 ± 0.03</td><td>0.47 ± 0.04</td></tr><tr><td rowspan="2">Opportunity</td><td>TS Accuracy</td><td>0.75 ± 0.02</td><td>0.49 ± 0.02</td><td>0.35 ± 0.01</td><td>0.36 ± 0.01</td><td>0.34 ± 0.02</td><td>0.45 ± 0.01</td><td>0.39 ± 0.02</td></tr><tr><td>F1@25</td><td>0.85 ± 0.03</td><td>0.53 ± 0.03</td><td>0.43 ± 0.01</td><td>0.37 ± 0.02</td><td>0.40 ± 0.02</td><td>0.45 ± 0.02</td><td>0.42 ± 0.01</td></tr></table>
231
+
232
+ reliability score becomes the weakly augmented instance, and that with a lower reliability score becomes the strongly augmented instance. For the third variant, weak augmentation eliminates $1\%$ of data points in an instance, while strong augmentation eliminates $10\%$ .
233
+
234
+ Table 5 summarizes the performances of the extensions of compared methods for all datasets. Note that we use the default label ratios of $0.1\%$ , $1.0\%$ , and $1.0\%$ for the datasets, respectively. The extension of CrossMatch (+IA) shows additional performance gains of $4 - 8\% p$ in times-amp accuracy and $2 - 22\% p$ in F1@25 compared with the original CrossMatch. However, in general, the extensions of existing methods (+CAA) rather suffer from a significant performance drop because they failed to reliably deal with diverse augmented instances. The cut-based augmentation (+CUT) also does not improve existing consistency regularization methods in most cases, which reaffirms that inner-instance augmentation alone is not suitable for time-series. This result demonstrates that CrossMatch can be further enhanced with additional inner-instance augmentation techniques (e.g., jittering and scaling) under the proposed consistency regularization framework.
235
+
236
+ # 4.6 Discussion on Versatility and Validity
237
+
238
+ Context-attached augmentation in CrossMatch can be applied to any recent, popular architectures such as temporal convolutional networks and Transformers, where information is conveyed bidirectionally and output sequential softmax probabilities (Farha & Gall, 2019; Chen et al., 2022). If a model is unidirectional (e.g., from left to right as in the vanilla RNN and WaveNet), the context attached to the left side of a target instance would be only meaningful (Oord et al., 2016); thus, CrossMatch needs to consider a target instance and its augmented instance with only the left context in order to accommodate a unidirectional model.
239
+
240
+ One may argue that our augmentation will not work when a context has different labels than the target instance. However, such cases may occur very infrequently (i.e., only $6.4\%$ of the target instances in the mHealth dataset) with a proper setting of the hyper-parameter $c_{\mathrm{max}}$ , the maximum length
241
+
242
+ of a context, because of temporal coherence inherent in time series. Even though a context contains different labels, our augmentation will work well in general. It is known that a set of transition patterns tend to appear repeatedly in many time-series datasets (Roggen et al., 2010; Stein & McKenna, 2013; Banos et al., 2014); for example, suppose that a transition pattern, standing up $\rightarrow$ walking, repeats in a human activity recognition dataset. Then, a different label (e.g., standing up) in the context is definitely helpful to predict the label (e.g., walking) in the target instance. Although the transition patterns do not repeat, there is a safety net, where pseudo-labels are not generated for uncertain target instances by confidence thresholding in CrossMatch. Therefore, CrossMatch hardly suffers from such transition between a target instance and its context.
243
+
244
+ # 5 Conclusion
245
+
246
+ In this paper, we propose CrossMatch, a novel consistency regularization framework with context-attached augmentation, for classifying time series with sparse labels. CrossMatch adds contexts to a target instance on either its left or right sides to generate two augmented instances with a maximal difference. Then, the inference of the target instance is regularized by reliability-weighted mixing of the two pseudo-labels from the two augmented instances. Our extensive experiments demonstrate that CrossMatch achieves considerably higher accuracy than state-of-the-art consistency regularization methods—by up to $23\mathrm{p}\%$ even with only $0.1\%$ of labels. CrossMatch introduces a new direction of data augmentation for sequential data and has the potential to be applied to various time-series applications.
247
+
248
+ # Acknowledgements
249
+
250
+ This work was partly supported by Samsung Electronics Co., Ltd. (IO201211-08051-01) and Institute of Information & Communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No. 2020-0-00862, DB4DL: High-Usability and Performance In-Memory Distributed DBMS for Deep Learning).
251
+
252
+ # References
253
+
254
+ Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J. L., et al. A public domain dataset for human activity recognition using smartphones. In *ESANN*, pp. 437-442, 2013.
255
+ Banos, O., Garcia, R., Holgado-Terriza, J. A., Damas, M., Pomares, H., Rojas, I., Saez, A., and Villalonga, C. mHealthDroid: A novel framework for agile development of mobile health applications. In AAL Workshop, pp. 91-98, 2014.
256
+ Berthelot, D., Carlini, N., Goodfellow, I., Papernot, N., Oliver, A., and Raffel, C. A. Mixmatch: A holistic approach to semi-supervised learning. In NeurIPS, 2019.
257
+ Berthelot, D., Carlini, N., Cubuk, E. D., Kurakin, A., Sohn, K., Zhang, H., and Raffel, C. Remixmatch: Semi-supervised learning with distribution matching and augmentation anchoring. In ICLR, 2020.
258
+ Chen, D.-D., Wang, W., Gao, W., and Zhou, Z.-H. Tri-net for semi-supervised deep learning. In *IJCAI*, pp. 2014–2020, 2018.
259
+ Chen, M., Wei, F., Li, C., and Cai, D. Frame-wise action representations for long videos via sequence contrastive learning. In CVPR, pp. 13801-13810, 2022.
260
+ Chen, T., Kornblith, S., Swersky, K., Norouzi, M., and Hinton, G. E. Big self-supervised models are strong semi-supervised learners. In NeurIPS, pp. 22243-22255, 2020.
261
+ Cubuk, E. D., Zoph, B., Mane, D., Vasudevan, V., and Le, Q. V. AutoAugment: Learning augmentation strategies from data. In CVPR, 2019.
262
+ Cubuk, E. D., Zoph, B., Shlens, J., and Le, Q. RandAugment: Practical automated data augmentation with a reduced search space. In NeurIPS, pp. 18613-18624, 2020.
263
+ DeVries, T. and Taylor, G. W. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017.
264
+ Eldele, E., Ragab, M., Chen, Z., Wu, M., Kwoh, C. K., Li, X., and Guan, C. Time-series representation learning via temporal and contextual contrasting. In *IJCAI*, pp. 2352-2359, 2021.
265
+ Fan, H., Zhang, F., Wang, R., Huang, X., and Li, Z. Semi-supervised time series classification by temporal relation prediction. In ICASSP, pp. 3545-3549, 2021.
266
+ Farha, Y. A. and Gall, J. MS-TCN: Multi-stage temporal convolutional network for action segmentation. In CVPR, pp. 3575-3584, 2019.
267
+
268
+ Ghiasi, G., Cui, Y., Srinivas, A., Qian, R., Lin, T.-Y., Cubuk, E. D., Le, Q. V., and Zoph, B. Simple copy-paste is a strong data augmentation method for instance segmentation. In CVPR, pp. 2918-2928, 2021.
269
+ Grill, J.-B., Strub, F., Altché, F., Tallec, C., Richemond, P., Buchatskaya, E., Doersch, C., Avila Pires, B., Guo, Z., Gheshlaghi Azar, M., et al. Bootstrap your own latent - a new approach to self-supervised learning. In NeurIPS, pp. 21271-21284, 2020.
270
+ Hansen, L. P., Roberds, W., and Sargent, T. J. Time series implications of present value budget balance and of martingale models of consumption and taxes. In *Rational Expectations Econometrics*, pp. 121-161. CRC Press, 2019.
271
+ Hayes, T. P. A large-deviation inequality for vector-valued martingales. Combinatorics, Probability and Computing, 2005.
272
+ Ho, S.-S. A martingale framework for concept change detection in time-varying data streams. In ICML, pp. 321-327, 2005.
273
+ Iwana, B. K. and Uchida, S. An empirical survey of data augmentation for time series classification with neural networks. Plos One, 16(7):e0254841, 2021.
274
+ Jawed, S., Grabocka, J., and Schmidt-Thieme, L. Self-supervised learning for semi-supervised time series classification. In PAKDD, pp. 499-511, 2020.
275
+ Jiang, Y., Li, X., Chen, Y., He, Y., Xu, Q., Yang, Z., Cao, X., and Huang, Q. Maxmatch: Semi-supervised learning with worst-case consistency. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2022.
276
+ Kim, N.-r. and Lee, J.-H. Propagation regularizer for semi-supervised learning with extremely scarce labeled samples. In CVPR, pp. 14401-14410, 2022.
277
+ Kumar, S., Haresh, S., Ahmed, A., Konin, A., Zia, M. Z., and Tran, Q.-H. Unsupervised action segmentation by joint representation learning and online clustering. In CVPR, pp. 20174-20185, 2022.
278
+ Laine, S. and Aila, T. Temporal ensembling for semi-supervised learning. In ICLR, 2017.
279
+ Lee, D.-H. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML Workshop, pp. 896, 2013.
280
+ Li, Z., Abu Farha, Y., and Gall, J. Temporal action segmentation from timestamp supervision. In CVPR, pp. 8365-8374, 2021.
281
+
282
+ Ma, F., Zhu, L., Yang, Y., Zha, S., Kundu, G., Feiszli, M., and Shou, Z. SF-Net: Single-frame supervision for temporal action localization. In ECCV, pp. 420-437, 2020.
283
+ Ma, Q., Zheng, Z., Zheng, J., Li, S., Zhuang, W., and Cottrell, G. W. Joint-label learning by dual augmentation for time series classification. In AAAI, pp. 8847-8855, 2021.
284
+ Moltisanti, D., Fidler, S., and Damen, D. Action recognition from single timestamp supervision in untrimmed videos. In CVPR, pp. 9915-9924, 2019.
285
+ Müller, R., Kornblith, S., and Hinton, G. E. When does label smoothing help? In NeurIPS, pp. 4694-4703, 2019.
286
+ Neufeld, A. and Sester, J. A deep learning approach to data-driven model-free pricing and to martingale optimal transport. IEEE Transactions on Information Theory, 2022.
287
+ Oord, A. v. d., Dieleman, S., Zen, H., Simonyan, K., Vinyals, O., Graves, A., Kalchbrenner, N., Senior, A., and Kavukcuoglu, K. WaveNet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016.
288
+ Park, J. Y. and Whang, Y.-J. A test of the martingale hypothesis. Studies in Nonlinear Dynamics & Econometrics, 9 (2), 2005.
289
+ Pham, H., Dai, Z., Xie, Q., and Le, Q. V. Meta pseudo labels. In CVPR, pp. 11557-11568, 2021.
290
+ Rizve, M. N., Duarte, K., Rawat, Y. S., and Shah, M. In defense of pseudo-labeling: An uncertainty-aware pseudolabel selection framework for semi-supervised learning. In ICLR, 2021.
291
+ Roggen, D., Calatroni, A., Rossi, M., Holleczek, T., Förster, K., Tröster, G., Lukowicz, P., Bannach, D., Pirkl, G., Ferscha, A., et al. Collecting complex activity datasets in highly rich networked sensor environments. In INSS, pp. 233-240, 2010.
292
+ Shin, Y., Yoon, S., Kim, S., Song, H., Lee, J.-G., and Lee, B. S. Coherence-based label propagation over time series for accelerated active learning. In ICLR, 2022.
293
+ Shorten, C. and Khoshgoftaar, T. M. A survey on image data augmentation for deep learning. Journal of Big Data, 6(1):1-48, 2019.
294
+ Singh, A., Chakraborty, O., Varshney, A., Panda, R., Feris, R., Saenko, K., and Das, A. Semi-supervised action recognition with temporal contrastive learning. In CVPR, pp. 10389-10399, 2021.
295
+
296
+ Singhania, D., Rahaman, R., and Yao, A. Iterative contrast-classify for semi-supervised temporal action segmentation. In AAAI, pp. 2262-2270, 2022.
297
+ Sohn, K., Berthelot, D., Carlini, N., Zhang, Z., Zhang, H., Raffel, C. A., Cubuk, E. D., Kurakin, A., and Li, C.-L. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. In NeurIPS, pp. 596-608, 2020.
298
+ Stein, S. and McKenna, S. J. Combining embedded accelerometers with computer vision for recognizing food preparation activities. In UbiComp, pp. 729-738, 2013.
299
+ Um, T. T., Pfister, F. M., Pichler, D., Endo, S., Lang, M., Hirche, S., Fietzek, U., and Kulić, D. Data augmentation of wearable sensor data for parkinson's disease monitoring using convolutional neural networks. In ICMI, pp. 216-220, 2017.
300
+ Van Engelen, J. E. and Hoos, H. H. A survey on semi-supervised learning. Machine Learning, 109(2):373-440, 2020.
301
+ Wang, X., Fan, H., Tian, Y., Kihara, D., and Chen, X. On the importance of asymmetry for siamese representation learning. In CVPR, pp. 16570-16579, 2022.
302
+ Wen, Q., Sun, L., Yang, F., Song, X., Gao, J., Wang, X., and Xu, H. Time series data augmentation for deep learning: A survey. In *IJCAI*, pp. 4653-4660, 2021.
303
+ Xiao, J., Jing, L., Zhang, L., He, J., She, Q., Zhou, Z., Yuille, A., and Li, Y. Learning from temporal gradient for semi-supervised action recognition. In CVPR, pp. 3252-3262, 2022.
304
+ Xie, Q., Dai, Z., Hovy, E., Luong, T., and Le, Q. Unsupervised data augmentation for consistency training. In NeurIPS, pp. 6256-6268, 2020.
305
+ Xu, Y., Wei, F., Sun, X., Yang, C., Shen, Y., Dai, B., Zhou, B., and Lin, S. Cross-model pseudo-labeling for semi-supervised action recognition. In CVPR, pp. 2959-2968, 2022.
306
+ Yang, X., Song, Z., King, I., and Xu, Z. A survey on deep semi-supervised learning. IEEE Transactions on Knowledge and Data Engineering, pp. 1-20, 2022.
307
+ Yoon, S., Shin, Y., Lee, J.-G., and Lee, B. S. Multiple dynamic outlier-detection from a data stream by exploiting duality of data and queries. In SIGMOD, pp. 2063-2075, 2021.
308
+ Yoon, S., Meng, Y., Lee, D., and Han, J. SCStory: Self-supervised and continual online story discovery. In TheWebConf, pp. 1853-1864, 2023.
309
+
310
+ Yue, Z., Wang, Y., Duan, J., Yang, T., Huang, C., Tong, Y., and Xu, B. TS2Vec: Towards universal representation of time series. In AAAI, pp. 8980-8987, 2022.
311
+ Yun, S., Han, D., Oh, S. J., Chun, S., Choe, J., and Yoo, Y. CutMix: Regularization strategy to train strong classifiers with localizable features. In ICCV, pp. 6023-6032, 2019.
312
+ Zhang, B., Wang, Y., Hou, W., Wu, H., Wang, J., Okumura, M., and Shinozaki, T. Flexmatch: Boosting semisupervised learning with curriculum pseudo labeling. In NeurIPS, pp. 18408-18419, 2021.
313
+ Zhang, H., Cisse, M., Dauphin, Y. N., and Lopez-Paz, D. mixup: Beyond empirical risk minimization. In ICLR, 2018.
314
+
315
+ # A Proof of Theorem 3.2
316
+
317
+ We prove Theorem 3.2 in Section 3.2. Let $\mathcal{A}^i(\dot{X})$ be the context-attached augmented instances from Definition 3.1. A feature extractor $f_{\theta}(\cdot)_t$ generates an embedding for a timestamp $t$ within the target instance, i.e., $\mathbf{z}^i = f_{\theta}(\mathcal{A}^i(\dot{X}))_t$ , where $\mathbf{z}^i \in \mathbb{R}^k$ and $k$ is the dimensionality of the embedding.
318
+
319
+ Comparing $\mathbf{z}^i$ and $\mathbf{z}^{i + 1}$ , their inputs share $2w + i - 1$ timestamps and differ only at the timestamp $t = m + w + i - 1$ . The data point at that timestamp would not deviate from the previous data points used to infer $\mathbf{z}^i$ due to temporal coherence. Thus, the next embedding would change in the vicinity centered at the current embedding (if we know it in advance), like a random walk, although the global distribution of embeddings is not known. This behavior leads to the martingale assumption in the embedding sequence, which is frequently used in time-series analysis (Ho, 2005; Hansen et al., 2019; Neufeld & Sester, 2022). In addition, the range of vicinity would also be limited because the change comes from only a single input timestamp.
320
+
321
+ To justify the martingale embedding assumption, let us conduct a martingale hypothesis test (Park & Whang, 2005) on the embedding sequence generated by a trained model of CrossMatch. The null hypothesis of the martingale hypothesis test for a specific dimension of $\mathbf{z}^i$ is
322
+
323
+ $$
324
+ \mathrm {H} _ {0}: \Pr \left(\mathbb {E} \left[ z ^ {i + 1} \mid z ^ {i} \right] = z ^ {i}\right) = 1 \text {w h e r e} z ^ {i} \in \mathbb {R}. \tag {9}
325
+ $$
326
+
327
+ A Kolmogorov-Smirnov type statistic is given by
328
+
329
+ $$
330
+ K S (z) = \sup _ {\delta \in \mathbb {R}} \left| \frac {1}{\sqrt {c + 1}} \sum_ {i = 0} ^ {c} \left(z ^ {i + 1} - z ^ {i}\right) \mathbf {1} _ {z ^ {i} \leq \delta} \right|. \tag {10}
331
+ $$
332
+
333
+ The maximum value of $KS(z)$ from every dimension of the softmax probabilities or penultimate layer output is 1.36, 1.45, and 1.43 for the HAPT, mHealth, and Opportunity datasets, respectively, when $\delta$ is searched from $-10$ to 10 with a step size of 0.001. With the significance level set to be 0.05, the critical value of $KS(z)$ is 2.338 (Park & Whang, 2005), which is much higher than these values that we computed. Therefore, we do not reject the null hypothesis for every dimension of the embedding sequence, meaning that the embedding vector sequence is martingale.
334
+
335
+ When the embedding (vector) sequence is martingale and its consecutive differences are bounded, for a pair of consecutive embeddings $\mathbf{z}^i$ and $\mathbf{z}^{i + 1}$ , the following properties hold by definition: (1) $\mathbb{E}[\mathbf{z}^{i + 1}|\mathbf{z}^i] = \mathbf{z}^i$ , and (2) $\| \mathbf{z}^{i + 1} - \mathbf{z}^i \|_2 \leq s$ , where $s$ is a sufficiently small positive real constant. Then, the following variant of Azuma's inequality holds for $0 \leq j < i \leq c$ , and see (Hayes, 2005) for the detailed derivation.
336
+
337
+ $$
338
+ \Pr \left[ \| \mathbf {z} ^ {i} - \mathbf {z} ^ {j} \| _ {2} \geq \epsilon \right] \leq 2 e ^ {2} e ^ {- \epsilon^ {2} / 2 s ^ {2} (i - j)}. \tag {11}
339
+ $$
340
+
341
+ Equation (11) says that the upperbound for the probability that the Euclidean distance between two embeddings $\mathbf{z}^i$ and $\mathbf{z}^j$ is larger than a positive real constant $\epsilon$ increases as the corresponding augmented instances $\mathcal{A}^i(\dot{X})$ and $\mathcal{A}^j(\dot{X})$ are more distant in terms of $(i - j)$ .
342
+
343
+ # B Overall Training Algorithm
344
+
345
+ Algorithm 1 describes how CrossMatch works in time-series consistency regularization. For each iteration, there are two steps for batch initialization: center timestamp sampling from $\mathcal{T}_L$ and $\mathcal{T}_U$ (Line 2) and context length sampling from a uniform distribution (Line 3). Note that we assign $q$ as $w + c$ after the sampling (Line 4). From labeled center timestamps, instances are sliced from $\mathcal{X}$ with length $2q$ to construct a labeled batch, $\mathcal{X}_l$ and $\mathcal{Y}_l$ , where $\mathcal{X}_{[m - q:m + q)} = \{\mathbf{x}_t \mid t \in [m - q:m + q)\}$ and $\mathcal{Y}_{[m - q:m + q)} = \{y_t \mid t \in [m - q:m + q)\}$ (Line 6). The classification loss for a labeled batch $\mathcal{L}_l$ is computed and averaged over the batch (Line 7). From unlabeled center timestamps, instances are sliced with context-attached augmentation that generates a pair of instances whose length is $w + q$ (Line 9). The target instance of each instance in an augmented unlabeled batch $\mathcal{X}_u$ is then pseudo-labeled using a confidence threshold $\tau$ (Line 10). CrossMatch softens the pseudo-labels with reliability weighting across two augmented instances with different contexts, transforming two pseudo-labels into a single cross-window label shared across the instances (Line 11). The classification loss with cross-window labels is computed for each pair of augmented instances and averaged over the batch (Line 12). Finally, the losses for labeled and unlabeled batches are then integrated into a single loss $\mathcal{L}$ with a hyperparameter $\lambda$ , and the model $f_{\theta}$ is updated using its gradient (Line 13).
346
+
347
+ Algorithm 1 Time-series consistency regularization with CrossMatch
348
+ Input: A time series with initial labels $\mathcal{D}$ labeled timestamp set $\mathcal{T}_L$ unlabeled timestamp set $\mathcal{T}_U$ labeled batch size $B_{l}$ unlabeled batch size $B_{u}$ maximum number of iterations I, a model $f_{\theta}$ confidence threshold $\tau$ loss weight $\lambda$ learning rate $\eta$ half length of a target instance w, maximum context length $c_{\mathrm{max}}$
349
+ Output: Final model $f_{\theta}$
350
+ 1: for each iteration up to I do
351
+ 2: $\mathcal{T}_l\gets$ Sample $B_{l}$ timestamps from $\mathcal{T}_L$ . $\mathcal{T}_u\gets$ Sample $B_{u}$ timestamps from $\mathcal{T}_U$ .
352
+ 3: $c\gets$ Sample a context length from Uniform(2, $c_{\mathrm{max}}$ .
353
+ 4: $q\gets w + c$
354
+ 5: /\*\* Loss computation for labeled batch \*\*/
355
+ 6: $\mathcal{X}_l\gets \{\mathcal{X}_{[m - q:m + q)},m\in \mathcal{T}_l\} ;\mathcal{Y}_l\gets \{\mathcal{Y}_{[m - q:m + q)},t\in \mathcal{T}_l\} ;$
356
+ 7: $\mathcal{L}_l = \frac{1}{B_l}\sum_{X\in \mathcal{X}_l,Y\in \mathcal{Y}_l}\ell (X,Y);$ // See Equation (1)
357
+ 8: /\*\* Loss computation for unlabeled batch \*\*/
358
+ 9: $\mathcal{X}_u\gets \{(\mathcal{X}_{[m - q:m + w]},\mathcal{X}_{[m - w:m + q)}),m\in \mathcal{T}_u\} ;$ // See Section 3.2
359
+ 10: $\hat{\mathcal{V}}_u\gets$ PSEUDOLABELING(xu,fθ,τ); // See Equation (2)
360
+ 11: $\bar{\mathcal{V}}\gets$ RELIABILITYWEIGHTING(yu); // See Section 3.3
361
+ 12: $\mathcal{L}_u = \frac{1}{B_u}\sum_{(X^{\mathrm{left}},X^{\mathrm{right}})\in \mathcal{X}_u,\bar{Y}\in \bar{Y}}\ell_u(X^{\mathrm{left}},X^{\mathrm{right}},\bar{Y})$
362
+ 13: $\mathcal{L}\gets \mathcal{L}_l + \lambda \mathcal{L}_u;\theta \gets \theta -\eta \nabla_\theta \mathcal{L};$
363
+ 14: end for
364
+ 15: return $f_{\theta}$
365
+
366
+ # C Detailed Training Setup
367
+
368
+ As described in implementation details of Section 4.1, we use MS-TCN as the backbone sequential classifier (Farha & Gall, 2019). It can classify each data point in an instance $X$ , generating sequential softmax probabilities at each timestamp. MS-TCN has four stages, and each stage is composed of eleven dilated convolution layers and a softmax output layer. The first stage takes a subsequence of the whole time series and outputs a softmax probability distribution at each timestamp. After the first stage, every stage is fed with softmax probabilities and then outputs another softmax probabilities. For all datasets, we use the same training hyperparameters and classifier as listed in Table 6. We set the labeled batch size as 4 and the unlabeled batch size as 8, use an SGD optimizer with the momentum and Nesterov method. The initial learning rate is 0.005 and is scheduled with a cosine decay function. In "Scheduling," the symbol $i$ denotes a current iteration during training, and the symbol $I$ denotes the total number of iterations.
369
+
370
+ Table 6. Training hyperparameters.
371
+
372
+ <table><tr><td>Stage</td><td>Layer</td><td>BL</td><td>BU</td><td>Optimizer</td><td>Momentum</td><td>Nesterov</td><td>η</td><td>Scheduling</td></tr><tr><td>4</td><td>11</td><td>4</td><td>8</td><td>SGD</td><td>0.9</td><td>True</td><td>0.005</td><td>cos(7πi/ I)</td></tr></table>
373
+
374
+ # D Detailed Evaluation Metrics
375
+
376
+ Timestamp accuracy is the ratio of the number of timestamps with correctly predicted labels to the total number of timestamps in a times series, which is computed as
377
+
378
+ $$
379
+ \text {T S} = \frac {1}{\left| \mathcal {T} _ {\text {t e s t}} \right|} \sum_ {t \in \mathcal {T} _ {\text {t e s t}}} \mathbf {1} _ {y _ {t} = \hat {y} _ {t}}.
380
+ $$
381
+
382
+ Segmental F1 score is a performance measure for judging whether a classifier outputs correct and coherent labels for consecutive timestamps. First, segmental precision and segmental recall are computed by counting the number of correct matches between a predicted segment set $\hat{\mathbb{Y}}$ and the true segment set $\mathbb{Y}$ with a Jaccard similarity threshold (e.g., 0.25),
383
+
384
+ $$
385
+ \text {S e g m a n t a l P r e c i s i o n} = \frac {1}{| \hat {\mathbb {Y}} |} \sum_ {\hat {Y} \in \hat {\mathbb {Y}}} \sum_ {Y \in \mathbb {Y}} \mathbf {1} _ {\text {J a c c a r d} (\hat {Y}, Y) > 0. 2 5} \quad \text {a n d} \quad \text {S e g m a n t a l R e c a l l} = \frac {1}{| \mathbb {Y} |} \sum_ {\hat {Y} \in \hat {\mathbb {Y}}} \sum_ {Y \in \mathbb {Y}} \mathbf {1} _ {\text {J a c c a r d} (\hat {Y}, Y) > 0. 2 5}.
386
+ $$
387
+
388
+ Then, segmental F1 score is computed as $F1@25 = \frac{2*precision*recall}{precision+recall}$ .
389
+
390
+ At each iteration, we measure pseudo-labeling precision and pseudo-labeling recall from each timestamp of the target instances in a batch, which are computed as
391
+
392
+ $$
393
+ \mathrm {P L} \quad \text {P r e c i s i o n} = \frac {\text {t h e n u m b e r o f c o r r e c t P L s}}{\text {t h e n u m b e r o f P L s}} \quad \text {a n d} \quad \mathrm {P L} \quad \text {R e c a l l} = \frac {\text {t h e n u m b e r o f c o r r e c t P L s}}{\text {t h e n u m b e r o f t i m e s t a m p s}}.
394
+ $$
395
+
396
+ To count the number of correct pseudo-labels, we examine whether a pseudo-label exists for each timestamp and, if so, compare it with the true label. When there is no pseudo-label at any timestamp, we simply define the pseudolabeling precision as 0, because it is undefined otherwise due to division by zero. Likewise, pseudo-labeling F1 score is $\mathrm{PLF} = \frac{2*\mathrm{PL\ precision*PL\ recall}}{\mathrm{PL\ precision} + \mathrm{PL\ recall}}$ . After a few iterations, the entire time series is expected to be used by pseudo-labeling the sampled target instances.
397
+
398
+ # E Detailed Experiment Results
399
+
400
+ Figure 6 is a detailed version of Figure 5, with standard deviation error bars added.
401
+
402
+ Figure 7 is an expanded version of Figure 5, containing the entire $y$ -axis for TS accuracy and F1@25.
403
+
404
+ Figure 8 shows the pseudo-labeling metrics such as pseudo-labeling precision, pseudo-labeling recall, and the total number of pseudo-labels.
405
+
406
+ Figure 9 shows the accuracy convergence trend when the context length is varied as a factor or multiple of a given length $c$ , illustrating the accuracy curves during the training iterations.
407
+
408
+ ![](images/881e4167b77839de239080a0437119078bc7fae8710432549ac6537192b2e66e.jpg)
409
+ Figure 6. Training curve of the classification performance (the first two rows) and pseudo-labeling performance (the last row) over training iterations in Algorithm 1. Error bars represent the standard deviation of five runs.
410
+
411
+ ![](images/3befe405149fb4bcedf8778b04ee95442dc2bad1307dd17c3e8c22146a8156a7.jpg)
412
+ Figure 7. Training curve of the classification performance over training iterations in Algorithm 1, showing the entire range of each metric.
413
+
414
+ ![](images/556462b90c9527bccd88e82d96def603029192c6266ca29055e89f7e75288189.jpg)
415
+ Figure 8. Pseudo-labeling precision, pseudo-labeling recall, and the number of pseudo-labels of CrossMatch compared with those of FixMatch, FlexMatch, and PropReg.
416
+
417
+ ![](images/118159e71f7878b37c811e3c3f2f3cc82f5cccb9aa410731534aa804e254df83.jpg)
418
+ Figure 9. Classification accuracy of CrossMatch for varying the context length $x \times c$ .
2023/Context Consistency Regularization for Label Sparsity in Time Series/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:213c8ed00ad1853af09caeee45c1a4d275321b21d8d9e1ec491736e2f359d878
3
+ size 969336
2023/Context Consistency Regularization for Label Sparsity in Time Series/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/86660bc6-c69c-4665-870e-6fa177111263_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b2ee656277698346b15c74a76011930aa91d98cb19e28fb545054e3070e40bd
3
+ size 1603311
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb9931acd7540fe280403025f2f666e22b0c37841011083377c3da25c61ad8b1
3
+ size 1547997
2023/Context-Aware Bayesian Network Actor-Critic Methods for Cooperative Multi-Agent Reinforcement Learning/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/445a6de2-5a0e-4121-8649-0df7f4b18152_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a85e82ed47a7cbe5d3574bb0c8299027e60684ae702b4949feb1c9b35fad560d
3
+ size 1576767
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb57522caafbdfdd42dca0a6b14e8398cd83ac4e8cbcd6de342357a9e0765cc1
3
+ size 2010905
2023/Contextual Combinatorial Bandits with Probabilistically Triggered Arms/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Conservative Interleaving Bandits/ea2bc244-59d1-4add-accf-5f1fe8577a5e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:effd274674b321c237cfef1e3a0fb320ae5bba675c00c9709e3a09177e964464
3
+ size 559804
2023/Contextual Conservative Interleaving Bandits/full.md ADDED
@@ -0,0 +1,877 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Contextual Conservative Interleaving Bandits
2
+
3
+ Kei Takemura
4
+
5
+ # Abstract
6
+
7
+ The performance of a bandit algorithm is usually measured by the cumulative rewards of the actions chosen by the algorithm. However, in many real-world applications, the rewards in each round should be good enough for reasons such as safety and fairness. In this paper, we investigate the contextual conservative interleaving bandit problem, which has a performance constraint that requires the chosen actions to be not much worse than given baseline actions in each round. This work is the first to simultaneously consider the following practical situations: (1) multiple actions are chosen in a round, (2) the feature vectors associated with given actions depend on the round, and (3) the performance constraints in each round that depend only on the actions chosen in that round. We propose a meta-algorithm, Greedy on Confidence Widths (GCW), that satisfies the performance constraints with high probability. GCW uses a standard bandit algorithm and achieves minimax optimal regret up to logarithmic factors if the algorithm used is also minimax optimal. We improve the existing analyses for the $\mathrm{C}^2\mathrm{UCB}$ algorithm and the Thompson sampling to combine with GCW. We show that these algorithms achieve near-optimal regret when the feasible sets of given actions are the bases of a matroid. Our numerical experiments on a real-world dataset demonstrate that GCW with the standard bandit algorithms efficiently improves performance while satisfying the performance constraints.
8
+
9
+ # 1. Introduction
10
+
11
+ The stochastic multi-armed bandit (MAB) problem and its extensions have been studied as sequential decision-making problems under uncertainty. In the MAB problem, a learner iterates the following process $T$ times: The learner chooses
12
+
13
+ an action from given actions and then obtains a reward for the chosen action. The learner aims to maximize the sum of rewards. The central challenge of this problem is the exploration-exploitation trade-off due to the lack of prior knowledge about the rewards. The MAB problem has been generalized to many directions to model more realistic situations of real-world applications. For example, the combinatorial semi-bandit (CS) problem (Gai et al., 2012; Kveton et al., 2014; 2015; Wang & Chen, 2018) enables the learner to choose multiple actions at once and observe corresponding rewards, the contextual linear bandit (CLB) problem (Abe & Long, 1999; Auer, 2002; Abbasi-Yadkori et al., 2011; Chu et al., 2011) introduces time-dependent actions associated with feature vectors, and the contextual combinatorial semi-bandit (CCS) problem (Qin et al., 2014; Takemura & Ito, 2019; Takemura et al., 2021) generalizes both the CS and the CLB problems.
14
+
15
+ In recent years, the conservative bandit problems (Wu et al., 2016; Kazerouni et al., 2017; Garcelon et al., 2020; Khezeli & Bitar, 2020; Moradipari et al., 2020; Katariya et al., 2019) have been studied, where constraints on the learner's performance are introduced. Specifically, the learner additionally observes baseline actions for given actions and has to satisfy performance constraints that require that the learner's performance is not much worse than the performance by the baseline actions. The performance constraints mitigate a drawback that the standard bandit algorithms perform poorly in early rounds.
16
+
17
+ Unfortunately, these studies are not yet suitable for many real-world applications. In real-world applications such as recommendations, the following properties summarized in Table 1 should often be satisfied simultaneously: (1) the learner chooses multiple actions at once, (2) the feasible and the baseline actions depend on the round, and (3) the performance constraints guarantee the performance of each round. However, none of the existing studies addresses all of these properties. In Section 2, we will compare this work with the existing studies on the conservative bandit problems in detail.
18
+
19
+ This paper investigates the contextual conservative interleaving bandit (CCIB) problem, which satisfies the three properties above. Specifically, the CCIB problem is the CCS problem with stage-wise performance constraints. As
20
+
21
+ Table 1. Conservative bandit problems.
22
+
23
+ <table><tr><td>Algorithm</td><td>Combinatorial action set</td><td>Time-dependent feasible and baseline actions</td><td>Stage-wise constraints</td></tr><tr><td>Conservative UCB (Wu et al., 2016)</td><td></td><td></td><td></td></tr><tr><td>CLUCB (Kazerouni et al., 2017)</td><td></td><td>✓</td><td></td></tr><tr><td>CLUCB2 (Garcelon et al., 2020)</td><td></td><td>✓</td><td></td></tr><tr><td>SEGE (Khezeli &amp; Bitar, 2020)</td><td></td><td></td><td>✓</td></tr><tr><td>SCLUCB &amp; SCLTS (Moradipari et al., 2020)</td><td></td><td></td><td>✓</td></tr><tr><td>iUCB (Katariya et al., 2019)</td><td>✓</td><td></td><td>✓</td></tr><tr><td>Algorithm 1 (This work)</td><td>✓</td><td>✓</td><td>✓</td></tr></table>
24
+
25
+ in previous studies on bandit algorithms, we measure the performance of an algorithm by its regret, which is the difference between the sum of the rewards of the optimal actions and that of the algorithm's actions.
26
+
27
+ Our main contribution is to propose an algorithm that is minimax optimal up to logarithmic factors. Specifically, the proposed algorithm achieves, with probability at least $1 - \delta$ , $\widetilde{O}(\min(\sqrt{dkT}, d / \Delta) + dk + \min(k\sqrt{dT/n}, dk/(n\Delta)))$ regret while satisfying the constraints, where $d$ is the dimension of the feature vectors, $k$ is the number of actions to be chosen in a round, $T$ is the number of rounds, $n$ is a parameter that controls how conservative the algorithm is, $\Delta$ is a sub-optimality gap, and $\widetilde{O}(\cdot)$ ignores the logarithmic factors in $d$ , $k$ , $T$ , and $1/\delta$ . To show the proposed algorithm is almost optimal, we show matching lower bounds by reducing the CCIB problem to the conservative MAB problem.
28
+
29
+ The proposed algorithm is a meta-algorithm using an algorithm for the CCS problem. Our algorithm interleaves the baseline actions with the actions that the given algorithm recommends to satisfy the performance constraints. The regret by the proposed algorithm can be represented as the sum of the regret due to choosing the baseline actions and that due to choosing the given algorithm's actions. In terms of these high-level ideas, our algorithm and analysis are similar to the iUCB algorithm (Katariya et al., 2019) and its regret analysis for the conservative interleaving bandit (CIB) problem, respectively.<sup>1</sup> However, we cannot use the analysis for the iUCB algorithm to bound the regret of choosing the baseline actions due to the time-dependent actions.
30
+
31
+ The time-dependent actions make it difficult to bound the regret suffered by the baseline actions. This regret can be bounded by the widths of the confidence intervals of the reward estimates for the baseline and the given algorithm's actions. Since the feasible sets of actions are fixed in the
32
+
33
+ CIB problem, the iUCB algorithm can choose all of the baseline and the given algorithm's actions over multiple rounds. Thus, we can use a standard analysis for UCB-type algorithms to bound the regret. However, we cannot take this approach for the CCIB problem since a feature vector in a round may never appear in future rounds. Therefore, it is necessary to bound the confidence widths for the actions that are not chosen by the proposed algorithm since the proposed algorithm cannot choose all the actions of the baseline and the given algorithm's actions.
34
+
35
+ To overcome this difficulty, the proposed algorithm preferentially chooses actions with large confidence widths from the actions of the baseline and the given algorithm. This technique allows us to bound the confidence widths for the actions that are not chosen by the proposed algorithm using those for the the proposed algorithm's actions. Consequently, we can use existing analyses to bound the regret due to satisfying the performance constraints. Since the proposed algorithm chooses the actions with large confidence widths, a sophisticated analysis is needed to bound the sum of these confidence widths. To the best of our knowledge, our analysis is the first to bound the regret by the confidence widths for the actions not chosen by the algorithm. We believe that our technique is useful for sibling problems.
36
+
37
+ We consider the $\mathrm{C^2UCB}$ algorithm (Qin et al., 2014) and the (round-wise) Thompson sampling (Takemura & Ito, 2019) as the algorithm that the proposed algorithm uses. We show that these algorithms achieve near-optimal regret bounds for the CCS problem with the feasible actions characterized by any matroid. Moreover, we show the first gap-dependent regret bound for the $\mathrm{C^2UCB}$ algorithm. Specifically, the $\mathrm{C^2UCB}$ algorithm and the Thompson sampling achieve $\widetilde{O} (\min (\sqrt{dkT},d / \Delta) + dk)$ and $\widetilde{O} (d^{3 / 2}\sqrt{kT} +dk)$ regrets, respectively. The first term of the regret bound of the Thompson sampling has a gap from the optimal bound. However, we can also see this gap in the regret bound of Thompson sampling for the CLB problem (Agrawal & Goyal, 2013; Abeille & Lazaric, 2017). Note that the proposed algorithm is minimax optimal if it uses the $\mathrm{C^2UCB}$ algorithm.
38
+
39
+ We evaluate the proposed algorithm through numerical experiments on a real-world dataset. We conduct our experiments in two cases. One is the case where the feasible and the baseline actions are fixed across the rounds. The other is the case where the given actions depend on the round. In the first case, we compare the proposed algorithm with the iUCB algorithm and its variant that uses the feature vectors to estimate the rewards and the confidence intervals. We also compare our algorithm with the baseline actions of the proposed algorithm and some standard bandit algorithms in both cases. In the first case, the proposed algorithm outperforms other algorithms except for the variant of the iUCB algorithm. The variant of the iUCB algorithm is compatible with the proposed algorithm in terms of regret. However, the variant of the iUCB algorithm is unstable in terms of performance constraints. In the second case, the proposed algorithm behaves similarly to the first. In other words, we observe that our algorithm is robust to the changes in the given actions.
40
+
41
+ # 2. Related Work
42
+
43
+ # 2.1. Conservative Bandits
44
+
45
+ The concept of the conservative bandit problems was proposed by Wu et al. (2016). They studied the MAB problem with constraints that in each round, the learner has to satisfy that the cumulative reward until this round is not much worse than the cumulative reward by the baseline. This work was generalized to the CLB problem (Kazerouni et al., 2017; Garcelon et al., 2020). While these studies consider the constraints on cumulative rewards, the performance constraints should guarantee the performance of each round in real-world applications. For instance, let us consider a recommender system. If the system recommends items that do not match the target user's preferences at all due to exploration by the bandit algorithms, this user may never use the system again. Furthermore, it is unfair to recommend unfavorable items to one user due to the exploration but favorable items to another.
46
+
47
+ Khezeli & Bitar (2020) and Moradipari et al. (2020) introduced stage-wise constraints that consider the rewards of each round to the linear bandit problem with a time-independent convex action set. While the stage-wise constraints solve the performance issue in early rounds, these studies strongly rely on the assumption that the action set is time-independent and convex. In other words, we cannot apply these studies to many real-world applications (e.g., the recommender system considered above).
48
+
49
+ Katariya et al. (2019) studied the CIB problem, which is the CS problem with baseline actions and stage-wise performance constraints. They simultaneously handled the non-convex action set and the stage-wise constraints by in
50
+
51
+ troducing the problem in which the learner chooses multiple actions in a round. Moreover, the learner must often choose multiple actions simultaneously in real-world applications. Note that the CIB and CCIB problems denote the problems of maximizing the sum of rewards, while the CS and CCS problems cover some classes of non-linear functions of the rewards.
52
+
53
+ While the CIB problem assumes that the feasible and the baseline actions do not depend on the round, the feasible and the baseline actions often depend on the round in real-world applications. In a news article recommendation, for example, news articles would change over the rounds as old news articles are deleted or the latest news articles are added (Li et al., 2010; Wang et al., 2017). The given actions correspond to the news articles in this example. Note that the feasible and the baseline actions could depend on the round, even if the given actions are fixed over the rounds.
54
+
55
+ # 2.2. Contextual Combinatorial Semi-Bandits
56
+
57
+ Qin et al. (2014) proposed the CCS problem and the $\mathrm{C}^2\mathrm{UCB}$ algorithm. Takemura & Ito (2019) and Takemura et al. (2021) improved the regret bound by the $\mathrm{C}^2\mathrm{UCB}$ algorithm. In particular, Takemura et al. (2021) showed that the $\mathrm{C}^2\mathrm{UCB}$ algorithm is minimax optimal up to logarithmic factors when the partition matroid characterizes the feasible actions. Our analysis of the $\mathrm{C}^2\mathrm{UCB}$ algorithm is an extension of the analysis by Takemura et al. (2021).
58
+
59
+ Takemura & Ito (2019) proposed Thompson sampling algorithms for the CCS problem was proposed and showed that this algorithm achieves $\widetilde{O} (\max (\sqrt{d},\sqrt{k})d\sqrt{kT})$ regret. Unlike the $\mathrm{C^2UCB}$ algorithm, the Thompson sampling algorithms in the CCS problem with the feasible actions characterized by matroids have not been studied. In addition, a gap-dependent bound of the Thompson sampling algorithms for the CCS problem is not known.
60
+
61
+ # 3. Problem Setting
62
+
63
+ # 3.1. Contextual Conservative Interleaving Bandits
64
+
65
+ We formally define the CCIB problem. This problem consists of $T$ rounds, and a learner chooses a set of $k$ actions from a given family of action sets in each round. Each action, called arm, is associated with a $d$ -dimensional feature vector. Let $N$ denote the number of given arms, and each arm is indexed by an integer in $[N] := \{1, 2, \dots, N\}$ . Note that the learner knows the above parameters in advance.
66
+
67
+ The learner progresses through each round as follows. At the beginning of the $t$ -th round, a learner observes the feature vectors $\{x_{t}(i)\}_{i\in [N]}\subseteq \mathbb{R}^{d}$ of the arms. In addition, the learner observes a family $\mathcal{S}_t\subseteq 2^{[N]}$ of feasible sets of arms and a feasible set $B_{t}\in \mathcal{S}_{t}$ called baseline arms. Then, the
68
+
69
+ learner chooses a feasible set $I_{t} \in S_{t}$ . We assume that each feasible set of arms is of size $k$ , i.e., $\forall I \in S_{t}, |I| = k$ . At the end of the round, the learner obtains the rewards $\{r_{t}(i)\}_{i \in I_{t}}$ , where for all $i \in I_{t}$ , $r_{t}(i) = \theta^{\top} x_{t}(i) + \eta_{t}(i)$ for some unknown parameter $\theta \in \mathbb{R}^{d}$ and a random noise $\eta_{t}(i) \in \mathbb{R}$ . We will introduce the assumption on $\eta_{t}(i)$ in Section 3.2.
70
+
71
+ We evaluate the performance of the learner by the regret $R(T)$ , which is defined as
72
+
73
+ $$
74
+ R (T) = \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t}} \mu_ {t} (i)\right),
75
+ $$
76
+
77
+ where $\mu_t(i) = \theta^\top x_t(i)$ for all $i \in [N]$ and $t \in [T]$ , and $I_t^* \in \operatorname{argmax}_{I \in \mathcal{S}_t} \sum_{i \in I} \mu_t(i)$ for all $t \in [T]$ . The learner aims to minimize the regret, which is equivalent to maximizing $\sum_{t \in [T]} \sum_{i \in I_t} \mu_t(i)$ .
78
+
79
+ Compared to the standard bandit problems, the CCIB problem additionally introduces stage-wise performance constraints as in the CIB problem (Katariya et al., 2019). These constraints require that chosen arms' performance in each round should not be much worse than the baseline arms' performance of the round. More precisely, with high probability, there exists a bijection $\rho_t: I_t \to B_t$ such that
80
+
81
+ $$
82
+ \sum_ {i \in I _ {t}} \mathbb {1} \left(\mu_ {t} (i) < \mu_ {t} \left(\rho_ {t} (i)\right)\right) \leq m \tag {1}
83
+ $$
84
+
85
+ for all $t \in [T]$ , where $m$ is a non-negative parameter that represents how $I_{t}$ should be conservative. Our constraint allows aggressive explorations when $m$ is large. Note that choosing $B_{t}$ satisfies this constraint.
86
+
87
+ Several existing studies (Wu et al., 2016; Kazerouni et al., 2017; Garcelon et al., 2020; Moradipari et al., 2020) define a performance constraint using the sum of obtained rewards. An adaptation of this constraint to our problem is that
88
+
89
+ $$
90
+ \sum_ {i \in I _ {t}} \mu_ {t} (i) \geq (1 - \alpha) \sum_ {i \in B _ {t}} \mu_ {t} (i) \tag {2}
91
+ $$
92
+
93
+ for a fixed $\alpha \in [0,1]$ for all $t\in [T]$ , with high probability. In general, this constraint is not directly comparable to our constraint. We show this fact in Appendix B.1. However, we show that constraint (1) implies constraint (2) under a reasonable assumption, which will be discussed in Section 3.2.
94
+
95
+ # 3.2. Assumptions
96
+
97
+ We introduce several assumptions on the CCIB problem and define a few parameters of the problem.
98
+
99
+ First, we discuss the assumptions of the feature vectors, the unknown parameter, the rewards, and their noises. Recall that $\mu_t(i) = \theta^\top x_t(i)$ and $r_t(i) = \mu_t(i) + \eta_t(i)$ . We assume the following standard assumptions in the CCS problem (Qin et al., 2014; Takemura & Ito, 2019; Takemura et al., 2021) and the conservative bandit problems (Wu et al., 2016; Kazerouni et al., 2017; Garcelon et al., 2020):
100
+
101
+ Assumption 3.1. The feature vectors $\{x_{t}(i)\}_{i\in [N]}$ are determined by oblivious adversary.
102
+
103
+ Assumption 3.2. The learner knows $\| \theta \|_2 \leq M$ and $\| x_t(i) \|_2 \leq L$ for all $i \in [N]$ and $t \in [T]$ .
104
+
105
+ Assumption 3.3. The mean reward $\mu_t(i)$ satisfies $\mu_t(i) \in [0,1]$ for all $i \in [N]$ and $t \in [T]$ .
106
+
107
+ Assumption 3.4. The noise sequence $\{\eta_t(i)\}_{i\in I_t,t\in [T]}$ is conditionally $R$ -sub-Gaussian, i.e,
108
+
109
+ $$
110
+ \begin{array}{l} \mathbb {E} \left[ \exp (\lambda \eta_ {t} (i)) \mid \{x _ {s} (j) \} _ {j \in I _ {s}, s \in [ t ]}, \{\eta_ {s} (j) \} _ {j \in I _ {s}, s \in [ t - 1 ]} \right] \\ \leq \exp (\lambda^ {2} R ^ {2} / 2) \\ \end{array}
111
+ $$
112
+
113
+ for all $\lambda \in \mathbb{R}$ , $i\in I_t$ and $t\in [T]$ .
114
+
115
+ Note that Assumption 3.4 implies that the mean of $\eta_t(i)$ is zero for all $i\in I_t$ and $t\in [T]$ .
116
+
117
+ Next, we define the requirements for the algorithm used by the proposed meta-algorithm.
118
+
119
+ Assumption 3.5. The algorithm used by the proposed meta-algorithm works for the CCS problem (i.e., the CCIB problem without the performance constraints). The algorithm has an internal model for the estimation of rewards. In a round $t$ , the algorithm runs as follows:
120
+
121
+ 1. It estimates the rewards of given arms based on observed feature vectors.
122
+ 2. It chooses arms by solving $\operatorname{argmax}_{I\in S_t}r_t'(i)$ , where $\{r_t'(i)\}_{i\in [N]}$ is estimation of the rewards.
123
+ 3. It plays the chosen arms and updates the internal model using the feature vectors, the chosen arms, and the observed rewards.
124
+
125
+ Furthermore, the algorithm can retry the second step with another set $S_{t}^{\prime}$ of feasible actions as long as it is before executing the third step.
126
+
127
+ Note that the standard bandit algorithms such as the UCB-type algorithms, the Thompson sampling, and the $(\varepsilon -)$ greedy algorithm satisfy Assumption 3.5.
128
+
129
+ Next, we discuss the family of feasible sets of arms, i.e., $S_{t}$ . As in the CIB problem (Katariya et al., 2019), we focus on exchangeable set:
130
+
131
+ Definition 3.6 (Exchangeable set). Given a set $E$ , a family $S \subseteq 2^{E}$ is exchangeable if for any two sets $I_{1}, I_{2} \in S$ , there exists a bijection $\rho : I_{1} \to I_{2}$ such that
132
+
133
+ $$
134
+ \forall J \subseteq I _ {1}, (I _ {1} \backslash J) \cup \{\rho (i) \mid i \in J \} \in \mathcal {S}. \tag {3}
135
+ $$
136
+
137
+ Assumption 3.7. The family of feasible sets of arms, $\mathcal{S}_t$ , is exchangeable for all $t \in [T]$ .
138
+
139
+ Assumption 3.8. For any $t \in [T]$ and $I_1, I_2 \in S_t$ , the learner knows a bijection $\rho: I_1 \to I_2$ that satisfies (3).
140
+
141
+ The set $E$ in Definition 3.6 corresponds to $[N]$ in our problem. Note that if $S_{t}$ is the bases of a uniform matroid or a partition matroid, it is known how to construct the bijection that satisfies (3) (Katariya et al., 2019).
142
+
143
+ We discuss how large the class of exchangeable sets is. Katariya et al. (2019) pointed out that the set of the bases of a strongly base-orderable matroid is exchangeable, but the converse remains an open question. This paper solves this question in the affirmative, i.e., we show that every exchangeable set is the set of the bases of some strongly base-orderable matroid. We defer our proof to Appendix C. It is known that the strongly base-orderable matroid includes the uniform matroid, the partition matroid, and the transversal matroid.
144
+
145
+ Next, we discuss the lower bound of the parameter $m$ . Intuitively, small $m$ makes the CCIB problem difficult. In fact, when $m = 0$ , no algorithm can achieve sub-linear regret while satisfying our performance constraint. We defer our proof to Appendix E.1. To obtain sub-linear regret, we assume the following:
146
+
147
+ Assumption 3.9. The parameter $m$ satisfies $m \geq 1$ .
148
+
149
+ Finally, we introduce a reasonable assumption for a reduction from the constraint (2) to constraint (1). We defer our proof to Appendix B.2.
150
+
151
+ Assumption 3.10. Let $r_{\ell} = \min_{t\in [T]}\min_{i\in B_t}\mu_t(i)$ . Then, the parameters $k, m, \alpha$ and $r_{\ell}$ satisfy $\alpha r_{\ell} \geq m / (k - m)$ .
152
+
153
+ Note that we do not need Assumption 3.10 to satisfy constraint (1). Since we have a reduction, we will focus on constraint (1) in the rest of this paper.
154
+
155
+ # 4. Proposed Algorithm
156
+
157
+ In this section, we propose an algorithm for the CCIB problem. Our algorithm, described in Algorithm 1, is the first to deal with time-dependent feature vectors and stage-wise performance constraints, as discussed in Section 1. Since our algorithm is a meta-algorithm, it requires a base algorithm $\mathcal{A}$ for the CCS problem as input.
158
+
159
+ At the beginning of the $t$ -th round, our algorithm observes the feature vectors $\{x_{t}(i)\}_{i\in [N]}$ , feasible sets $\mathcal{S}_t$ , and baseline arms $B_{t}$ (line 3). Then, our algorithm receives the arms
160
+
161
+ # Algorithm 1 Greedy on confidence widths
162
+
163
+ Input: $\lambda > 0, \delta \in (0,1), n \in \mathbb{N}$ , and an algorithm $\mathcal{A}$ .
164
+
165
+ 1: $V_{0}\gets \lambda I$ and $b_0\gets 0$
166
+ 2: for $t = 1,2,\ldots ,T$ do
167
+
168
+ 3: Observe $\{x_{t}(i)\}_{i\in [N]},S_{t}$ , and $B_{t}$
169
+ 4: $\hat{I}_t \in \operatorname{argmax}_{I \in \mathcal{S}_t} \sum_{i \in I} r_t'(i)$ , where $\{r_t'(i)\}_{i \in [N]}$ is the estimation of rewards by $\mathcal{A}$ .
170
+ 5: Define $\bar{r}_t(i)$ for all $i\in [N]$ according to (4).
171
+ 6: $\bar{I}_t\in \mathrm{argmax}_{I\in S_t}\sum_{i\in I}\bar{r}_t(i)$
172
+ 7: Let $\bar{\rho}_t:\bar{I}_t\to \hat{I}_t$ be the bijection that satisfies (3).
173
+ 8: $\bar{I}_t^0\gets \bar{I}_t$ and $J_{t}^{0}\leftarrow \emptyset$
174
+ 9: for $\ell = 1,2,\ldots ,n$ do
175
+ 0: $i_t^\ell \in \mathrm{argmax}_{i\in \bar{l}_t^{\ell -1}}\max (c_t(i),c_t(\bar{\rho}_t(i))).$
176
+ 11: $\bar{I}_t^\ell \gets \bar{I}_t^{\ell -1}\setminus \{i_t^\ell \} .$
177
+ 12: $j_{t}^{\ell}\gets \mathrm{argmax}_{j\in \{i_{t}^{\ell},\hat{\rho}_{t}(i_{t}^{\ell})\}}c_{t}(j).$
178
+ 13: $J_{t}^{\ell}\gets J_{t}^{\ell -1}\cup \{j_{t}^{\ell}\} .$
179
+ 14: end for
180
+ 15: Choose $I_{t} \in S_{t}$ such that $|I_{t} \setminus \bar{I}_{t}| \leq n$ , $J_{t}^{n} \subseteq I_{t} \subseteq \hat{I}_{t} \cup \bar{I}_{t}$ , and $i \in I_{t}$ if and only if $\bar{\rho}_{t}(i) \notin I_{t}$ for all $i \in \bar{I}_{t} \setminus \hat{I}_{t}$ .
181
+ 16: Play $I_{t} \in S_{t}$ and observe the rewards $\{r_{t}(i)\}_{i \in I_{t}}$ .
182
+ 17: Feed $\hat{I}_t \cap I_t$ and the corresponding rewards to $\mathcal{A}$ , and update $\mathcal{A}$ as if it has chosen $\hat{I}_t \cap I_t$ .
183
+ 18: $V_{t}\gets V_{t - 1} + \sum_{i\in I_{t}}x_{t}(i)x_{t}(i)^{\top}.$
184
+ 19: $b_{t}\gets b_{t - 1} + \sum_{i\in I_{t}}r_{t}(i)x_{t}(i).$
185
+ 20: end for
186
+
187
+ $\hat{I}_t$ that the base algorithm $\mathcal{A}$ recommends (line 4). In the following and our analysis, we call $\hat{I}_t$ recommended choice.
188
+
189
+ Then, the proposed algorithm starts to interleave the recommended arms with the baseline arms. At the first step of our interleaving, the proposed algorithm obtains safe arms $\bar{I}_t$ such that there exists a bijection $\rho_t: \bar{I}_t \to B_t$ that satisfies $\mu_t(i) \geq \mu_t(\rho_t(i))$ for all $i \in \bar{I}_t$ with high probability. To obtain the safe arms, we define the following rewards and solve the maximization problem (lines 5 and 6):
190
+
191
+ $$
192
+ \bar {r} _ {t} (i) = \left\{ \begin{array}{l l} \hat {r} _ {t} (i) & \text {i f} i \in B _ {t} \\ \check {r} _ {t} (i) & \text {i f} i \in \hat {I} _ {t} \backslash B _ {t} \\ - \infty & \text {o t h e r w i s e} \end{array} , \right. \tag {4}
193
+ $$
194
+
195
+ where $\hat{r}_t(i) = \hat{\theta}_t^\top x_t(i) + c_t(i)$ , $\check{r}_t(i) = \hat{\theta}_t^\top x_t(i) - c_t(i)$ , $\hat{\theta}_t = V_{t-1}^{-1}b_{t-1}$ , $c_t(i) = \beta_t(\delta)\sqrt{x_t(i)^\top V_{t-1}^{-1}x_t(i)}$ , and $\beta_t(\delta) = \widetilde{O}(\sqrt{\min(\log(N),d)} + M\sqrt{\lambda})$ for all $i \in [N]$ . The formal definition of $\beta_t(\delta)$ is described in Appendix D.1. Note that $\bar{I}_t \subseteq \hat{I}_t \cup B_t$ because $B_t$ is a feasible solution with a finite objective value. Note also that since $S_t$ is the bases of a matroid, this optimization problem can be solved efficiently by the greedy algorithm (Korte & Vygen, 2018).
196
+
197
+ Then, the proposed algorithm chooses the arms from $\hat{I}_t\cup \bar{I}_t$ for the exploration. Our algorithm needs a positive integer
198
+
199
+ $n$ , which controls the maximum number of arms for the exploration. The algorithm preferentially chooses $n$ arms with large confidence widths as $J_{t}^{n}$ (lines 8-14). Then, the algorithm chooses the playing arms $\bar{I}_{t}$ that includes $J_{t}^{n}$ (line 15). Note that one can choose any set of arms that satisfies all conditions in line 17 of Algorithm 1. For example, the set $(\bar{I}_t\setminus \{j\in J_t^n\cap (\hat{I}_t\setminus \bar{I}_t)\mid \bar{\rho}_t^{-1}(j)\})\cup (J_t^n\cap (\hat{I}_t\setminus \bar{I}_t))$ satisfies the conditions. If $|J_{t}^{n}\cap (\hat{I}_{t}\setminus \bar{I}_{t})| < n$ and $\hat{I}_t\backslash (J_t^n\cup \bar{I}_t)\neq \emptyset$ we can further exchange the arms in $\hat{I}_t\setminus (J_t^n\cup \bar{I}_t)$ for the corresponding baseline arms.
200
+
201
+ At the end of the $t$ -th round, the proposed algorithm and the base algorithm $\mathcal{A}$ update their reward estimation by the observed rewards (lines 17-19). This update of $\mathcal{A}$ can be seen as a retry of choosing arms by $\mathcal{A}$ . In fact, it holds that $\hat{I}_t \cap I_t \in \operatorname{argmax}_{I \in S_t'} \sum_{i \in [N]} r_t'(i)$ for some $S_t'$ (see our proof of Lemma 5.2 for details). Therefore, the base algorithm $\mathcal{A}$ runs on an instance of the CCS problem. In other words, we can use existing regret bounds of $\mathcal{A}$ to bound the regret by $\hat{I}_t \cap I_t$ .
202
+
203
+ To bound the regret by the proposed algorithm, the central part of our analysis (and the analysis by Katariya et al. (2019)) is to bound the regret by $\{I_t\backslash \hat{I}_t\}_{t\in [T]}$ , i.e., bounding the penalty by satisfying our performance constraint. We call the set $I_{t}\backslash \hat{I}_{t}$ conservative choice. Note that $I_{t}\backslash \hat{I}_{t}\subseteq B_{t}$ . The regret by the conservative choices can be bounded by the confidence widths for the conservative choices and those for the recommended choices.
204
+
205
+ For the CIB problem (i.e., $\{x_{i}(i)\}_{i\in [N]}$ , $S_{t}$ , and $B_{t}$ are fixed over the round)<sup>3</sup>, Katariya et al. (2019) showed that the confidence widths by the iUCB algorithm for the conservative choices can be bounded by those for the recommended choices. Since $S_{t}$ fixed, the iUCB algorithm chooses the conservative and the recommended arms using multiple rounds and it is possible to use a standard analysis for UCB-type algorithms to bound the regret. However, we cannot use this approach for the CCIB problem because of the contextual setting. First, we cannot bound the confidence width for the conservative choices by that for the recommended choices since the baseline arms may change. Second, our algorithm may not be able to choose the recommended choices in other rounds because these feature vectors may not appear in other rounds.
206
+
207
+ To solve these problems, our algorithm chooses $J_{t}^{n}$ . As discussed in Section 1, choosing $J_{t}^{n}$ enables us to bound the confidence widths for the arms that are not chosen by our algorithm using those for the playing arms $I_{t}$ . Then, we can utilize the existing analyses for the standard bandit algorithms. We formally show this fact in the next section.
208
+
209
+ # 5. Regret Analysis
210
+
211
+ In this section, we introduce and prove our regret bound of the proposed algorithm. Let $S_{t}^{*} = \operatorname{argmax}_{I\in S_{t}}\sum_{i\in I}\mu_{t}(i)$ . Throughout our analysis, we fix $I_{t}^{*}\in S_{t}^{*}$ arbitrarily for all $t\in [T]$ and assume that $\forall t\in [T],S_{t}\neq S_{t}^{*}$ for ease of presentation. Note that we have no regret when $S_{t} = S_{t}^{*}$ . Then, we define the following suboptimality gaps: $\Delta_t(i,j) = \mu_t(j) - \mu_t(i)$ and $\Delta = \min_{t\in [T],I\in S_t\backslash S_t^*,i\in I,i^*\in I_t^*: \Delta_t(i,i^*) > 0}\Delta_t(i,i^*)$
212
+
213
+ Using our gap $\Delta$ , we introduce our regret bound:
214
+
215
+ Theorem 5.1. Let $\kappa = \min (\log (N),d)$ $\nu = \log (kT)$ and $\iota = \min (\log (NkT / \delta),d\log (kT / \delta))$ . If $\lambda = (R / M)^2\kappa$ and $n\leq m$ , with probability at least $1 - \delta$ Algorithm 1 satisfies performance constraint (1) for all $t\in [T]$ and achieves the following regret bound:
216
+
217
+ $$
218
+ \begin{array}{l} R (T) = R _ {\mathcal {A}} (T) + O \left(\min \left(\sqrt {d k T \nu \iota}, d \nu \iota / \Delta\right) + d k \nu \right. \\ \left. + \min \left(k \sqrt {d T \nu \iota / n}, d k \nu \iota / (n \Delta)\right)\right), \\ \end{array}
219
+ $$
220
+
221
+ where $R_{\mathcal{A}}(T)$ is the regret bound of the base algorithm $\mathcal{A}$ for the CCS problem.
222
+
223
+ Our regret bound consists of the regret bound of the base algorithm $\mathcal{A}$ and the penalty for satisfying the performance constraints. We will show in Section 6 that the penalty term is minimax optimal up to logarithmic factors. Furthermore, the penalty term matches the regret bound of the iUCB algorithm by Katariya et al. (2019) when we apply the proposed algorithm to the CIB problem.
224
+
225
+ In the remainder of this section, we prove Theorem 5.1 and the regret bounds for the two algorithms used as the base algorithm $\mathcal{A}$ . We defer all missing proofs to Appendix D. Recall that $\hat{I}_t$ is the recommended choice (line 4 of Algorithm 1), and $I_t \setminus \hat{I}_t$ is the conservative choice. Let $\hat{\rho}_t^* : \hat{I}_t \to I_t^*$ be the bijection satisfying (3). Let $\rho_t^* : I_t \to I_t^*$ denote $\rho_t^*(i) = \hat{\rho}_t^*(i)$ if $i \in \hat{I}_t$ and $\rho_t^*(i) = \hat{\rho}_t^*(\bar{\rho}_t(i))$ otherwise. Let $R_t(i) = \mu_t(\rho_t^*(i)) - \mu_t(i)$ for $i \in I_t \setminus \hat{I}_t$ .
226
+
227
+ Our analysis decomposes the regret as follows and bounds them separately:
228
+
229
+ $$
230
+ R (T) = \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \cap \hat {I} _ {t}} R _ {t} (i) + \sum_ {i \in I _ {t} \backslash \hat {I} _ {t}} R _ {t} (i)\right). \tag {5}
231
+ $$
232
+
233
+ The former is the regret of the recommended choices, and the latter is the regret of the conservative choices. We have the following lemma for the regret by the recommended choices:
234
+
235
+ Lemma 5.2. We have $\sum_{t\in [T]}\sum_{i\in I_t\cap \hat{I}_t}R_t(i)\leq R_{\mathcal{A}}(T).$
236
+
237
+ As a common tool for our analysis, we bound the estimation errors of the rewards as in previous work (Qin et al., 2014; Takemura & Ito, 2019; Takemura et al., 2021). Let $\| x \|_A$ denote $\sqrt{x^\top A x}$ for all $x \in \mathbb{R}^d$ and $A \in \mathbb{R}^{d \times d}$ such that $A$ is positive definite. Then, we have the following:
238
+
239
+ Lemma 5.3. Suppose that $\delta \in (0,1)$ . We have, with probability at least $1 - \delta$ , for all $t \in [T]$ and $i \in [N]$ ,
240
+
241
+ $$
242
+ \left| \mu_ {t} (i) - \hat {\theta} _ {t} ^ {\top} x _ {t} (i) \right| \leq \beta_ {t} (\delta) \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}}. \tag {6}
243
+ $$
244
+
245
+ In our proof of Theorem 5.1, we assume that (6) holds.
246
+
247
+ # 5.1. Regret by Conservative Choices
248
+
249
+ Similar to the analysis by Katariya et al. (2019), we can bound the regret of an arm in the conservative choices by the sum of the confidence widths for that arm and the corresponding arm in the recommended choices:
250
+
251
+ Lemma 5.4. For any $t \in [T]$ and any $i \in I_t \setminus \hat{I}_t$ , we have $\mu_t(\rho_t^*(i)) - \mu_t(i) \leq 2(c_t(i) + c_t(\bar{\rho}_t(i)))$ .
252
+
253
+ Since the confidence widths of $J_{t}^{n}$ is larger than those of $(\bar{I}_{t} \cup \hat{I}_{t}) \setminus J_{t}^{n}$ , we can bound the regret by the sum of the confidence widths of $J_{t}^{n}$ . However, to bound such large confidence widths, we need two additional theoretical tools.
254
+
255
+ First, we show that the number of times the confidence widths for $J_{t}^{n}$ are greater than the sub-optimality gap can be bounded. Recall that $j_{t}^{\ell}$ is defined in line 15 of Algorithm 1 for all $\ell \in [n]$ .
256
+
257
+ Lemma 5.5. Let $\gamma_{\ell} = \sqrt{\ell}\Delta /(4\beta_{T}(\delta))$ for all $\ell \in [n]$ . Then, for any $\ell \in [n]$ , we have $\sum_{t\in [T]}\mathbb{1}(c_t(j_t^\ell)\geq \Delta /4)\leq 2d\log (1 + L^2 kT / (d\lambda)) / \min (\gamma_\ell^2,1)$
258
+
259
+ Second, we show that the conservative choice suffers no regret if their confidence widths are smaller than the suboptimality gap. Recall that $\hat{\rho}_t^*:\hat{I}_t\to I_t^*$ and $\bar{\rho}_t(i):\bar{I}_t\rightarrow \hat{I}_t$ are the bijections satisfying (3).
260
+
261
+ Lemma 5.6. For any $i\in \bar{I}_t$ , if $c_{t}(i) + c_{t}(\bar{\rho}_{t}(i)) < \Delta /2$ we have $\mu_t(i) = \mu_t(\bar{\rho}_t(i)) = \mu_t(\hat{\rho}_t^* (\bar{\rho}_t(i)))$
262
+
263
+ We are ready to bound the regret due to the conservative choices. The regret can be rewritten as
264
+
265
+ $$
266
+ \begin{array}{l} \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash \hat {I} _ {t}} R _ {t} (i) = \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash (\hat {I} _ {t} \cup J _ {t} ^ {n})} R _ {t} (i) (7) \\ + \sum_ {t \in [ T ]} \sum_ {i \in J _ {t} ^ {n} \backslash \hat {I} _ {t}} R _ {t} (i). (8) \\ \end{array}
267
+ $$
268
+
269
+ First, we bound the regret due to the right-hand side of (7). Let $\bar{I}_t' = I_t \setminus (\hat{I}_t \cup J_t^n)$ . Since $\beta_T(\delta) \geq \beta_t(\delta)$ for all $t \in [T]$
270
+
271
+ and $c_{t}(i) + c_{t}(\bar{\rho}_{t}(i)) \leq 2c_{t}(j_{t}^{n})$ for all $I_{t} \setminus J_{t}^{n}$ and $t \in [T]$ , by Lemma 5.4 and Lemma 5.6, we obtain
272
+
273
+ $$
274
+ \begin{array}{l} \sum_ {t \in [ T ]} \sum_ {i \in \bar {I} _ {t} ^ {\prime}} R _ {t} (i) \leq \sum_ {t \in \Phi} \sum_ {i \in \bar {I} _ {t} ^ {\prime}} R _ {t} (i) + \sum_ {t \in \Psi} \sum_ {i \in \bar {I} _ {t} ^ {\prime}} R _ {t} (i) \\ \leq 2 k \beta_ {T} (\delta) \sum_ {t \in \Phi} \| x _ {t} (j _ {t} ^ {n}) \| _ {V _ {t} ^ {- 1}} + k | \Psi |, \\ \end{array}
275
+ $$
276
+
277
+ where $\Phi = \{t\in [T]\mid c_t(j_t^n)\geq \frac{\Delta}{4},\| x_t(j_t^n)\|_{\widetilde{V}_{t - 1,n}^{-1}}^2\leq \frac{1}{n}\}$ $\Psi = \{t\in [T]\mid \| x_t(j_t^n)\|_{\widetilde{V}_{t - 1,n}^{-1}}^2 >\frac{1}{n}\}$ , and $\widetilde{V}_{t,\ell} = \lambda I+$ $\sum_{s\in [t]}\sum_{j\in J_t^\ell}x_s(j)x_s(j)^\top$ for all $\ell \in [n]$ and $t\in [T]$ . We consider the rounds in $\Phi$ . Let $\xi = \log (1 + L^{2}kT / (d\lambda))$ Then, we have
278
+
279
+ $$
280
+ \begin{array}{l} \sum_ {t \in \Phi} \| x _ {t} \left(j _ {t} ^ {n}\right) \| _ {V _ {t - 1} ^ {- 1}} \leq \frac {1}{n} \sum_ {t \in \Phi} \sum_ {j \in J _ {t} ^ {n}} \min \left(\frac {1}{\sqrt {n}}, \| x _ {t} (j) \| _ {\widetilde {V} _ {t - 1, n} ^ {- 1}}\right) \\ \leq \frac {1}{n} \sqrt {n | \Phi | \sum_ {t \in \Phi} \sum_ {j \in J _ {t} ^ {n}} \min \left(\frac {1}{n} , \| x _ {t} (j) \| _ {\tilde {V} _ {t - 1 , n}} ^ {2}\right)} \\ \leq \min \left(\sqrt {\frac {2 d T \xi}{n}}, \frac {2 d}{\sqrt {n} \min (\gamma_ {n} , 1)} \xi\right), \\ \end{array}
281
+ $$
282
+
283
+ where the first inequality is derived from the facts that $V_{t} \succeq \widetilde{V}_{t,n}$ and $c_{t}(j_{t}^{n}) \leq c_{t}(j_{t}^{\ell})$ for all $\ell \in [n]$ and $t \in [T]$ , the second inequality holds by the Cauchy-Schwarz inequality, and the last inequality is obtained by Lemma A.3 (Lemma 5 by Takemura et al. (2021)) and Lemma 5.5.
284
+
285
+ For the rounds in $\Psi$ , by a similar discussion above, we have $k|\Psi| \leq \frac{k}{n} \sum_{t \in [T]} \sum_{j \in J_t^n} \mathbb{1}(\|x_t(j)\|_{\widetilde{V}_{t-1,n}^{-1}}^2 > \frac{1}{n}) \leq 2dk\xi$ , where the last inequality follows from Lemma A.3.
286
+
287
+ Next, we bound the regret due to (8). Using Lemma 5.4, we have $R_{t}(j)\leq 2\beta_{t}(\delta)\| x_{t}(j)\|_{V_{t - 1}^{-1}}$ for all $j\in J_t^n$ and $t\in [T]$ . Thus, by a similar analysis for the $\mathbf{C}^2$ UCB algorithm, we have the following bound (see Appendix D.7 for details): $\sum_{t\in [T]}\sum_{i\in J_t^n\setminus \hat{I}_t}R_t(i) = \tilde{O} (\min (\sqrt{dnT\nu},\frac{d\nu}{\Delta}) + dn\nu).$ Finally, combining the above discussions, we obtain the desired result.
288
+
289
+ # 5.2. Performance Guarantee
290
+
291
+ The rest of our proof of Theorem 5.1 is to show that the set $\{I_t\}_{t \in [T]}$ of the playing arms satisfies our performance constraint (1) with high probability. To show this performance guarantee, we bound the number of arms to be chosen for the exploration. To prove the desired result, we use the following lemma:
292
+
293
+ Lemma 5.7. Let $E$ be the ground set of a matroid, $\mathcal{A}$ be the set of the bases of the matroid, and $A\in \mathcal{A}$ be a basis. Let $r:E\to \mathbb{R}$ be a reward function and $A^{*}$ be a basis such that $A^{*}\in \operatorname{argmax}_{I\in \mathcal{A}}\sum_{i\in I}r(i)$ . Then, there exists
294
+
295
+ a bijection $\rho : A^{*} \to A$ such that $r(i) \geq r(\rho(i))$ for all $i \in A^{*}$ . In addition, we have $\rho(i) = i$ for all $i \in A^{*} \cap A$ .
296
+
297
+ We fix $t \in [T]$ arbitrarily. Let $\rho_t': \bar{I}_t \to B_t$ be a bijection by Lemma 5.7 with $\{\bar{r}_t(i)\}_{i \in [N]}$ . Then, since (6) holds, for any $i \in \bar{I}_t$ , we have $\mu_t(i) \geq \bar{r}_t(i) \geq \bar{r}_t(\rho_t'(i)) \geq \mu_t(\rho_t'(i))$ . Hence, it is sufficient to compare $I_t$ with $\bar{I}_t$ . By the construction of $I_t$ , we always have $|I_t \setminus \bar{I}_t| \leq n$ . This fact and $n \leq m$ imply that $I_t$ satisfies the constraint.
298
+
299
+ # 5.3. Near-Optimal Regret Bounds for the CCS Problem
300
+
301
+ In this subsection, we briefly introduce our analysis for the $\mathrm{C^2UCB}$ algorithm and the Thompson sampling. A full proof is provided in Appendix G and Appendix H. Note that we consider the CCS problem and the definition of regret is the same as the regret of the CCIB problem.
302
+
303
+ The key component of our proof is the bijection $\rho_t^* : I_t \to I_t^*$ by Lemma 5.7 with the reward estimates. These estimates $\{r_t'(i)\}_{i \in [N]}$ correspond to the upper confidence bounds and the rewards calculated by the sampled parameter in the C²UCB algorithm and the Thompson sampling, respectively. Recall that $R_t(i) = \mu_t(\rho^*(i)) - \mu_t(i)$ . Then, we can decompose the regret as follows: $R(T) = \sum_{t \in [T]} \left( \sum_{i \in I_t \setminus J_t} R_t(i) + \sum_{i \in J_t} R_t(i) \right)$ , where $J_t = \{ i \in I_t \mid \| x_t(i) \|_{V_{t-1}^{-1}} \geq 1 / \sqrt{k} \}$ . The former term can be bounded by a variant of the existing analyses because we have $r_t'(i) \geq r_t'(\rho_t^*(i))$ for all $i \in I_t$ . The latter term can be bounded by the fact that $\sum_{t \in [T]} |J_t| = \widetilde{O}(dk)$ .
304
+
305
+ # 6. Lower Bounds
306
+
307
+ In this section, we show the following theorem:
308
+
309
+ Theorem 6.1. Suppose that there exist an algorithm and some $m \leq k/(4e + 2)$ such that the algorithm satisfies the constraint (1) in expectation for any environment. Then, for any sub-optimality gap $\Delta \in \left[\sqrt{\frac{d - 1}{4mT}}, \sqrt{\frac{d - 1}{4m}}\right]$ , there is some environment such that $\mathbb{E}\left[R_T\right] > \frac{(d - 1)k}{(32e + 16)m\Delta}$ .
310
+
311
+ We defer the omitted proofs in this section to Appendix E.2. Since substituting $\Delta = \Theta (\sqrt{d / (mT)})$ leads to a gap-independent bound, we focus on the gap-dependent bound.
312
+
313
+ To prove Theorem 6.1, we consider instances of the CCIB problem constructed by these of the conservative MAB (CMAB) problem. More precisely, we consider $k$ rounds of the CMAB problem as a round of the CCIB problem. Using the standard basis $\{e_i\}_{i\in [d]}$ as the feature vectors $\{x_{t}(i)\}_{i\in [d]}$ , the CCIB problem reduces to the $d$ -armed CMAB problem. To represent $k$ rounds of the CMAB problem as a round of the CCIB problem, it is sufficient to prepare $dk$ arms as $x_{t}(i + dj) = e_{i}$ for $i\in [d]$ and $j\in [k]$ .
314
+
315
+ We show that an algorithm for the CCIB problem can be applied to the CMAB problem. The algorithm knows the baseline arms of all rounds in advance because the baseline arm of the CMAB problem is fixed over the rounds. The algorithm can choose arbitrary $k$ arms in a round. Then, one can play the chosen arms in any order in the CMAB problem. Finally, the algorithm observes $k$ rewards and proceeds to the next round.
316
+
317
+ The remainder of our proof of Theorem 6.1 is to obtain a lower bound of the CMAB problem. Using a variant of the technique by Wu et al. (2016) for the lower bound, we obtain the following bound:
318
+
319
+ Theorem 6.2. Let $R_{T'}^{\mathrm{CMAB}}$ denote the regret of the $N$ -armed CMAB problem with $T'$ rounds. Let $i^{\mathrm{base}}$ be the baseline arm and $i_t$ be the arm chosen in round $t$ by an algorithm. Assume that some algorithm and some positive integer $k$ satisfy that $\mathbb{E}\left[\sum_{t' \in [kt]} \mathbb{1}\left(\bar{r}(i^{\mathrm{base}}) > \bar{r}(i_{t'})\right)\right] \leq \alpha kt$ for all positive integer $t$ such that $kt \leq T'$ for any environment. Then, for any sub-optimality gap $\Delta \in \left[\sqrt{\frac{N - 1}{4\alpha T'}}\right]$ , there is some environment such that $\mathbb{E}\left[R_{T'}^{\mathrm{CMAB}}\right] > \frac{N - 1}{(32e + 16)\alpha\Delta}$ .
320
+
321
+ Substituting $T' = kT$ and $\alpha = m / k$ in Theorem 6.2, we finish the proof of Theorem 6.1.
322
+
323
+ We discuss our lower bounds. In contrast to our high-probability upper bound, our lower bounds assume that the algorithm satisfies the performance constraints in expectation. However, these lower bounds cover the proposed algorithm. In fact, the proposed algorithm satisfies the performance constraints in expectation if $n = m / 2$ and $\delta = \min (n / k,1 / T)$ . Note that the expected regret, in this case, has the same regret bound in Theorem 5.1 up to logarithmic factors. Therefore, our lower bounds imply that the proposed algorithm is almost optimal.
324
+
325
+ # 7. Numerical Experiments
326
+
327
+ In this section, we experimentally evaluate the performance of the proposed algorithm compared to some existing algorithms using the Book-Crossing dataset (Ziegler et al., 2005). We describe the details of the experimental setup in Appendix F. We conducted our experiments in two settings. First, we considered the case where the feature vectors, the feasible sets of given arms, and the baseline arms are fixed over the rounds. Second, we considered the case where these three components change two times.
328
+
329
+ Our experiments used the proposed algorithm combined with the $C^2$ UCB algorithm (Qin et al., 2014) (GCW + $C^2$ UCB) and that combined with the Thompson sampling (Takemura & Ito, 2019) (GCW + TS). We compared the proposed algorithm with the weighted regularized matrix factorization (Hu et al., 2008) as the baseline, the $\varepsilon$ -greedy
330
+
331
+ ![](images/dd3513937b3d4c7ed2004d10e5c054a1793126e7c088e89c86be3aca8d919ae5.jpg)
332
+
333
+ ![](images/fb31abbd7afc254597187aecd4c783f9dd5639bb4b12e5c0f1eaa8ff07f645ee.jpg)
334
+
335
+ ![](images/0b3ee971348c0482d595a9c4901fa46a499ae65f1c9a60ff05dd2c87f3631d84.jpg)
336
+ Figure 1. Average of the per-step regret (i.e., $R(t) / t$ ) (top) and average of the smallest $m$ satisfying our performance constraint (1) (bottom). The error bar represents the standard error. Left: the case where $\{x_{t}(i)\}_{i\in [N]}$ , $S_{t}$ , and $B_{t}$ are fixed. Right: the case where $\{x_{t}(i)\}_{i\in [N]}$ and $B_{t}$ change two times.
337
+
338
+ ![](images/022bb704c689c100e49e5b07d9aa1feeaefcb2b0edaaf985ff0ce6576a1f922a.jpg)
339
+
340
+ algorithm, the $\mathrm{C^2UCB}$ algorithm, and the Thompson sampling in both settings. We additionally compared the iUCB algorithm (Katariya et al., 2019) and its variant (Lin-iUCB algorithm) when they can be applied (i.e., in the first case). The Lin-iUCB used the same reward estimates and confidence widths as those by the proposed algorithm.
341
+
342
+ Figure 1(left) shows the experimental results in the first case. The proposed algorithms outperformed the standard bandit algorithms and the iUCB algorithm. Specifically, the proposed algorithms suffered small regrets in early rounds and outperformed the baseline because of our interleaving technique. The standard bandit algorithms needed large $m$ to satisfy the constraints in early rounds, while these algorithms improved faster than the conservative algorithms by the exploration without the performance constraints. The regret by the Lin-iUCB algorithm was smaller than that by $\mathrm{GCW} + \mathrm{TS}$ and is compatible with the regret by $\mathrm{GCW} + \mathrm{C}^2\mathrm{UCB}$ . However, the Lin-iUCB algorithm was unstable in terms of performance constraints.
343
+
344
+ Figure 1 (right) shows that the proposed algorithms outperformed the existing ones and the baseline in the second case. In addition, $\mathrm{GCW} + \mathrm{C}^2\mathrm{UCB}$ outperformed $\mathrm{GCW} + \mathrm{TS}$ as in the first case. Compared to the results of the first case, all algorithms improved more slowly due to the changing environment. We can see from the numerical results on performance constraints that the quality of recommendations by the bandit algorithms deteriorates temporarily when the environment changes. However, the degradation of the proposed algorithms are smaller than that of other algorithms. This fact suggests that our algorithms are robust to the changes in the given actions.
345
+
346
+ # 8. Conclusion
347
+
348
+ We investigated the CCIB problem, which is the CCS problem with stage-wise performance constraints. We proposed the first meta-algorithm for this problem, which preferentially chooses arms with large confidence widths in the baseline arms and those chosen by a given algorithm for the CCS problem. We showed that the proposed algorithm achieves $\widetilde{O}(\min(\sqrt{dkT}, d / \Delta) + dk + \min(k\sqrt{dT/n}, dk / (n\Delta)))$ regret while satisfying the constraints. We also showed a gap-dependent and a gap-independent lower bounds through a reduction to the conservative MAB problem. These lower bounds imply that the proposed algorithm achieves minimax optimal up to logarithmic factors. Our numerical experiments demonstrated that the proposed algorithm improves more efficiently than the iUCB algorithm and outperforms existing algorithms.
349
+
350
+ There are several open questions about the CCIB problem and its extensions. First, an efficient algorithm for the learner to obtain a bijection that satisfies (3) has not been obtained. Second, it is open whether a similar regret bound can be obtained for the CCIB problem with feasible arms characterized by any matroid. Note that we cannot use the exchange property (3) in this case. Finally, this paper does not consider the problem where the reward of the learner is a non-linear function with respect to the rewards of arms chosen by the learner.
351
+
352
+ # Acknowledgements
353
+
354
+ Kei Takemura would like to thank Shinji Ito and Tatsuya Matsuoka for helpful discussions on matroids.
355
+
356
+ # References
357
+
358
+ Abbasi-Yadkori, Y., Pál, D., and Szepesvári, C. Improved algorithms for linear stochastic bandits. In Advances in Neural Information Processing Systems, volume 24, pp. 2312-2320, 2011.
359
+ Abe, N. and Long, P. M. Associative reinforcement learning using linear probabilistic concepts. In Proceedings of the Sixteenth International Conference on Machine Learning, pp. 3-11, 1999.
360
+ Abeille, M. and Lazaric, A. Linear Thompson sampling revisited. Electronic Journal of Statistics, 11(2):5165-5197, 2017.
361
+ Agrawal, S. and Goyal, N. Thompson sampling for contextual bandits with linear payoffs. In Proceedings of the Thirtieth International Conference on International Conference on Machine Learning, pp. 127-135. PMLR, 2013.
362
+ Auer, P. Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research, 3(Nov):397-422, 2002.
363
+ Chu, W., Li, L., Reyzin, L., and Schapire, R. Contextual bandits with linear payoff functions. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, pp. 208-214, 2011.
364
+ Gai, Y., Krishnamachari, B., and Jain, R. Combinatorial network optimization with unknown variables: Multiarmed bandits with linear rewards and individual observations. IEEE/ACM Transactions on Networking, 20(5): 1466-1478, 2012.
365
+ Garcelon, E., Ghavamzadeh, M., Lazaric, A., and Pirotta, M. Improved algorithms for conservative exploration in bandits. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 3962-3969, 2020.
366
+ Hu, Y., Koren, Y., and Volinsky, C. Collaborative filtering for implicit feedback datasets. In 2008 IEEE International Conference on Data Mining, pp. 263-272, 2008.
367
+ Katariya, S., Kveton, B., Wen, Z., and Potluru, V. K. Conservative exploration using interleaving. In Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics, pp. 954–963, 2019.
368
+ Kaufmann, E., Cappé, O., and Garivier, A. On the complexity of best-arm identification in multi-armed bandit models. The Journal of Machine Learning Research, 17 (1):1-42, 2016.
369
+ Kazerouni, A., Ghavamzadeh, M., Abbasi-Yadkori, Y., and Van Roy, B. Conservative contextual linear bandits. In Advances in Neural Information Processing Systems, volume 30, pp. 3910-3919, 2017.
370
+
371
+ Khezeli, K. and Bitar, E. Safe linear stochastic bandits. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 10202-10209, 2020.
372
+ Korte, B. and Vygen, J. Combinatorial Optimization: Theory and Algorithms. Springer, 6th edition edition, 2018.
373
+ Kveton, B., Wen, Z., Ashkan, A., Eydgahi, H., and Eriksson, B. Matroid bandits: Fast combinatorial optimization with learning. In Proceedings of the Thirtieth Conference on Uncertainty in Artificial Intelligence, pp. 420-429, 2014.
374
+ Kveton, B., Wen, Z., Ashkan, A., and Szepesvári, C. Tight regret bounds for stochastic combinatorial semi-bandits. In Proceedings of the Eighteenth International Conference on Artificial Intelligence and Statistics, pp. 535-543, 2015.
375
+ Li, L., Chu, W., Langford, J., and Schapire, R. E. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th International Conference on World Wide Web, pp. 661-670, 2010.
376
+ Moradipari, A., Thrampoulidis, C., and Alizadeh, M. Stagewise conservative linear bandits. In Advances in Neural Information Processing Systems, volume 33, pp. 11191-11201, 2020.
377
+ Qin, L., Chen, S., and Zhu, X. Contextual combinatorial bandit and its application on diversified online recommendation. In Proceedings of the 2014 SIAM International Conference on Data Mining, pp. 461-469, 2014.
378
+ Takemura, K. and Ito, S. An arm-wise randomization approach to combinatorial linear semi-bandits. In 2019 IEEE International Conference on Data Mining, pp. 1318-1323, 2019.
379
+ Takemura, K., Ito, S., Hatano, D., Sumita, H., Fukunaga, T., Kakimura, N., and Kawarabayashi, K.-i. Near-optimal regret bounds for contextual combinatorial semi-bandits with linear payoff functions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 9791-9798, 2021.
380
+ Wang, S. and Chen, W. Thompson sampling for combinatorial semi-bandits. In International Conference on Machine Learning, pp. 5114-5122. PMLR, 2018.
381
+ Wang, Y., Ouyang, H., Wang, C., Chen, J., Asamov, T., and Chang, Y. Efficient ordered combinatorial semi-bandits for whole-page recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 31, pp. 2746-2753, 2017.
382
+
383
+ Wu, Y., Shariff, R., Lattimore, T., and Szepesváři, C. Conservative bandits. In Proceedings of The 33rd International Conference on Machine Learning, volume 48, pp. 1254-1262. PMLR, 2016.
384
+ Ziegler, C.-N., McNee, S. M., Konstan, J. A., and Lausen, G. Improving recommendation lists through topic diversification. In Proceedings of the 14th international conference on World Wide Web, pp. 22-32, 2005.
385
+
386
+ # A. Known Results
387
+
388
+ Our proofs use the following known results:
389
+
390
+ Theorem A.1 (Theorem 13.9 by Korte & Vygen (2018)). Let $E$ be a finite set and $\mathcal{B} \in 2^{E}$ . $\mathcal{B}$ is the set of bases of some matroid $(E, \mathcal{F})$ if and only if the following holds:
391
+
392
+ (B1) $\mathcal{B} \neq \emptyset$ ;
393
+
394
+ (B2) For any $B_{1}, B_{2} \in \mathcal{B}$ and $x \in B_{1} \setminus B_{2}$ , there exists a $y \in B_{2} \setminus B_{1}$ with $(B_{1} \setminus \{x\}) \cup \{y\} \in \mathcal{B}$ .
395
+
396
+ Theorem A.2 (Theorem 2 by Abbasi-Yadkori et al. (2011)). Let $\{F_t\}_{t=0}^{\infty}$ be a filtration, $\{X_t\}_{t=1}^{\infty}$ be an $\mathbb{R}^d$ -valued stochastic process such that $X_t$ is $F_{t-1}$ -measurable, $\{\eta_t\}_{t=1}^{\infty}$ be a real-valued stochastic process such that $\eta_t$ is $F_t$ -measurable. Let $V = \lambda I$ be a positive definite matrix, $V_t = V + \sum_{s \in [t]} X_s X_s^\top$ , $Y_t = \sum_{s \in [t]} \theta^*^\top X_s + \eta_s$ and $\hat{\theta}_t = V_{t-1}^{-1} Y_t$ . Assume for all $t$ that $\eta_t$ is conditionally $R$ -sub-Gaussian for some $R > 0$ and $\| \theta^* \|_2 \leq S$ . Then, for any $\delta > 0$ , with probability at least $1 - \delta$ , for any $t \geq 1$ ,
397
+
398
+ $$
399
+ \| \hat {\theta} _ {t} - \theta^ {*} \| _ {V _ {t - 1}} \leq R \sqrt {2 \log \left(\frac {\det (V _ {t - 1}) ^ {1 / 2} \det (\lambda I) ^ {- 1 / 2}}{\delta}\right)} + \sqrt {\lambda} S.
400
+ $$
401
+
402
+ Furthermore, if $\| X_t\| _2\leq L$ for all $t\geq 1$ , then with probability at least $1 - \delta$ , for all $t\geq 1$
403
+
404
+ $$
405
+ \| \hat {\theta} _ {t} - \theta^ {*} \| _ {V _ {t - 1}} \leq R \sqrt {d \log \left(\frac {1 + (t - 1) L ^ {2} / \lambda}{\delta}\right)} + \sqrt {\lambda} S.
406
+ $$
407
+
408
+ Lemma A.3 (Lemma 5 by Takemura et al. (2021)). Let $\{\{x_{t}(i)\}_{i\in [k]}\}_{t\in [T]}$ be any sequence such that $x_{t}(i)\in \mathbb{R}^{d}$ and $\| x_{t}(i)\|_{2}\leq L$ for all $i\in [k]$ and $t\in [T]$ . Let $V_{t} = \lambda I + \sum_{s\in [t]}\sum_{i\in [k]}x_{s}(i)x_{s}(i)^{\top}$ with $\lambda >0$ . Then, we have
409
+
410
+ $$
411
+ \sum_ {t \in [ T ]} \sum_ {i \in [ k ]} \min \left(\frac {1}{k}, \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} ^ {2}\right) \leq 2 d \log (1 + L ^ {2} k T / (d \lambda)).
412
+ $$
413
+
414
+ Lemma A.4 (Lemma 6 by Takemura et al. (2021)). Let $\{\{x_{t}(i)\}_{i\in [k]}\}_{t\in [T]}$ be any sequence such that $x_{t}(i)\in \mathbb{R}^{d}$ and $\| x_{t}(i)\|_{2}\leq L$ for all $i\in [k]$ and $t\in [T]$ . Let $V_{t} = \lambda I + \sum_{s\in [t]}\sum_{i\in [k]}x_{s}(i)x_{s}(i)^{\top}$ with $\lambda >0$ . Then, we have
415
+
416
+ $$
417
+ \sum_ {t \in [ T ]} \sum_ {i \in [ k ]} \mathbb {1} \left(\| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} > 1 / \sqrt {k}\right) \leq 2 d k \log (1 + L ^ {2} k T / (d \lambda)).
418
+ $$
419
+
420
+ # B. Discussions of Performance Constraints
421
+
422
+ # B.1. Comparison of Constraint (1) with Constraint (2)
423
+
424
+ We discuss the fact that the two types of constraints are incomparable. More precisely, we show that each constraint does not include the other constraint.
425
+
426
+ First, we show that constraint (1) does not include constraint (2).
427
+
428
+ Lemma B.1. Assume that $m \geq 1$ . Then, there exists a set of rewards such that the rewards satisfy the constraint (1) while they do not satisfy the constraint (2) for any $\alpha \in [0,1)$ .
429
+
430
+ Proof. Suppose that $\mu_t(i) = 0$ for $i \in I_t$ . Suppose also that $\mu_t(i) = 1$ for some $i \in B_t$ and $\mu_t(i) = 0$ otherwise. Then, for any bijection $\rho_t : I_t \to B_t$ , the constraint (1) is satisfied with $m = 1$ . However, since $\sum_{i \in I_t} \mu_t(i) = 0$ and $\sum_{i \in B_t} \mu_t(i) = 1$ , the constraint (2) is not satisfied for any $\alpha \in [0,1)$ .
431
+
432
+ Next, we show the inverse direction.
433
+
434
+ Lemma B.2. Assume that $\alpha \in (0,1]$ . Then, there exists a set of rewards such that the rewards satisfy the constraint (2) while they do not satisfy the constraint (1) for any $m < k$ .
435
+
436
+ Proof. We fix $\alpha \in (0,1]$ arbitrarily. Suppose that $\mu_t(i) = 1 - \alpha$ for $i \in I_t$ and $\mu_t(b) = 1$ for $b \in B_t$ . These rewards satisfy the constraint (2) with $\alpha$ . Since any reward of arm $b \in B_t$ is strictly larger than any reward of arm $i \in I_t$ , we have $\sum_{i \in I_t} \mathbb{1}(\mu_t(i) \geq \mu_t(\rho_t(i))) = 0$ for any bijection $\rho_t : I_t \to B_t$ .
437
+
438
+ # B.2. Reduction from Constraint (2) to Constraint (1)
439
+
440
+ We introduce a reduction from constraint (2) to constraint (1). Note that while Assumption 3.10 requires $r_{\ell} > 0$ due to Assumption 3.9, most of existing studies of conservative bandit problems also require this condition (Wu et al., 2016; Kazerouni et al., 2017; Garcelon et al., 2020; Khezeli & Bitar, 2020; Moradipari et al., 2020).
441
+
442
+ Lemma B.3. Under Assumption 3.10, satisfying constraint (1) implies satisfying constraint (2).
443
+
444
+ Proof. Suppose that the sequence $\{I_t\}_{t \in [T]}$ satisfies the constraints (1). Recall that $\rho_t : I_t \to B_t$ is a bijection. Let $I_t' = \{i \in I_t \mid \mu_t(i) \geq \mu_t(\rho_t(i))\}$ . Note that since $\{I_t\}_{t \in [T]}$ satisfies the constraints (1), $|I_t'| \geq k - m$ . Rewriting the performance constraints (2), we have
445
+
446
+ $$
447
+ \sum_ {i \in I _ {t} ^ {\prime}} (\mu_ {t} (i) - (1 - \alpha) \mu_ {t} (\rho_ {t} (i))) \geq \sum_ {i \in I _ {t} \setminus I _ {t} ^ {\prime}} ((1 - \alpha) \mu_ {t} (\rho_ {t} (i)) - \mu_ {t} (i)).
448
+ $$
449
+
450
+ Recall that $r_{\ell} = \min_{t\in [T]}\min_{i\in B_t}\mu_t(i)$ . From the definition of $I_t^\prime$ and $r_\ell$ , and the fact that $\mu_t(i)\in [0,1]$ for all $i\in [N]$ , we have
451
+
452
+ $$
453
+ \begin{array}{l} \sum_ {i \in I _ {t} ^ {\prime}} \left(\mu_ {t} (i) - (1 - \alpha) \mu_ {t} \left(\rho_ {t} (i)\right)\right) \geq \alpha \sum_ {i \in I _ {t} ^ {\prime}} \mu_ {t} (\rho (i)) \geq \alpha (k - m) r _ {\ell} \quad \text {a n d} \\ \sum_ {i \in I _ {t} \backslash I _ {t} ^ {\prime}} ((1 - \alpha) \mu_ {t} (\rho_ {t} (i)) - \mu_ {t} (i)) \leq m. \\ \end{array}
454
+ $$
455
+
456
+ Thus, a sufficient condition of the constraints (2) is $(k - m)\alpha r_{\ell} \geq m$ , which is Assumption 3.10.
457
+
458
+ ![](images/77508a35530c989f73c5cdcbc228e971836ddfaa51d528fb3ff47b9d7dae6ca8.jpg)
459
+
460
+ # C. Properties of Matroid
461
+
462
+ # C.1. Strongly Base-Orderable Matroid
463
+
464
+ First, we introduce the definition of strongly base-orderable matroid and exchangeable set.
465
+
466
+ Definition C.1. A matroid is strongly base-orderable if for any two bases $B_{1}$ and $B_{2}$ , there is a bijection $f: B_{1} \to B_{2}$ with the property that $(B_{1} \setminus X) \cup f(X)$ is a base for any $X \subseteq B_{1}$ .
467
+
468
+ Then, we show an equivalence between exchangeable set and strongly base-orderable matroid.
469
+
470
+ Lemma C.2. A set $S$ is exchangeable if and only if the set $S$ is the bases of a strongly base-orderable matroid.
471
+
472
+ Proof. If the set $S$ is the bases of a strongly base-orderable matroid, we have $S$ is exchangeable by Definition C.1. Suppose that $S$ is exchangeable. We fix $B_1, B_2 \in S$ arbitrarily. Let $\rho : B_1 \to B_2$ be the bijection defined in (3). Since $S$ is exchangeable, we have $(B_1 \setminus \{i\}) \cup \{\rho(i)\} \in S$ for any $i \in B_1 \setminus B_2$ . Thus, from Theorem A.1, there exists a matroid such that $S$ is the set of the bases. By Definition 3.6 and Definition C.1, we have the desired result.
473
+
474
+ # C.2. B bijection between Two Bases
475
+
476
+ Proof of Lemma 5.7. Let $(E, \mathcal{F})$ be the matroid and $k$ be the rank of the matroid. Let $a_1^*, \ldots, a_k^*$ be a sequence such that $\{a_i^*\}_{i \in [k]} = A^*$ and $r(a_i^*) \leq r(a_j^*)$ for $i \leq j$ .
477
+
478
+ We construct the bijection by induction. We fix $\ell \in [k]$ arbitrarily. Suppose that we have already defined $\rho(a_i^*)$ for all $i < \ell$ . Let $A_\ell^* = \{a_i^*\}_{i=\ell,\dots,k}$ and $A_\ell = A \setminus \{\rho(a_i^*)\}_{i \in [\ell-1]}$ . If we have $a_\ell^* \in A_\ell$ , we define $\rho(a_\ell^*) = a_\ell^*$ . Thus, we consider the other case, i.e., $a_\ell^* \notin A_\ell$ . From the augmentation property of matroid, there exists $a \in A_\ell \setminus A_{\ell+1}^*$ such that $A_{\ell+1}^* \cup \{a\} \in \mathcal{F}$ . Since $A^* \in \operatorname{argmax}_{I \in \mathcal{A}} \sum_{i \in I} r(i)$ , $A_\ell^*$ can be regarded as the output until the $k-\ell+1$ -th step of the greedy algorithm. Therefore, we have $r(a_\ell^*) \geq r(a)$ and can define $\rho(a_\ell^*) = a$ .
479
+
480
+ Note that the construction in our proof of the following lemma is essentially the same to the proof of Lemma 1 of Kveton et al. (2014).
481
+
482
+ # D. Missing Proofs in Section 5
483
+
484
+ # D.1. High-Probability Event
485
+
486
+ For $\delta \in (0,1)$ , we define
487
+
488
+ $$
489
+ \beta_ {t} (\delta) = \min \left(R \sqrt {2 \log {(N (\pi k t) ^ {2} / (3 \delta))}}, R \sqrt {d \log {((1 + L ^ {2} k t / \lambda) / \delta)}}\right) + M \sqrt {\lambda}
490
+ $$
491
+
492
+ for all $t\in [T]$
493
+
494
+ Proof of Lemma 5.3. We consider two cases: when $\log (N) < d$ and when $\log (N)\geq d$ .
495
+
496
+ First, we consider when $\log (N) < d$ . We fix $t \in [T]$ and $i \in [N]$ arbitrarily. From the definition of $\hat{\theta}_t$ , we have
497
+
498
+ $$
499
+ \begin{array}{l} \left(\hat {\theta} _ {t} - \theta\right) ^ {\top} x _ {t} (i) = \left(V _ {t - 1} ^ {- 1} \sum_ {s \in [ t - 1 ]} \sum_ {i \in I _ {s}} \left(\theta^ {\top} x _ {s} (i) + \eta_ {s} (i)\right) x _ {s} (i) - \theta\right) ^ {\top} x _ {t} (i) \\ = \sum_ {s \in [ t - 1 ]} \sum_ {i \in I _ {s}} x _ {t} (i) ^ {\top} V _ {t - 1} ^ {- 1} x _ {s} (i) \eta_ {s} (i) - \lambda x _ {t} (i) ^ {\top} V _ {t - 1} ^ {- 1} \theta . \\ \end{array}
500
+ $$
501
+
502
+ For the latter term, we have $\lambda x_{t}(i)^{\top}V_{t - 1}^{-1}\theta \leq \lambda \| \theta \|_{V_{t - 1}^{-1}}\| x_{t}(i)\|_{V_{t - 1}^{-1}}\leq \sqrt{\lambda} M\| x_{t}(i)\|_{V_{t - 1}^{-1}}$ . We then bound the former term. Let $\alpha = R\sqrt{2\log(2 / \delta')}$ for $\delta^{\prime} > 0$ . Using (a variant of) Azuma's inequality, we obtain
503
+
504
+ $$
505
+ \begin{array}{l} \mathbb {P} \left(\left| \sum_ {s \in [ t - 1 ]} \sum_ {i \in I _ {s}} x _ {t} (i) ^ {\top} V _ {t - 1} ^ {- 1} x _ {s} (i) \eta_ {s} (i) \right| > \alpha \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}}\right) \\ \leq 2 \exp \left(\frac {\alpha^ {2} \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} ^ {2}}{2 R ^ {2} \sum_ {s \in [ t - 1 ]} \sum_ {i \in I _ {s}} \left(x _ {t} (i) ^ {\top} V _ {t - 1} ^ {- 1} x _ {s} (i)\right) ^ {2}}\right) \\ = 2 \exp \left(\frac {\alpha^ {2} \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} ^ {2}}{2 R ^ {2} x _ {t} (i) ^ {\top} V _ {t - 1} ^ {- 1} (\sum_ {s \in [ t - 1 ]} \sum_ {i \in I _ {s}} x _ {s} (i) x _ {s} (i) ^ {\top}) V _ {t - 1} ^ {- 1} x _ {t} (i)}\right) \\ \leq 2 \exp (- \alpha^ {2} / (2 R ^ {2})) \leq \delta^ {\prime}. \\ \end{array}
506
+ $$
507
+
508
+ Hence, we obtain
509
+
510
+ $$
511
+ \left| \left(\hat {\theta} _ {t} - \theta\right) ^ {\top} x _ {t} (i) \right| \leq \left(R \sqrt {2 \log \left(N (\pi k t) ^ {2} / (3 \delta)\right)} + M \sqrt {\lambda}\right) \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} \tag {9}
512
+ $$
513
+
514
+ with probability at least $1 - 6\delta / (N(\pi kt)^2)$ . Taking union bound over the arms in all rounds, we have (9) with probability at least $1 - \delta$ .
515
+
516
+ Next, we consider when $\log (N)\geq d$ . By the Cauchy-Schwarz inequality, we have
517
+
518
+ $$
519
+ \left| \mu_ {t} (i) - \hat {\theta} _ {t} ^ {\top} x _ {t} (i) \right| \leq \left\| \theta - \hat {\theta} _ {t} \right\| _ {V _ {t - 1}} \left\| x _ {t} (i) \right\| _ {V _ {t - 1} ^ {- 1}}
520
+ $$
521
+
522
+ for all $t \in [T]$ and $i \in [N]$ . Then, using Theorem A.2, we have $\| \theta - \hat{\theta}_t \|_{V_{t-1}} \leq R \sqrt{d \log \left( \frac{1 + L^2 kt / \lambda}{\delta} \right)} + M \sqrt{\lambda}$ for all $t \in [T]$ with probability at least $1 - \delta$ , which completes the proof.
523
+
524
+ # D.2. Analysis for the Recommended Choices
525
+
526
+ Proof of Lemma 5.2. We fix $t \in [T]$ arbitrarily. Let $\tilde{I}_t = I_t \cap \hat{I}_t$ and $\tilde{I}_t^* = \{\rho_t^*(i) \mid i \in \tilde{I}_t\}$ .
527
+
528
+ Let $([N],\mathcal{F}_t)$ be the matroid whose bases are $\mathcal{S}_t$ . Let $E_{t} = \tilde{I}_{t}\cup \tilde{I}_{t}^{*}$ and $k_{t} = |\tilde{I}_{t}|$ . Then, we can construct a matroid $(E_t,\mathcal{F}_t^{\prime})$ such that $\mathcal{F}_t^\prime \subseteq \mathcal{F}_t$ and the size of bases of $(E_t,\mathcal{F}_t^{\prime})$ is $k_{t}$ . Let $\mathcal{S}_t^\prime$ be the bases of $(E_t,\mathcal{F}_t^\prime)$ . Then, we have
529
+
530
+ $$
531
+ \sum_ {i \in \tilde {I} _ {t}} \left(\mu_ {t} \left(\rho_ {t} ^ {*} (i)\right) - \mu_ {t} (i)\right) \leq \max _ {I \in \mathcal {S} _ {t} ^ {\prime}} \sum_ {i \in I} \mu_ {t} (i) - \sum_ {i \in \tilde {I} _ {t}} \mu_ {t} (i). \tag {10}
532
+ $$
533
+
534
+ Recall that $\{r_t'(i)\}_{i\in [N]}$ is the estimation of the rewards by the algorithm $\mathcal{A}$ . Since $\hat{I}_t\in \mathrm{argmax}_{I\in S_t}\sum_{i\in I}r_t'(i)$ , we have $\tilde{I}_t\in \mathrm{argmax}_{I\in S_t'}\sum_{i\in I}r_t'(i)$ . Thus, (10) is the regret of the CCS problem in which the feasible set is $S_t'$ . Since the algorithm $\mathcal{A}$ uses only $\{r_t(i)\}_{i\in \tilde{I}_t}$ as feedback in the proposed algorithm, we can bound (10) by the regret upper bound of the algorithm $\mathcal{A}$ .
535
+
536
+ # D.3. Property of the B bijection Satisfying (3)
537
+
538
+ Lemma D.1. For any $t \in [T]$ and $I, I' \in S_t$ such that $I \in \operatorname{argmax}_{J \in S_t} \sum_{i \in J} r(i)$ for some $r: [N] \to \mathbb{R}$ , we have $r(i) \geq r(\rho(i))$ for any $i \in I$ , where $\rho: I \to I'$ is the bijection satisfying (3).
539
+
540
+ Proof of Lemma D.1. We fix $t \in [T]$ and $i \in I_t$ arbitrarily. Let $([N], \mathcal{F})$ be the matroid that corresponds to the constraint $\mathcal{S}_t$ . Let $I^{(i)}$ be the set of arms just before the greedy algorithm chooses $i$ . By the definition of $\rho$ , we have $(I \setminus \{i\}) \cup \{\rho(i)\} \in \mathcal{S}_t$ . From the property of matroid, we have $I^{(i)} \cup \{i\} \in \mathcal{F}$ and $I^{(i)} \cup \{\rho(i)\} \in \mathcal{F}$ , which finishes the proof.
541
+
542
+ # D.4. Properties of Confidence Intervals
543
+
544
+ To prove Lemma 5.6, we need the following lemma:
545
+
546
+ Lemma D.2. For any $i\in \hat{I}_t$ , if $c_{t}(i) < \Delta /2$ , we have $\mu_t(i) = \mu_t(\hat{\rho}_t^* (i))$
547
+
548
+ Proof. Recall that $c_{t}(i) = \beta_{t}(\delta)\| x_{t}(i)\|_{V_{t - 1}^{-1}}$ . From Lemma D.1, we have $\hat{r}_t(i)\geq \hat{r}_t(\hat{\rho}_t^* (i))$ for all $i\in \hat{I}_t$ . Since (6) holds for all $t\in [T]$ and $i\in [N]$ , we have
549
+
550
+ $$
551
+ \mu_ {t} \left(\hat {\rho} _ {t} ^ {*} (i)\right) \leq \hat {r} _ {t} \left(\hat {\rho} _ {t} ^ {*} (i)\right) \leq \hat {r} _ {t} (i) \leq \mu_ {t} (i) + 2 c _ {t} (i)
552
+ $$
553
+
554
+ for all $i \in \hat{I}_t$ . From the assumption of this lemma, we have $\mu_t(\hat{\rho}_t^*(i)) - \mu_t(i) \leq 2c_t(i) < \Delta$ . Thus, from the definition of $\Delta$ , we obtain $\mu_t(i) = \mu_t(\hat{\rho}_t^*(i))$ .
555
+
556
+ We are ready to prove Lemma 5.6.
557
+
558
+ Proof of Lemma 5.6. We fix $i \in \bar{I}_t$ arbitrarily. For all $j \in \hat{I}_t$ , using Lemma D.2, we have $\mu_t(j) = \mu_t(\hat{\rho}_t^*(j))$ . Thus, we have $\mu_t(i) = \mu_t(\bar{\rho}_t(i))$ or $\mu_t(i) - \mu_t(\bar{\rho}_t(i)) \geq \Delta$ . If $\mu_t(i) - \mu_t(\bar{\rho}_t(i)) \geq \Delta$ , we have
559
+
560
+ $$
561
+ \begin{array}{l} \bar {r} _ {t} (\bar {\rho} _ {t} (i)) - \bar {r} _ {t} (i) = \check {r} _ {t} (\bar {\rho} _ {t} (i)) - \hat {r} _ {t} (i) \\ \geq \left(\mu_ {t} \left(\bar {\rho} _ {t} (i)\right) - 2 c _ {t} \left(\bar {\rho} _ {t} (i)\right)\right) - \left(\mu_ {t} (i) + 2 c _ {t} (i)\right) \\ \geq \Delta - 2 \left(c _ {t} (i) + c _ {t} (\bar {\rho} _ {t} (i))\right) \\ > 0, \\ \end{array}
562
+ $$
563
+
564
+ which contradicts the property of $\bar{\rho}_t$ obtained by Lemma D.1.
565
+
566
+ # D.5. Number of Rounds in Which Conservative Choices Suffer the Regret
567
+
568
+ Proof of Lemma 5.5. We fix $\ell \in [n]$ arbitrarily. To bound the number of rounds such that $c_{t}(j_{t}^{\ell})\geq \Delta /4$ , we consider a sufficient condition of rounds such that $c_{t}(j_{t}^{\ell}) < \Delta /4$ . Since $\beta_T(\delta)\geq \beta_t(\delta)$ for all $t\in [T]$ , a sufficient condition of $c_{t}(j_{t}^{\ell}) < \Delta /4$ is that
569
+
570
+ $$
571
+ \left\| x _ {t} \left(j _ {t} ^ {\ell}\right) \right\| _ {V _ {t - 1} ^ {- 1}} < \Delta / \left(4 \beta_ {T} (\delta)\right) = \gamma_ {\ell} / \sqrt {\ell}. \tag {11}
572
+ $$
573
+
574
+ Recall that $J_{t}^{\ell}$ is defined in line 16 of Algorithm 1. Let $\widetilde{V}_{t}$ denote $\lambda I + \sum_{s\in [t]}\sum_{j\in J_{s}^{\ell}}x_{s}(j)x_{s}(j)^{\top}$ . By the definition of $V_{t}$ and $\widetilde{V}_{t}$ , we have $V_{t}\succeq \widetilde{V}_{t}$ for all $t\in [T]\cup \{0\}$ . Thus, we obtain
575
+
576
+ $$
577
+ \left\| x _ {t} (i) \right\| _ {V _ {t - 1} ^ {- 1}} \leq \left\| x _ {t} (i) \right\| _ {\widetilde {V} _ {t - 1} ^ {- 1}} \tag {12}
578
+ $$
579
+
580
+ for all $t \in [T]$ and $i \in [N]$ . Combining (11) and (12), we obtain that a sufficient condition of rounds with $c_{t}(j_{t}^{\ell}) < \Delta / 4$ is that $\| x_{t}(j_{t}^{\ell}) \|_{\widetilde{V}_{t-1}^{-1}} < \gamma_{\ell} / \sqrt{\ell}$ . This implies that a necessary condition of rounds with $c_{t}(j_{t}^{\ell}) \geq \Delta / 4$ is that $\| x_{t}(j_{t}^{\ell}) \|_{\widetilde{V}_{t-1}^{-1}} \geq \widetilde{\gamma}_{\ell}$ , where $\widetilde{\gamma}_{\ell} = \min(\gamma_{\ell}, 1) / \sqrt{\ell}$ . Let $T'$ be the number of rounds such that $c_{t}(j_{t}^{\ell}) \geq \Delta / 4$ . Then, we obtain
581
+
582
+ $$
583
+ \widetilde {\gamma} _ {\ell} ^ {2} \ell T ^ {\prime} \leq \widetilde {\gamma} _ {\ell} ^ {2} \sum_ {t \in [ T ]} \sum_ {j \in J _ {t} ^ {\ell}} \mathbb {1} \left(\| x _ {t} (j) \| _ {\widetilde {V} _ {t - 1} ^ {- 1}} \geq \widetilde {\gamma} _ {\ell}\right) \leq \sum_ {t \in [ T ]} \sum_ {j \in J _ {t} ^ {\ell}} \min \left(\widetilde {\gamma} _ {\ell} ^ {2}, \| x _ {t} (j) \| _ {\widetilde {V} _ {t - 1} ^ {- 1}} ^ {2}\right) \leq \sum_ {t \in [ T ]} \sum_ {j \in J _ {t} ^ {\ell}} \min \left(\frac {1}{\ell}, \| x _ {t} (j) \| _ {\widetilde {V} _ {t - 1} ^ {- 1}} ^ {2}\right).
584
+ $$
585
+
586
+ Applying Lemma A.3 to the last term, we finish the proof.
587
+
588
+ ![](images/302bc943a2ab652d1318121259ed4dd357423ddd3134957deaa6183747801806.jpg)
589
+
590
+ # D.6. Regret of an Arm in Conservative Choices
591
+
592
+ Proof of Lemma 5.4. We fix $i \in I_t \setminus \hat{I}_t$ arbitrarily. Recall that $\bar{\rho}_t : \bar{I}_t \to \hat{I}_t$ be the bijection defined in (3). Let $i' = \bar{\rho}_t(i)$ . Since (6) holds, we have $\mu_t(i) \geq \hat{r}_t(i) - 2c_t(i)$ . Moreover, since $i \in B_t$ and $i' \in \hat{I}_t \setminus B_t$ , we have $\hat{r}_t(i) \geq \check{r}_t(i')$ using Lemma D.1. Thus, we obtain
593
+
594
+ $$
595
+ \mu_ {t} (i) \geq \hat {r} _ {t} (i) - 2 c _ {t} (i) \geq \check {r} _ {t} \left(i ^ {\prime}\right) - 2 c _ {t} (i). \tag {13}
596
+ $$
597
+
598
+ Recall that $\hat{\rho}_t^*:\hat{I}_t\to I_t^*$ is the bijection defined in (3). From Lemma D.1, we have $\hat{r}_t(i')\geq \hat{r}_t(\hat{\rho}_t^*(i'))$ . Thus, we have
599
+
600
+ $$
601
+ \mu_ {t} \left(\hat {\rho} _ {t} ^ {*} \left(i ^ {\prime}\right)\right) \leq \hat {r} _ {t} \left(\hat {\rho} _ {t} ^ {*} \left(i ^ {\prime}\right)\right) \leq \hat {r} _ {t} \left(i ^ {\prime}\right) = \check {r} _ {t} \left(i ^ {\prime}\right) + 2 c _ {t} \left(i ^ {\prime}\right), \tag {14}
602
+ $$
603
+
604
+ where the first inequality is derived from (6).
605
+
606
+ Recall that $\rho_t^* = \hat{\rho}_t^* \circ \bar{\rho}_t$ for $i \in I_t \setminus \hat{I}_t$ . Thus, we have $\tilde{\rho}_t^*(i') = \rho_t^*(i)$ . Combining (13) and (14), we finish the proof.
607
+
608
+ # D.7. Regret Bound for (8)
609
+
610
+ We can bound the regret as follows:
611
+
612
+ $$
613
+ \sum_ {t \in [ T ]} \sum_ {j \in J _ {t} ^ {n}} R _ {t} (j) = \sum_ {t \in [ T ]} \sum_ {j \in \tilde {J} _ {t} ^ {n}} R _ {t} (j) + \sum_ {t \in [ T ]} \sum_ {j \in \tilde {J} _ {t} ^ {n}} R _ {t} (j)
614
+ $$
615
+
616
+ where
617
+
618
+ $$
619
+ \tilde {J} _ {t} ^ {n} = \{j \in J _ {t} ^ {n} \mid \| x _ {t} (j) \| _ {\bar {V} _ {t - 1, n} ^ {- 1}} ^ {2} \leq 1 / n \} \quad \mathrm {a n d} \quad \bar {J} _ {t} ^ {n} = \{j \in J _ {t} ^ {n} \mid \| x _ {t} (j) \| _ {\bar {V} _ {t - 1, n} ^ {- 1}} ^ {2} > 1 / n \}
620
+ $$
621
+
622
+ for all $t\in [T]$
623
+
624
+ Recall that $\widetilde{V}_{t,n} = \lambda I + \sum_{s\in [t]}\sum_{j\in J_t^n}x_s(j)x_s(j)^\top$ . Using Lemma 5.4 and the fact that $V_{t}\succeq \widetilde{V}_{t,n}$ for all $t\in [T]$ , we have
625
+
626
+ $$
627
+ \sum_ {t \in [ T ]} \sum_ {j \in \tilde {J} _ {t} ^ {n}} R _ {t} (j) \leq \sum_ {t \in [ T ]} \sum_ {j \in \tilde {J} _ {t} ^ {n}} 2 \beta_ {t} (\delta) \| x _ {t} (j) \| _ {\tilde {V} _ {t - 1, n} ^ {- 1}} \quad \text {a n d}
628
+ $$
629
+
630
+ $$
631
+ \sum_ {t \in [ T ]} \sum_ {j \in \tilde {\mathcal {J}} _ {t} ^ {n}} R _ {t} (j) \leq \sum_ {t \in [ T ]} \sum_ {j \in \tilde {\mathcal {J}} _ {t} ^ {n}} R _ {t} (j) ^ {2} / \Delta \leq 2 \sum_ {t \in [ T ]} \sum_ {j \in \tilde {\mathcal {J}} _ {t} ^ {n}} \frac {4 \beta_ {t} (\delta) ^ {2}}{\Delta} \| x _ {t} (j) \| _ {\tilde {V} _ {t - 1, n} ^ {- 1}} ^ {2}.
632
+ $$
633
+
634
+ Thus, we finish the proof by following the same line of our proof of Theorem G.1.
635
+
636
+ # E. Lower Bounds of Regret
637
+
638
+ # E.1. Lower Bound when $m = 0$
639
+
640
+ Lemma E.1. If $m = 0$ , for any algorithm, there is an instance of the CCIB problem such that the algorithm does not achieve sub-linear regret while satisfying the performance constraint (1).
641
+
642
+ Proof of Lemma E.1. We consider two instances of the CCIB problem and show that no algorithm can obtain sub-linear regret while satisfying the constraint for the two instances simultaneously. Let $N = 2$ , $d = 2$ , $k = 1$ and $m = 0$ . Let $x_{t}(1) = (1,0)^{\top}$ and $x_{t}(2) = (0,1)^{\top}$ for all $t \in [T]$ , i.e., two-armed bandit problem with the stage-wise performance constraints. Suppose that $r_{t}(1) = 0.5$ and $B_{t} = \{1\}$ for all $t \in [T]$ . We consider two types of rewards for this setting: One is $r_{t}(2) = 0$ and the other is $r_{t}(2) = 1$ . In the former case, the baseline is optimal. Thus, to satisfy the constraints, an algorithm must choose the baseline (i.e., the first arm) in all rounds. In the latter case, however, such algorithm does not choose the second arm and then leads to a linear regret.
643
+
644
+ # E.2. Lower Bound when $m > 0$
645
+
646
+ First, we show a gap-independent bound.
647
+
648
+ Theorem E.2. Consider stochastic conservative MAB problem with $N$ arms and sub-Gaussian noises. Let $R_T^{\mathrm{CMAB}}$ denote the regret of $T$ rounds. Let $i^{\mathrm{base}}$ be the baseline arm and $i_t$ be the arm that are chosen. Suppose that there exist an algorithm and some $\alpha \in \left(0, \frac{1}{4e + 2}\right]$ such that the algorithm satisfies $\mathbb{E}\left[\sum_{t \in [T]} \mathbb{1}\left(\bar{r}(i^{\mathrm{base}}) > \bar{r}(i_t)\right)\right] \leq \alpha T$ for any environment, where $\bar{r}(i)$ is the mean reward of arm $i$ . Then, there is some environment such that $\mathbb{E}\left[R_T^{\mathrm{CMAB}}\right] > \sqrt{\frac{(N - 1)T}{(8e + 4)^2\alpha}}$ .
649
+
650
+ Proof of Theorem E.2. Our proof largely follows the proof of Theorem 9 of Wu et al. (2016).
651
+
652
+ We prove this theorem by contradiction. Thus, we assume that $\mathbb{E}[R_T^{\mathrm{CMAB}}] \leq \sqrt{\frac{(N-1)T}{(8e+4)^2\alpha}}$ for any environment.
653
+
654
+ We define two types of environments, i.e. the reward distributions of arms and the baseline arm. One is defined as follows:
655
+
656
+ $$
657
+ \mu_ {i} = \left\{ \begin{array}{l l} \mathcal {N} (\Delta , 1) & \mathrm {i f} i = 1 \\ \mathcal {N} (0, 1) & \mathrm {o t h e r w i s e} \end{array} \right.,
658
+ $$
659
+
660
+ where we abuse $\Delta$ that is defined later. The other type of environments is defined as
661
+
662
+ $$
663
+ \mu_ {i} ^ {(j)} = \left\{ \begin{array}{l l} \mathcal {N} (\Delta , 1) & \text {i f} i = 1 \\ \mathcal {N} (2 \Delta , 1) & \text {i f} i = j \\ \mathcal {N} (0, 1) & \text {o t h e r w i s e} \end{array} \right.
664
+ $$
665
+
666
+ for $j \in [N] \setminus \{1\}$ . Note that these environments have the same sub-optimality gap. Suppose that the baseline arm is the first arm for all environments.
667
+
668
+ Let $P_{\mu}(\cdot)$ and $\mathbb{E}_{\mu}[\cdot]$ denote the probability and the expectation under reward distributions $\mu$ , respectively. Let $T_{i}$ denote the number of times arm $i$ was chosen in the problem. Let $A_{i} = \{T_{i} \leq 2\alpha T\}$ and $\Delta = \sqrt{\frac{N - 1}{4\alpha T}}$ . First, we show $P_{\mu}(A_{i}) \geq \frac{1}{2}$ for all $i \in [N] \setminus \{1\}$ :
669
+
670
+ $$
671
+ P _ {\mu} (A _ {i}) = 1 - P _ {\mu} (T _ {i} > 2 \alpha T) \geq 1 - \frac {\mathbb {E} _ {\mu} [ T _ {i} ]}{2 \alpha T} \geq \frac {1}{2},
672
+ $$
673
+
674
+ where the first inequality is derived from Markov's inequality, the second inequality follows from the assumption of the algorithm. Next, we show $P_{\mu^{(i)}}(A_i) \leq \frac{1}{4e}$ for all $i \in [N] \setminus \{1\}$ :
675
+
676
+ $$
677
+ \begin{array}{l} P _ {\mu^ {(i)}} (A _ {i}) = P _ {\mu^ {(i)}} (T - T _ {i} \geq T - 2 \alpha T) \\ \leq \frac {\mathbb {E} _ {\mu^ {(i)}} [ T - T _ {i} ]}{T - 2 \alpha T} \\ \leq \frac {\mathbb {E} _ {\mu^ {(i)}} \left[ R _ {T} ^ {\mathrm {C M A B}} \right] / \Delta}{T - 2 \alpha T} \\ \leq \frac {1}{(4 e + 2) - (8 e + 4) \alpha} \\ \leq \frac {1}{4 e}, \\ \end{array}
678
+ $$
679
+
680
+ where the first inequality is derived from Markov's inequality and the other inequalities hold due to the definition of the regret and the assumptions. Then, using Lemma 1 of Kaufmann et al. (2016), we have
681
+
682
+ $$
683
+ \mathbb {E} _ {\mu} [ T _ {i} ] \mathrm {K L} (\mu_ {i}, \mu_ {i} ^ {(i)}) \geq d (P _ {\mu} (A _ {i}), P _ {\mu^ {(i)}} (A _ {i})) \geq \frac {1}{2} \log \left(\frac {1}{4 (1 / (4 e))}\right) = \frac {1}{2},
684
+ $$
685
+
686
+ where $d(x,y) = x\log \left(\frac{x}{y}\right) + (1 - x)\log \left(\frac{1 - x}{1 - y}\right)$ and $\mathrm{KL}(P,Q)$ is the KL-divergence of $P$ and $Q$ . By the definition of $\mu$ and $\mu^{(i)}$ , we have $\mathrm{KL}(\mu_i,\mu_i^{(i)}) = 2\Delta^2$ . Therefore, we obtain $\mathbb{E}_{\mu}[T_i] > \frac{1}{4\Delta^2}$ for all $i\in [N]\setminus \{1\}$ .
687
+
688
+ Using this fact, we have $\mathbb{E}_{\mu}[R_T^{\mathrm{CMAB}}] = \Delta \sum_{i\in [N]\backslash \{1\}}\mathbb{E}_{\mu}[T_i] > \frac{N - 1}{4\Delta} = \Delta \alpha T$ , which contradicts the assumption of the algorithm.
689
+
690
+ Next, we show a gap-dependent bound.
691
+
692
+ Proof of Theorem 6.1. We prove this theorem by the same line of our proof of Theorem E.2. Thus, we only discuss the difference from that proof.
693
+
694
+ We assume $\mathbb{E}\left[R_T^{\mathrm{CMAB}}\right] \leq \frac{N - 1}{(32e + 16)\alpha\Delta}$ for any environment. Let $s$ be the largest number such that $\Delta \leq \sqrt{\frac{N - 1}{4\alpha ks}}$ . Note that $\mathbb{E}\left[R_{ks}^{\mathrm{CMAB}}\right] \leq \frac{N - 1}{(32e + 16)\alpha\Delta}$ . Let be $A_i = \{ks_i \leq 2\alpha ks\}$ , where $ks_i$ is the number of times arm $i$ was chosen until $ks$ -th round. We consider the same environments as in Theorem E.2. Then, one can obtain $P_{\mu}(A_i) \geq 1/2$ . Furthermore, since $\Delta \geq \sqrt{\frac{N - 1}{4\alpha k(s + 1)}}$ , we have
695
+
696
+ $$
697
+ \begin{array}{l} P _ {\mu^ {(i)}} \left(A _ {i}\right) = P _ {\mu^ {(i)}} \left(k s - k s _ {i} \geq k s - 2 \alpha k s\right) \\ \leq \frac {\mathbb {E} _ {\mu^ {(i)}} [ k s - k s _ {i} ]}{k s - 2 \alpha k s} \\ \leq \frac {\mathbb {E} _ {\mu^ {(i)}} \left[ R _ {k s} ^ {\mathrm {C M A B}} \right] / \Delta}{k s - 2 \alpha k s} \\ \leq \frac {N - 1}{(3 2 e + 8) \alpha \Delta^ {2} (k s - 2 \alpha k s)} \\ \leq \frac {s + 1}{(8 e + 4) (s - 2 \alpha s)} \\ \leq \frac {2 s}{(8 e + 4) (s - 2 \alpha s)} \\ = \frac {1}{(4 e + 2) - (8 e + 4) \alpha} \\ \leq \frac {1}{4 e}, \\ \end{array}
698
+ $$
699
+
700
+ where the first inequality is derived from Markov's inequality and the other inequalities hold due to the definition of the regret and the assumptions. Therefore, we obtain $\mathbb{E}_{\mu}[ks_i] > 1 / (4\Delta^2)$ . Finally, we obtain
701
+
702
+ $$
703
+ \mathbb {E} _ {\mu} \left[ R _ {k s} ^ {\mathrm {C M A B}} \right] > \frac {N - 1}{4 \Delta} = \Delta \frac {N - 1}{4 \Delta^ {2}} \geq \Delta \alpha k s,
704
+ $$
705
+
706
+ which contradicts the assumption of the algorithm.
707
+
708
+ # F. Experiments
709
+
710
+ # F.1. Environments
711
+
712
+ In each setting, we set $d = 20$ , $T = 1000$ , $k = 30$ , and $n = 10$ . Moreover, any set of $k$ arms can be chosen in each round, i.e., $S_{t} = \{I \subseteq [N] \mid |I| = k\}$ for all $t \in [T]$ .
713
+
714
+ Table 2. Algorithms in Numerical Experiments
715
+
716
+ <table><tr><td>Algorithm</td><td>Parameters</td></tr><tr><td>ε-greedy</td><td>ε = 0.05 and λ = 1.</td></tr><tr><td>C2UCB</td><td>λ = 1 and δ = 0.05.</td></tr><tr><td>Thompson sampling</td><td>λ = 1 and δ = 0.05.</td></tr><tr><td>iUCB</td><td>α = n/k = 1/3.</td></tr><tr><td>Lin-iUCB</td><td>λ = 1, δ = 0.05, and α = n/k = 1/3.</td></tr><tr><td>Proposed</td><td>λ = 1, δ = 0.05 and n = 10.</td></tr></table>
717
+
718
+ # Algorithm 2 $\mathbf{C}^2\mathbf{U}\mathbf{C}\mathbf{B}$
719
+
720
+ Input: $\lambda > 0$ and $\{\alpha_{t}\}_{t\in [T]}$ s.t. $\alpha_{t} > 0$ for all $t\in [T]$ .
721
+
722
+ 1: $V_{0}\gets \lambda I$ and $b_0\gets 0$
723
+ 2: for $t = 1,2,\ldots ,T$ do
724
+ 3: Observe $\{x_{t}(i)\}_{i\in [N]}$ and $S_{t}$ .
725
+ 4: $\hat{\theta}_t\gets V_{t - 1}^{-1}b_{t - 1}$
726
+ 5: for $i\in [N]$ do
727
+ 6: $\hat{r}_t(i) \gets \hat{\theta}_t^\top x_t(i) + \alpha_t \sqrt{x_t(i)^\top V_{t-1}^{-1} x_t(i)}.$
728
+ 7: end for
729
+ 8: Play a set of arms $I_{t} \in \operatorname{argmax}_{I \in S_{t}} \sum_{i \in I} \hat{r}_{t}(i)$ and observe rewards $\{r_{t}(i)\}_{i \in I_{t}}$ .
730
+ 9: $V_{t} \gets V_{t-1} + \sum_{i \in I_{t}} x_{t}(i) x_{t}(i)^{\top}$ and $b_{t} \gets b_{t-1} + \sum_{i \in I_{t}} r_{t}(i) x_{t}(i)$ .
731
+ 10: end for
732
+
733
+ We use the Book-Crossing dataset (Ziegler et al., 2005), which consists of ratings expressed on a scale from 0 to 10 for books. We extracted users that rated at least 100 items and items that are rated by at least 3 users in the extracted users, which obtains 37, 157 ratings about 7, 068 items by 490 users.
734
+
735
+ We consider the cold start problem as in Garcelon et al. (2020). An algorithm aims to learn the preference of a new user. We obtained the item vectors from the ratings by the weighted regularized matrix factorization (Hu et al., 2008) and used the item vectors as the feature vectors. The baseline is the recommendation by the matrix factorization. A user is randomly selected at the beginning of a simulation. The mean rewards are the selected user's ratings that are normalized in $[0,1]$ . The noises of the rewards follow $\mathcal{N}(0,0.1^2)$ . We ran 100 simulations.
736
+
737
+ # F.2. Algorithms
738
+
739
+ We compare the proposed algorithm with the algorithms whose parameters are described in Table 2 and the baseline. The $\varepsilon$ -greedy algorithm has two ways to estimate the rewards of given arms: One is to use random values, and the other is to use the ridge regression where $\lambda$ is the parameter of the regularization. The algorithm chooses the former way with probability $\varepsilon$ and the latter way otherwise. Then, it plays a feasible set of arms that maximizes the sum of the estimated rewards. We set $\alpha$ of the iUCB algorithms such that the iUCB and the proposed algorithms have the same condition for exploration, i.e., $\alpha = n / k$ . Note that $\alpha$ for the iUCB algorithm and $\alpha$ in (2) are different parameters.
740
+
741
+ # G. C²UCB Algorithm for Matroid Constraint
742
+
743
+ We consider the CCS problem defined in Takemura et al. (2021). Note that this problem assumes that $|\mu_t(i)| \leq B$ for some parameter $B$ but does not assume that $\mu_t(i) \in [0,1]$ . The CCS problem coincides with the CCIB problem without the performance constraints except the above assumption.
744
+
745
+ We show that the $C^2$ UCB algorithm (Algorithm 2) is minimax optimal up to logarithmic factors for the CCS problem with any matroid constraint. We emphasize that our theorem is a generalization of Theorem 3 by Takemura et al. (2021) and that our proof is much simpler than that of the theorem by Takemura et al. (2021). While the CCS problem assumes that the
746
+
747
+ number $k$ of arms chosen in a round is fixed over the rounds, the $\mathbf{C}^2\mathbf{U}\mathbf{C}\mathbf{B}$ algorithm works and achieves the same regret bound if the number of arms chosen in a round is bounded by $k$ from above.
748
+
749
+ Let $\rho_t^* : I_t \to I_t^*$ be the bijection defined by Lemma 5.7 with $\{\hat{r}_t(i)\}_{i \in [N]}$ . Then, we define our sub-optimality gap as follows:
750
+
751
+ $$
752
+ \Delta_ {t} (i, j) = \mu_ {t} (j) - \mu_ {t} (i) \quad \mathrm {a n d} \quad \Delta = \min _ {t \in [ T ]} \min _ {i \in I _ {t}: \Delta_ {t} (i, \rho_ {t} ^ {*} (i)) > 0} \Delta_ {t} (i, \rho_ {t} ^ {*} (i)).
753
+ $$
754
+
755
+ Using this sub-optimality gap, we have the following regret bound:
756
+
757
+ Theorem G.1 (A generalization of Theorem 3 by Takemura et al. (2021)). Let $\kappa = \min (\log (N),d)$ $\nu = \log (kT)$ and $\iota = \min (\log (NkT / \delta),d\log (kT / \delta))$ . Assume that $S_{t}$ is a set of bases of a matroid for all $t\in [T]$ . Then, if $\alpha_{t} = \beta_{t}(\delta)$ and $\lambda = (R / M)^{2}\kappa$ , the $C^2$ UCB algorithm has the following regret bound with probability $1 - \delta$
758
+
759
+ $$
760
+ R (T) = O \left(\min \left(R \sqrt {d k T \nu \iota}, \frac {R ^ {2} d \nu \iota}{\Delta}\right) + B d k \nu\right).
761
+ $$
762
+
763
+ Proof. Let $J_{t} = \{i\in I_{t}\mid \| x_{t}(i)\|_{V_{t - 1}^{-1}} > 1 / \sqrt{k}\}$ and $J_{t}^{*} = \{\rho_{t}^{*}(i)\mid i\in J_{t}\}$ . Using these notations, the regret is rewritten as
764
+
765
+ $$
766
+ R (T) = \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*} \backslash J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t} \backslash J _ {t}} \mu_ {t} (i)\right) + \sum_ {t \in [ T ]} \left(\sum_ {i \in J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in J _ {t}} \mu_ {t} (i)\right).
767
+ $$
768
+
769
+ We bound these terms separately.
770
+
771
+ First, we consider the former term. By the definition of the bijection $\rho_t^*$ , we have $\hat{r}_t(i) \geq \hat{r}_t(\rho_t^*(i))$ for all $i \in I_t$ . Using Lemma 5.3, we have $\hat{r}_t(i) \geq \mu_t(\rho_t^*(i))$ and $\hat{r}_t(i) \leq \mu_t(i) + 2c_t(i)$ for all $i \in I_t$ , where $c_t(i) = \beta_t(\delta) \|x_t(i)\|_{V_{t-1}^{-1}}$ . Therefore, we obtain
772
+
773
+ $$
774
+ \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*} \backslash J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t} \backslash J _ {t}} \mu_ {t} (i)\right) \leq \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} 2 c _ {t} (i) \quad \text {a n d}
775
+ $$
776
+
777
+ $$
778
+ \begin{array}{l} \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*} \backslash J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t} \backslash J _ {t}} \mu_ {t} (i)\right) \leq \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \backslash J _ {t}} \left(\mu_ {t} \left(\rho_ {t} ^ {*} (i)\right) - \mu_ {t} (i)\right) ^ {2}\right) / \Delta \\ \leq \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} 4 c _ {t} (i) ^ {2} / \Delta \\ \end{array}
779
+ $$
780
+
781
+ Since $\beta_{T}(\delta) \geq \beta_{t}(\delta)$ for all $t \in [T]$ , using Lemma A.3, we have
782
+
783
+ $$
784
+ \begin{array}{l} \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} c _ {t} (i) \leq \beta_ {T} (\delta) \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} \leq \beta_ {T} (\delta) \sqrt {k T \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} ^ {2}} \\ = O (R \sqrt {d k T \iota}) \quad \text {a n d} \\ \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} c _ {t} (i) ^ {2} / \Delta = O (R ^ {2} d \iota / \Delta). \\ \end{array}
785
+ $$
786
+
787
+ Next, we bound the latter term. From Lemma A.4, we have
788
+
789
+ $$
790
+ \sum_ {t \in [ T ]} | J _ {t} | = \widetilde {O} (d k).
791
+ $$
792
+
793
+ Since $|\mu_t(i)| \leq B$ , we have
794
+
795
+ $$
796
+ \sum_ {t \in [ T ]} \left(\sum_ {i \in J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in J _ {t}} \mu_ {t} (i)\right) \leq 2 B \sum_ {t \in [ T ]} | J _ {t} | = O (B d k \nu).
797
+ $$
798
+
799
+ Algorithm 3 Thompson sampling
800
+ Input: $\lambda >0$ and $\{v_{t}\}_{t\in [T]}$ for all $t\in [T]$
801
+ 1: $V_{0}\gets \lambda I$ and $b_{0}\gets 0$
802
+ 2: for $t = 1,2,\ldots ,T$ do
803
+ 3: Observe $\{x_t(i)\}_{i\in [N]}$ and $S_{t}$
804
+ 4: $\hat{\theta}_t\gets V_{t - 1}^{-1}b_{t - 1}$
805
+ 5: Sample $\tilde{\theta}_t$ from $\mathcal{N}\left(\hat{\theta}_t,v_t^2 V_{t - 1}^{-1}\right)$
806
+ 6: for $i\in [N]$ do
807
+ 7: $\tilde{r}_t(i)\gets \tilde{\theta}_t^\top x_t(i)$
808
+ 8: end for
809
+ 9: Play a set of arms $I_{t}\in \mathrm{argmax}_{I\in S_{t}}\sum_{i\in I}\tilde{r}_{t}(i)$ and observe rewards $\{r_t(i)\}_{i\in I_t}$
810
+ 10: $V_{t}\gets V_{t - 1} + \sum_{i\in I_{t}}x_{t}(i)x_{t}(i)^{\top}$ and $b_{t}\gets b_{t - 1} + \sum_{i\in I_{t}}r_{t}(i)x_{t}(i)$
811
+ 11: end for
812
+
813
+ # H. Thompson Sampling for Matroid Constraint
814
+
815
+ We show that the Thompson sampling Algorithm 3 for the CCS problem achieves a near-optimal regret bound. Note that, similar to the $C^2$ UCB algorithm, in the CCS problem where the number of arms chosen in $t$ -th round depends on $t$ , the Thompson sampling achieves the same regret bound if the number of arms chosen in a round is bounded by $k$ from above.
816
+
817
+ Theorem H.1. Let $\kappa = \min (\log (N),d)$ $\nu = \log (kT)$ and $\iota^{\prime} = \min (\log (NkT^{2} / \delta),d\log (kT^{2} / \delta))\log (dT / \delta)$ . Assume that $S_{t}$ is a set of bases of a matroid for all $t\in [T]$ . Then, if $v_{t} = \beta_{t}(\delta /(4T))$ and $\lambda = L / (dM)$ , the Thompson sampling has the following regret bound with probability $1 - \delta$
818
+
819
+ $$
820
+ R (T) = O \left(\left(R \sqrt {d \kappa} + \sqrt {M L}\right) \sqrt {d k T \nu \iota^ {\prime}} + B d k \nu\right).
821
+ $$
822
+
823
+ Proof. Let $\rho_t^* : I_t \to I_t^*$ be the bijection defined by Lemma 5.7 with $\{\tilde{r}_t(i)\}_{i \in [N]}$ . Let $J_t = \{i \in I_t \mid \| x_t(i) \|_{V_{t-1}^{-1}} > 1 / \sqrt{k}\}$ and $J_t^* = \{\rho_t^*(i) \mid i \in J_t\}$ . Using these notations, the regret is rewritten as
824
+
825
+ $$
826
+ \begin{array}{l} R (T) = \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*} \backslash J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t} \backslash J _ {t}} \mu_ {t} (i)\right) \tag {15} \\ + \sum_ {t \in [ T ]} \left(\sum_ {i \in J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in J _ {t}} \mu_ {t} (i)\right). \\ \end{array}
827
+ $$
828
+
829
+ We bound these terms separately.
830
+
831
+ First, we bound the latter term. By the same discussion in the proof of Theorem G.1, we have
832
+
833
+ $$
834
+ \sum_ {t \in [ T ]} \left(\sum_ {i \in J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in J _ {t}} \mu_ {t} (i)\right) \leq 2 B \sum_ {t \in [ T ]} | J _ {t} | = O (B d k \nu).
835
+ $$
836
+
837
+ Next, we consider the former term. If $\mu_t(i) \geq \mu_t(\rho_t^*(i))$ , the term $\mu_t(\rho_t^*(i)) - \mu_t(i)$ does not contribute to the regret. Thus, we can assume
838
+
839
+ $$
840
+ \forall i \in I _ {t} \backslash J _ {t}, \mu_ {t} (i) \leq \mu_ {t} \left(\rho_ {t} ^ {*} (i)\right) \tag {16}
841
+ $$
842
+
843
+ without loss of generality.
844
+
845
+ We follow a similar line of proof for the Thompson sampling for the contextual linear bandit problem by Abeille & Lazaric (2017). As in Abeille & Lazaric (2017), we define the following events for all $t \in [T]$ :
846
+
847
+ $$
848
+ \hat {E} _ {t} = \left\{\forall s \leq t, \| \hat {\theta} _ {s} - \theta \| _ {V _ {s - 1}} \leq \beta_ {s} (\delta^ {\prime}) \right\} \quad \text {a n d}
849
+ $$
850
+
851
+ $$
852
+ \tilde {E} _ {t} = \{\forall s \leq t, \| \tilde {\theta} _ {s} - \hat {\theta} _ {s} \| _ {V _ {s - 1}} \leq \gamma_ {s} (\delta^ {\prime}) \},
853
+ $$
854
+
855
+ where $\delta' = \delta/(4T)$ and $\gamma_t(\delta) = \sqrt{2d\log(2d/\delta)}\beta_t(\delta)$ . From a similar argument of Lemma 1 by Abeille & Lazaric (2017), we have $P(\hat{E}_T \cap \tilde{E}_T) \geq 1 - \delta/2$ . In the remaining of this proof, we consider the case under the event $\hat{E}_T \cap \tilde{E}_T$ .
856
+
857
+ Then, we can decompose the right-hand side of (15) as follows:
858
+
859
+ $$
860
+ \begin{array}{l} \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} ^ {*} \backslash J _ {t} ^ {*}} \mu_ {t} (i) - \sum_ {i \in I _ {t} \backslash J _ {t}} \mu_ {t} (i)\right) = \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \backslash J _ {t}} \theta^ {\top} x _ {t} \left(\rho_ {t} ^ {*} (i)\right) - \tilde {\theta} _ {t} ^ {\top} x _ {t} (i)\right) (17) \\ + \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \backslash J _ {t}} \tilde {\theta} _ {t} ^ {\top} x _ {t} (i) - \theta^ {\top} x _ {t} (i)\right). (18) \\ \end{array}
861
+ $$
862
+
863
+ We can bound (18) as
864
+
865
+ $$
866
+ \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \backslash J _ {t}} \tilde {\theta} _ {t} ^ {\top} x _ {t} (i) - \theta^ {\top} x _ {t} (i)\right) \leq \sum_ {t \in [ T ]} \sum_ {i \in I _ {t} \backslash J _ {t}} \left(\gamma_ {t} \left(\delta^ {\prime}\right) + \beta_ {t} \left(\delta^ {\prime}\right)\right) \| x _ {t} (i) \| _ {V _ {t - 1} ^ {- 1}} = O \left((R \sqrt {\kappa} + M \sqrt {\lambda}) d \sqrt {k T \nu \iota^ {\prime}}\right).
867
+ $$
868
+
869
+ To bound (17), we introduce convex functions $J_{t,i}(u) = \max_{j\in C_{t,i}}u^{\top}x_{t}(j)$ for some $C_{t,i}\subseteq [N]$ such that $J_{t,i}(\tilde{\theta}_t) = \tilde{\theta}_t^\top x_t(i)$ and $J_{t,i}(\theta) = \theta^{\top}x_{t}(\rho_{t}^{*}(i))$ . If we construct such convex functions, by the same line of the proof by Abeille & Lazaric (2017), we can complete the proof. In fact, we have
870
+
871
+ $$
872
+ \sum_ {t \in [ T ]} \left(\sum_ {i \in I _ {t} \backslash J _ {t}} \theta^ {\top} x _ {t} \left(\rho_ {t} ^ {*} (i)\right) - \tilde {\theta} _ {t} ^ {\top} x _ {t} (i)\right) = O \left((R \sqrt {\kappa} + M \sqrt {\lambda}) d \sqrt {k T \nu \iota^ {\prime}} + \frac {L}{\sqrt {\lambda}} \sqrt {k T \log (1 / \delta)}\right)
873
+ $$
874
+
875
+ with probability at least $1 - \delta /2$
876
+
877
+ We now construct $J_{t,i}(u)$ . By the construction of $\rho_t^*$ , we have $\tilde{\theta}_t^\top x_t(i) \geq \tilde{\theta}_t^\top x_t(\rho_t^*(i))$ . On the other hand, we have $\theta^\top x_t(i) \leq \theta^\top x_t(\rho_t^*(i))$ by (16). Therefore, if we define $C_{t,i} = \{i, \rho_t^*(i)\}$ , we have $J_{t,i}(\tilde{\theta}_t) = \tilde{\theta}_t^\top x_t(i)$ and $J_{t,i}(\theta) = \theta^\top x_t(\rho_t^*(i))$ .
2023/Contextual Conservative Interleaving Bandits/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec7231d5d9f6793c8f538a0bc284e0faae0909691f95e33a9b88d6015cfa249e
3
+ size 802182
2023/Contextual Conservative Interleaving Bandits/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2023/Contextual Reliability_ When Different Features Matter in Different Contexts/e62f107c-5285-460d-87a5-7b9e770dcce2_content_list.json ADDED
The diff for this file is too large to render. See raw diff