Search arXiv⌕ Search

arXiv · 2611.19366

Enforcing Ellipsoidal Constraints in Neural Networks with a Polynomial Safety Layer

Abstract

Often the output of a learned mapping must satisfy prescribed constraints. In the control of autonomous systems, for example, the chosen action must keep the system within a collision-free region. We consider the case in which a proposed output is corrected by projection onto a safety ellipsoid. Computing this projection amounts to solving a quadratically constrained quadratic program (QCQP). We construct a neural-network safety layer by unrolling a feasibility-preserving polynomial penalty iteration. The unrolled structure allows the loss gradient to propagate from the feasible output through the safety layer to the network parameters during training. We show how to choose the layer parameters so that every iterate is feasible and give a computable bound on its distance to the exact projection at any prescribed depth. We illustrate the method by training a LiDAR-based policy to control an unmanned aerial vehicle. A privileged model predictive control expert uses the map and the measured vehicle state to generate the training data. In the simulated narrow mazes, the filtered policy avoided wall contact at every tested stage of training, including at initialization, when every unfiltered flight hit a wall. A representative build of the learned policy and its safety layer for an Arm Cortex-M4F microcontroller occupies about 36 KiB of flash, with a RAM budget below 5 KiB.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Rolf Findeisen, Sebastian Hirt, Hoang Hai Nguyen, Grace Li Zhang, Hendrik Alsmeier. 2026-11-14. Enforcing Ellipsoidal Constraints in Neural Networks with a Polynomial Safety Layer. https://searcharxiv.org/abs/2611.19366

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

The Cesàro Value Iteration

In this paper, we consider undiscouted infinite-horizon optimal control for deterministic systems with an uncountable state and input space. We specifically address the case when the classic value iteration does not converge. For such systems, we use the Ces`aro mean to define the infinite-horizon optimal control problem and the corresponding infinite-horizon value function. Moreover, for this value function, we introduce the Cesàro value iteration and prove its convergence for the special case of systems with periodic optimal operating behavior. For this instance, we also show that the Cesàro value function recovers the undiscounted infinite-horizon optimal cost, if the latter is well-defined.

eess.SY↗

Comfort energy management system for electrified buildings using hydrogen for seasonal storage

Flexible loads and integrated energy storage in electrified buildings can align volatile renewable energy use with consumption. While battery energy storage systems provide short-term flexibility, hydrogen storage enables seasonal energy shifting. However, since hydrogen systems are expensive, coupling a fuel cell with a heat pump can reduce the required size of the hydrogen system and, therefore, investment costs. To fully exploit the flexibility of this integrated energy system, advanced control strategies are needed. This study proposes a comfort-oriented and grid-aware energy management system for an electrified building equipped with photovoltaics, a battery energy storage system, a hydrogen system, a heat pump, and domestic hot water storage. A novel fuzzy logic-based controller coordinates fuel cell and heat pump operation while exploiting building thermal mass as a flexibility resource. The proposed approach bridges the gap between simple rule-based control and model predictive control, enabling adaptive operation without system models, weather and demand forecasts, or high computational effort. The controller is evaluated over twelve winter weeks for a German single-family household and benchmarked against a rule-based controller and an ideal-forecast model predictive controller. Results show improved thermal comfort and lower electricity costs compared to the rule-based controller. Compared to model predictive control, the proposed controller reduces fuel cell operating hours and toggling counts, leading to more practical system operation. Overall, the proposed controller achieves a favorable trade-off between control performance and implementation complexity, combining low information requirements with improved comfort, storage use, and coordinated fuel cell-heat pump operation.

eess.SY↗

A Heuristic for Scheduling Autonomous Vehicles at Intersections

We consider the coordination of autonomous vehicles at unsignalized intersections, where trajectory planning and crossing-order decisions are intrinsically coupled, thereby making their simultaneous optimization intractable in practice. To this end, we propose a heuristic based on a hierarchical structure consisting of a series of nonlinear programs (NLP) in the lower level, which optimizes trajectories of each vehicle for a given crossing order, and a high-level heuristic to design new crossing schedules that exploits sensitivity information from the lower-level NLPs. Extensive numerical simulations across a broad range of traffic scenarios demonstrate that our strategy achieves substantially improved scheduling with respect to first-in-first-out ordering while preserving computational tractability.

eess.SY↗