Cost-Informed Learning for Aggregating Building HVAC Flexibility
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.
Rosa: Today's paper: "Cost-Informed Learning for Aggregating Building HVAC Flexibility".
Dev: This research develops a cost-informed learning framework to aggregate building HVAC flexibility by jointly learning surrogate parameters and an inner-approximation objective from downstream utilization costs,
Rosa: First, who's behind it and why it matters.
Paper summary: Rosa: So, to recap where we are, this paper introduces "Cost-Informed Learning for Aggregating Building HVAC Flexibility" which sets out a framework that addresses the weakness in current aggregation methods by focusing on cost relevance instead of just volume. The core thesis is that existing methods treat flexibility aggregation and utilization as separate steps, leading to an aggregate set that misses the flexibility most valuable for reducing downstream dispatch costs.
Dev: That means they claim that their method improves things because it learns both the surrogate parameters and the inner-approximation objective simultaneously using feedback from utilization costs, which directs this representation capacity toward cost-relevant regions of the flexibility set. They’re essentially closing that loop between what we model and what happens downstream economically.
Taro: The paper states that their main contributions are threefold: they develop this novel framework, they use a risk- and ambiguity-aware utilization task with DR-CVaR, and they embed this task into the learning pipeline to reduce out-ofsample tail costs under price uncertainty. This shows a comprehensive approach to dealing with market realities.
Rosa: And that level of detail in addressing both structural mismatch between the storage-form surrogate and HVAC flexibility, and incorporating distributional ambiguity through DR-CVaR, really makes this paper stand out as a more complete modeling effort than just looking at volume aggregation.
Dev: It matters because it moves the focus from just getting a large set to getting an economically useful set; if you have too much capacity in the wrong places, you’re wasting resources on dispatch costs that don't actually matter when prices change.
Taro: I agree; this has big implications for energy system design because it provides a mechanism to ensure that the flexibility we plan for is actually optimized for cost reduction in uncertain future price environments.
Rosa: And the authors are showing they can achieve this by linking the surrogate parameters theta and the objective weight vector w together, meaning utilization cost provides feedback that informs both parts of their learning process.
Dev: That coupling is key because it ensures that we're not just optimizing one part in isolation; we are optimizing the entire system to minimize those downstream dispatch costs, which is a much more realistic scenario for real-world deployment.
Taro: It’s interesting how they formulated this as a joint optimization problem where the objective J(theta, w) takes into account price trajectories from a set S, capturing that distributional ambiguity directly into the learning task.
Rosa: That sounds very powerful because it means the learned aggregate set is inherently robust against those uncertainties when faced with different price scenarios they've sampled.
Dev: So, in short, this paper claims that by using this cost-informed feedback and DR-CVaR objective, they can create an aggregate flexibility set that actively preserves the flexibility most valuable for reducing downstream dispatch costs under price uncertainty.
Conclusion: Rosa: So, wrapping up our discussion on "Cost-Informed Learning for Aggregating Building HVAC Flexibility," the authors Jingguan Liu and colleagues have presented a framework that effectively links the physical representation of HVAC flexibility to its economic utility through a closed-loop learning approach.
Dev: I think the real takeaway here is that this method provides a principled way to connect physically feasible aggregation techniques with economically effective utilization, moving beyond just measuring capacity volume. It shows we can design systems where the aggregate flexibility is inherently tailored to minimize operational costs in volatile price settings.
Taro: The implication for the broader field is that it gives us a tool to move from abstract representations like volume-based models to ones that are directly optimized for minimizing tangible dispatch expenses, which should influence how we build future energy aggregation strategies.
Rosa: It suggests a path toward building more resilient systems where flexibility planning isn't just about having enough capacity, but about having the right kind of capacity that performs well when the market conditions are unpredictable.
Dev: Exactly; it’s about ensuring that the flexibility we aggregate is actually working to reduce those high-cost tail outcomes when price trajectories shift unexpectedly, which is a key aspect for any robust energy system operation.
State Key Laboratory of Advanced Electromagnetic Technology, Huazhong University of Science and Technology
eess.SY, cs.SY
Submitted: 2026-09-22
Updated: 2026-09-22
Comments: 11 pages, 14 figures
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 86/100
The gist: This research develops a cost-informed learning framework to aggregate building HVAC flexibility by jointly learning surrogate parameters and an inner-approximation objective from downstream
Key concepts
- Storage-Form Surrogate
- This is a parameterized model designed to represent building HVAC flexibility in a physically interpretable way, making it compatible with market requirements. It is updated using feedback from downstream utilization costs to ensure the learned representation reflects real-world operational constraints and market needs.
- Inner Approximation
- This component constructs an inner approximation of the storage surrogate using building-specific parameters. This construction method ensures that the resulting aggregated model remains feasible for disaggregation, meaning it can be broken down into individual building contributions while maintaining structural integrity.
- DR-CVaR Objective
- This is a risk- and ambiguity-aware objective function used during utilization tasks. It considers a set of possible price trajectories to capture both distributional uncertainty and tail risk, helping the framework avoid high-cost outcomes when making decisions based on predicted energy prices.
Terminology
Summary
This research develops a cost-informed learning framework to aggregate building HVAC flexibility by jointly learning surrogate parameters and an inner-approximation objective from downstream utilization costs, which addresses the limitation that existing methods fail to preserve flexibility most valuable for reducing dispatch costs.
Problem Formulation and Motivation
The core challenge addressed is that existing aggregation methods rely on volume-oriented objectives, which may fail to preserve the flexibility most valuable for reducing downstream dispatch costs because they treat flexibility aggregation and downstream utilization as separate stages. The paper motivates a cost-informed framework by noting that geometric size is not the final performance metric,
as different price trajectories activate different dispatch points, meaning two inner approximations with similar volumes can lead to substantially different operating costs.
The goal is to learn an aggregate set that preserves flexibility in cost-relevant regions
rather than just relying on geometric volume.
Framework Components
The proposed framework consists of three main components:
-
A parameterized storage surrogate, denoted as the storage-form surrogate, which is parameterized by a vector of parameters θ (Equation 9). This surrogate is designed to be physically interpretable and compatible with market requirements.
-
A parameterized inner approximation, denoted as Ue(θ), which is constructed as an affine image of the storage surrogate using building-specific parameters γb and a diagonal linear transformation matrix Γb (Equation 11). This ensures
disaggregation feasibility by construction.
-
A risk- and ambiguity-aware flexibility utilization task formulated using a distributionally robust conditional value-at-risk (DR-CVaR) objective, denoted as J(θ, w) (Equation 18). This task captures both
distributional ambiguity and tail risk
by considering price trajectories from a set S.
Closed-Loop Learning Procedure
The framework operates in a closed-loop learning formulation where the surrogate parameters θ and the inner-approximation objective weight vector w are jointly learned. The optimization problem seeks to:
min θ,w J (θ, w) s.t. Ue (θ, w) = X b∈B γ⋆ b! + Φ X b∈B Γ⋆ b! U0 (θ), (γ⋆ b,Γ⋆ b, Λ⋆b) ∈ omegab (θ, w), ∀b ∈ B.
This coupling ensures that the utilization cost can provide cost-informed feedback for learning both the surrogate parameters θ and the objective weight w.
The learning is performed via gradient descent on a smoothed objective derived from randomized smoothing to estimate gradients efficiently without differentiating through large-scale building-level LPs.
Tractable Solution Procedure
To ensure computational tractability, the framework employs a tailored solution procedure:
-
The DR-CVaR evaluation in the forward pass is reformulated as a tractable second-order cone program (SOCP) using Wasserstein-CVaR duality, resulting in Equation (22).
-
Gradient estimation utilizes
randomized smoothing and a score-function estimator
to avoid differentiation through building-level optimization problems. -
The parallel structure allows for the independent solution of building-level LPs across all buildings, while the subsequent DR-CVaR SOCP depends only on the aggregate affine surrogate, ensuring that
the computational burden of the utilization layer does not grow with the number of buildings.
Key Findings and Contributions
Case studies comparing Oracle (non-aggregation benchmark), Volume-Maximization Aggregation (VMA), and the Proposed method demonstrate significant economic benefits. The proposed cost-informed learning method achieves a lower dispatch cost gap relative to VMA, showing that it reallocates representation capacity toward the regions activated by the cost-minimizing dispatch.
Furthermore, under unseen price-distribution shifts (e.g., July testing data), the risk- and ambiguity-aware modeling component improves generalization, with the DR-CVaR formulation helping to avoid high-cost tail outcomes.
The framework successfully links physically feasible HVAC flexibility aggregation and economically effective flexibility utilization.
Future Directions
Future work will focus on systematic calibration of the DRCVaR parameters to better balance economic performance and out-of-sample robustness.
The current results show that the method improves downstream economic performance while preserving computational tractability and disaggregation feasibility. The framework provides a principled link between physically feasible HVAC flexibility aggregation and economically effective flexibility utilization.
The gist: This research develops a cost-informed learning framework to aggregate building HVAC flexibility by jointly learning surrogate parameters and an inner-approximation objective from downstream utilization costs, which addresses the limitation that existing methods fail to preserve flexibility most valuable for reducing dispatch costs.
How it works
-
A parameterized storage surrogate U0(θ) is introduced, structured to be physically interpretable and compatible with market requirements. This surrogate is updated using cost-informed feedback from downstream utilization costs.
Improvements for AI systems
As a fastidious researcher, I have analyzed this paper, Cost-Informed Learning for Aggregating Building HVAC Flexibility.
The proposed framework represents a significant advancement in how artificial intelligence can manage and optimize complex, distributed physical systems (HVAC fleets) by bridging the gap between abstract mathematical representations and tangible economic outcomes.
Here are the specific improvements to AI systems that can be derived from this research, focusing on what the improved system can achieve:
The core improvement is moving AI from merely predicting what will happen
(prediction-based learning) to learning how to optimize a complex physical system's structure for a desired economic outcome
(decision-focused, feedback-driven learning).
Specifically, the improved AI systems can perform the following capabilities:
A. Optimized Flexibility Set Construction for Downstream Utility:
In current AI methods (like volume-based aggregation), the system learns an aggregate set based purely on geometric size or simple volume metrics. The improved system learns a representation that is explicitly tailored to the downstream economic objective (dispatch cost). It can identify and prioritize flexibility directions that are most valuable for reducing operational costs, even if those directions occupy a smaller geometric volume.
B. Risk-Aware, Uncertainty-Robust Aggregation:
The system moves beyond nominal forecasts by incorporating explicit distributional ambiguity
(using the Wasserstein distance) and tail risk
(using CVaR). The improved AI system can generate an aggregate flexibility set that is robust not just to a single predicted price path, but to entire families of plausible future price distributions. This means the resulting aggregated schedule will perform well even when electricity prices shift significantly or experience unexpected high-cost events (like peak demand spikes).
C. Adaptive Representation Capacity Allocation:
The AI system learns how to allocate its limited representation capacity efficiently. Instead of treating all parts of the aggregate set equally, it concentrates its memory
on the specific regions of flexibility that are most cost-relevant under various price trajectories. This allows the system to make high-quality dispatch decisions by focusing its learned structure where it matters most economically.
D. Efficient and Scalable Learning via Gradient Estimation:
The framework solves a massive optimization problem (learning parameters for thousands of buildings) by breaking it down into tractable building-level problems and using randomized smoothing/score-function estimators to calculate gradients efficiently. The improved AI system can be trained on very large, real-world HVAC fleets (thousands of buildings) in a computationally feasible manner, avoiding the need to differentiate through high-dimensional building models directly.
E. Closed-Loop System Improvement:
The entire process is a closed loop: the AI learns an aggregate set → the system operator uses it for dispatch → realized costs provide feedback to refine the learned set parameters (surrogate and objective). This enables continuous, self-improving optimization of the aggregation strategy over time, leading to a system that gets progressively better at minimizing dispatch costs as more data is collected.
In summary, the improved AI system transforms HVAC flexibility management from a static geometric approximation into a dynamic, economically informed engine capable of making robust dispatch decisions under uncertainty.
Sources
Related papers
- One Request, Multiple Experts: LLM Orchestrates Domain Specific Models via Adaptive Task Routing
- A Geometric Decision Procedure for STL Feasibility and Repair
- Submodular Multi-Agent Policy Learning for Online Distributed Task Allocation in Open Multi-Agent Systems
- Policy-Level Recursive Self-Improvement for Embodied AI with a Criticality World Model
- Minimal Experiments for Robust Stabilization: Information, Spectral Geometry, and Duration
- Decentralized Power-Optimal Coordination for Spacecraft Swarms Using Time-Varying Magnetorquer Actuation