Skip to content

HXAI: A hierarchical privacy-preserving explainable AI framework in distributed energy systemsHXAI: Hierarchical Privacy-Preserving Explainable AI in Distributed Energy Systems

arXiv· arXiv:2610.02504· Poushali Sengupta, Sabita Maharjan, Frank Eliassen, Yan Zhang·Indexed by this site · 2026-10-05· Originally publishedDefenses

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

HXAI provides hierarchical private explanations; on Appliances, same ε has a Utility of 0.9999 (Table III).

Questions
Grid operators need appliance-level explanations of electricity use to manage peaks and design tariffs, but fine-grained explanations expose household behavior, while conventional privacy noise reduces the usability of explanations.
Methods
HXAI computes noise-free SHAP inside the household's Private Data Box, submits only Laplace differentially private summaries to the zonal aggregator, and uses ICAs to limit cumulative leakage from repeated queries. The authors state that feature identity, sign, dominance, and ranking should be preserved rather than minimizing numerical error.
Experiments and results
In Table III, on Appliances, HXAI (same ε) has Utility of 0.9999 and Rank of 0.9991; on Household, HXAI (neg. ε) has Rank of 0.4162. In Fig. 11, specific query utility is 83% and general query utility is 67%.
Limitations and future work
The paper does not have a dedicated limitations section. The experiments cover three UCI datasets, plus a simulation of 50 households, 7 appliance types, and 100 time points. The noise is Laplace, with ε in [0.1, 20]. Section VI states it is a controlled end-to-end demonstration, not field-deployed validation.
Experimental setupgradient-boosted tree regression models · UCI Appliances、UCI Household Power et al. · Utility (cosine similarity)、Spearman rank correlation et al.
Evaluated models
gradient-boosted tree regression models
Benchmarks
UCI AppliancesUCI Household PowerUCI Bike Sharing (Hourly)50-household simulated energy data
Metrics
Utility (cosine similarity)Spearman rank correlationMAEquery explanation utilitycumulative privacy leakage
AI summaryHXAI is a hierarchical privacy-preserving explainable AI framework for grid-level demand management, consisting of local models that generate fine-grained explanations in secure private environments and regional models that aggregate these explanations to support grid-level analysis. The framework limits cumulative privacy exposure under repeated queries through flexible privacy budget management, and on both simulated and real energy datasets it provides regional load management insights while ensuring appliance-level electricity data always remains local and is not transmitted to grid operators. The results show that preserving the semantic structure of explanations rather than minimizing numerical error under differential privacy is key for explainable AI.

HXAI is a hierarchical privacy-preserving explainable AI framework for grid-level demand management, consisting of local models that generate fine-grained explanations in secure private environments and regional models that aggregate these explanations to support grid-level analysis. The framework limits cumulative privacy exposure under repeated queries through flexible privacy budget management, and on both simulated and real energy datasets it provides regional load management insights while ensuring appliance-level electricity data always remains local and is not transmitted to grid operators. The results show that preserving the semantic structure of explanations rather than minimizing numerical error under differential privacy is key for explainable AI.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose HXAI: noise-free appliance explanations are kept within the household, and zones only share budget-constrained differentially private summaries.

    Grid operators need appliance-level, decision-relevant electricity explanations, but increasing transparency creates household privacy risks, and conventional privacy techniques reduce explanation usability.

    • Scenario: The authors state that renewable intermittency and stochastic electricity use make supply–demand balancing difficult; high-consumption devices such as heating are often invisible to operators due to privacy, affecting peak management, demand response, and tariff design.
    • Existing gaps: The authors state that centralized SHAP/LIME requires raw household data, and fine-grained explanations may expose occupancy and appliance routines; adding Laplace noise to SHAP harms clarity and reliability. Federated learning mostly provides coarse statistics, lacking appliance-level signals and cumulative leakage control under repeated queries.
    • The authors' observation: The authors argue that under differential privacy, preserving feature identity, sign, dominance, and ranking matters more than minimizing numerical error.
    • Proposed framework: HXAI generates noise-free fine-grained explanations in a local secure environment, aggregates noisy summaries at the zonal layer under a negotiable privacy budget, and limits cumulative exposure from repeated queries. Appliance-level consumption stays local and is not transmitted to the operator.
    • Threat model:
      • Goal: honest-but-curious querying entities may infer additional information from outputs; adversaries such as aggregators may infer sensitive household information or re-identify households through cumulative leakage.
      • Knowledge and capability: can observe all differentially private zonal outputs, merge cross-household reports, and issue repeated queries.
      • Boundary: raw data and noise-free local explanations do not leave the Private Data Box; communication is assumed encrypted, and noise is added before leaving the household boundary.
      • Out of scope: hardware security primitives and side-channel attacks. The use is limited by the authors to planning, monitoring, and diagnosis, not real-time grid control.
  2. What related research exists?

    Related work is organized by the authors into energy XAI, privacy-preserving machine learning, differential privacy, and hierarchical architectures, and compared against HXAI.

    The authors organize related work into three themes and use Table I for qualitative comparison, rather than reproducing these methods on the same benchmark.

    Explainable AI in energy systems

    • SHAP and LIME: Lundberg and Lee (2017), Ribeiro et al. (2016) provide feature attributions. The authors state that energy forecasting, home automation, and demand response have used such methods, applied to smart meters or building loads.
    • Gap named by the authors: existing implementations typically generate explanations centrally, thus requiring raw household data; explanations are affected by fine-grained behavioral patterns and may expose occupancy and appliance routines. The authors state that to their knowledge, no work provides device-level interpretability for high-impact residential loads while guaranteeing household privacy, and is disconnected from peak demand management.

    Privacy-preserving machine learning

    • Cryptography and TEE: The authors discuss SMPC, HE, and trusted execution environments. The authors state that their goal is data confidentiality rather than interpretability; using HE or SMPC for SHAP requires encrypted computation of high-dimensional attributions over large coalitions, which is costly, and does not address feature identity, ranking, direction, nor limit cumulative leakage from repeated queries or privacy–utility negotiation.
    • Federated learning: McMahan et al. (2017), Li et al. (2020) keep raw data local and train collaboratively. The authors state that it lacks a mechanism for sharing appliance-level explanation signals with operators, and existing federated explanations remain coarse-grained. HXAI does not learn a shared global model, nor aggregate parameters or gradients.

    Differential privacy and hierarchical architectures

    • Local differential privacy: Duchi et al. (2013) et al. add noise before sharing. The authors state that this destroys the fine structure needed for interpretability and is unsuitable for SHAP-based appliance attribution.
    • DP in the grid: The authors state that DP in smart meter aggregation and distributed load forecasting mostly gives scalar or coarse summaries, with static budgets, and no SHAP-level explanations with cross-level, controllable leakage.
    • Edge and Databox: The authors state that processing near the data source and zonal prediction lack local interpretability mechanisms, no differentially private explanation aggregation, static privacy constraints, and no dynamic budget negotiation.

    Baseline methods and datasets

    • Baselines: Section V compares Central DP-SHAP, HXAI (same ε), and HXAI (negotiated ε); non-private explanations serve as reference. Datasets are UCI Appliances, UCI Household Power, and UCI Bike Sharing (Hourly). Table I marks HXAI as Edge-Native, DP + Isolation, Yes (TEE), Dynamic, Decentralized; this is the authors' qualitative table, not measured scores.

    The authors state that existing architectures do not simultaneously provide noise-free household explanation reports, appliance-aware differentially private zonal summaries, or query-level cumulative leakage bounds.

  3. How does the paper address this problem?

    HXAI computes noise-free SHAP inside a household TEE, aggregates only Laplace differentially private summaries, and uses ICA to limit cumulative leakage.

    HXAI treats explanations as the analysis object: noise-free appliance-level SHAP is generated within the household, zones only aggregate differentially private summaries, and query-level accounting limits long-term leakage. It does not train a shared global model.

    System, Trust, and Data

    • Entities: The household holds a Private Data Box; query entities are bound to an ICA via an Authenticator; the Data Dealer only handles policy access and does not process household data; the Zonal Aggregator only sums differentially private summaries. An optional cloud performs only non-sensitive aggregation.
    • Trust: The Authenticator, Data Dealer, and Private Data Box are assumed to execute correctly and not release raw data or noise-free explanations. The aggregator is untrusted with respect to household data. An industry-standard TEE is assumed inside the box.
    • Data: Household i records sequences for d categories of devices over T time instants. Appliances may differ across households; absent devices are recorded as 0 in the common d-dimensional space. A local model predicts short-term electricity use, such as the next hour or next day.

    Local Explanations and Differentially Private Publication

    • Local explanations: SHAP is computed inside the box for appliance k and time t, then multiplied by the observed quantity to obtain model-weighted contributions; summing over time yields the household summary S_i. These results are noise-free and do not leave the box. The authors emphasize that SHAP explains the prediction mechanism, not the raw usage itself.
    • External publication: Only S̃i=Si+ηi is released, with each coordinate independently following a Laplace distribution with scale ΔS/ε_adjust. ΔS is the l1 sensitivity of the summary, and ε_adjust is the negotiated budget approved via the ICA.
    • Assumptions: The l1 norm of the SHAP vector is bounded; the norm of the true zonal explanation has a positive lower bound c, to exclude cases where all appliance contributions are zero. Expectations are taken over the randomness of the Laplace mechanism.

    Zonal Aggregation, Negotiation, and Utility

    • Zonal vector: S_zonal is the sum of noisy household summaries. The authors give unbiasedness: its expectation equals the noise-free zonal SHAP sum. The mean absolute deviation bound grows linearly with the number of households, dimension d, and ΔS/ε_adjust.
    • Negotiation: Each household's objective is explanation utility minus λ_i times privacy loss; in practice, bounded search with feedback is used. The adjusted ε falls near the optimum the authors write, within the interval given by ℓ. Negotiation is voluntary; if no agreement is reached, stricter privacy is the default and explanation utility decreases.
    • Utility: Cosine similarity U=Strue⊤Szonal/(|Strue|2|Szonal|2) measures the directional alignment of zonal explanations before and after noise. The authors say they chose it because it focuses on relative importance and is scale-invariant. There is also a lower bound on expected utility relative to noise magnitude, and they state that E[U] is monotonically nondecreasing in each ε_adjust.

    Query Accounting and Execution

    • Two query types: General Queries give trends, peak shapes, and dominant appliance categories, with lower privacy cost; Specific Queries perform appliance-level diagnostics, behavioral elasticity, and incentive evaluation, with higher cost. The method section does not give specific ε values for the two query types.
    • Cumulative leakage: L_total is the sum of each ε_adjust. Once the household-negotiated threshold L_max is reached, the Private Data Box rejects further queries. The authors state that the bound comes from sequential composition of differential privacy.
    • ICA: Contains allowed queries, cumulative privacy upper bound, output granularity, and validity period, and is bound to a unique household–Private Data Box pair. Queries must satisfy both the query entity's and the affected household's constraints.
    • Algorithm 1: Prediction, SHAP, and S_i are done inside the TEE; each query is checked item by item to see whether it is within the ICA and the budget is not exceeded, then Laplace noise is sampled and the summary is released; the aggregator only sums. The authors state that computational cost grows linearly with the number of households and queries, and the paper does not report measured runtime.
  4. What experiments did the paper conduct?

    On Appliances, same ε has Utility of 0.9999; on Household, neg. ε has Rank of 0.4162.

    Experimental setup

    • Model and explanations: gradient-boosted tree regression, trained on lagged time series; TreeSHAP computes exact Shapley values. Non-private explanations serve as the oracle. The electricity price curve in Section VI does not specify the prediction model used.
    • Three mechanisms: Central DP-SHAP adds Laplace noise to aggregated explanations; HXAI (same/fixed ε) uses a uniform budget; HXAI (negotiated ε) allocates according to user preferences, utility company needs, attribution quality, etc.; the authors state that more important features receive higher privacy allocations, subject to a total constraint.
    • Data: UCI Appliances is 19,735 hourly residential electricity records; UCI Household Power is approximately 2 million minute-level records; UCI Bike Sharing (Hourly) is 17,379 records with 12 variables. The abstract states simulated and real energy data; the third dataset is bike rental counts, which the authors use to contrast homogeneous and heterogeneous attributions.
    • Metrics and grid: MAE, Spearman rank correlation, cosine similarity (Utility). ε is sampled on a log scale over [0.1, 20]. Results are reported as multi-seed mean and std; the paper does not report the number of seeds.
    • System simulation: 50 households, appliances are Heating, Fridge, Fan, Oven, Washing Machine, Dryer, Cooler, 100 time points. Platform is MacBook Air (M1), 8 cores, 8 GB RAM, macOS 14.4.1, Python 3.9. The authors state this section is a controlled end-to-end demonstration, not field-deployed validation.

    Main results

    According to Table III (the table caption states mean ± std over seeds; the extracted text gives only point estimates). Method × dataset combinations that do not appear are not listed.

    Swipe horizontally to read the table

    DatasetMethodUtilityRankMAE
    UCI AppliancesHXAI (same ε)0.99990.99910.25
    UCI Bike SharingHXAI (same ε)0.99990.98540.25
    UCI Household PowerHXAI (neg. ε)0.99080.41620.22
    UCI AppliancesCentral DP0.650.4529.45
    UCI Household PowerCentral DP0.740.170.45
    • The authors state that on homogeneous attributions (Appliances, Bike), the uniform budget is better, and on heterogeneous attributions (Household Power), the negotiated budget is better. On Household, even the HXAI row in the table has a Rank of 0.4162.
    • The authors state that Central DP-SHAP is worse than HXAI on all three datasets. The table only gives Central DP for Appliances and Household; Central DP for Bike is not listed.
    • The text states that Fig. 2 panels contain MAE, Spearman, and cosine; the extracted axis name is Utility (cosine similarity), the legend is Central_DP_SHAP, HXAI_negotiated_eps, HXAI_same_eps, and the x-axis is on a log scale. The authors state that on the first two datasets, both HXAI variants approach the non-private oracle as ε increases, and uniform is better; on Household, negotiated has better cosine and ranking for ε≤2. Shading is one standard deviation. Curve endpoint values cannot be read from the text.

    Qualitative robustness

    • Fig. 3 caption is moderate privacy ε≈1.05, and the subplot titles contain eps=1.05361. The authors state that local-DP shows sign flips and unstable rankings, while zonal HXAI still identifies the dominant features. In the figure, Appliances lists Press_mm_hg_lag6, RH_1_lag1, etc., and Household Power lists Global_intensity_lag1, Sub_metering_3_lag1, etc. Bar heights cannot be reliably read from the text.
    • Fig. 4: the text states (a) is fixed-ε and (b) is negotiated-ε, and states that the negotiated trajectories are tighter, especially on Household Power. In the figure, both panel titles read uci_appliances, while the caption states (a) UCI Appliances and (b) UCI Household Power. The authors state the trajectories are close to the diagonal with few crossings.
    • Fig. 5: the title and caption are both UCI Appliances. The authors state that Central DP-SHAP's Top-10 ranking trajectory is unstable and crossing, while HXAI (negotiated ε) is close to the diagonal. The figure lists oracle ranks 1–10, with the y-axis as Rank (lower is better).

    System-level negotiation, queries, and interventions

    • The authors state that in Fig. 6, the washing machine has the widest SHAP distribution, heating is more balanced, and oven and fan are smaller; Figs. 7–8 state that after noise is added, the relative importance of the dominant appliance and the overall demand shape remain. These figures have no coordinate readings to copy.
    • Fig. 9: initial ε=0.16, after negotiation ε=6.73. The authors state that the former distorts explanations due to noise, while the latter has stable utility and the dominant features, signs, and relative rankings remain. When the user is unwilling to relax privacy, the system defaults to stricter privacy and coarser explanations.
    • Fig. 11: specific query utility 83%, general query 67%. Fig. 12 example: after leakage accumulates to 6.73, subsequent queries are rejected. The upgrade scenario is a 20% bill discount with 20 of 50 households participating; the authors state that in Fig. 10 peak electricity prices decrease and the curve becomes smoother, but the paper does not give electricity price numbers.

    Other ablations and analyses

    • ε∈[0.1, 20]: the authors state that on Appliances and Bike, uniform is better on all metrics, and on Household, negotiated has better cosine and ranking for ε≤2; the paper does not provide a per-ε numerical table.
    • Table III does not list Central DP for Bike, nor negotiated rows for Appliances or Bike.
    • Household HXAI(neg. ε) Rank is 0.4162; in the same table, Appliances Rank is 0.9991 and Bike Rank is 0.9854.
    • Central DP MAE: Appliances is 29.45, Household is 0.45 (Table III).
    • The paper does not report the number of random seeds, nor the number of households in the Section V experiments.
    • A footnote states the focus is on Laplace-based DP-SHAP, and states that the Gaussian mechanism and smooth sensitivity mainly affect noise calibration.
  5. What are some points that can be further explored?

    The paper does not have a dedicated limitations section; the experiments cover three UCI datasets, the Laplace mechanism, and a 50-household simulation.

    Limitations and future directions noted by the authors

    The paper does not explicitly list limitations or future work in the Limitations, Discussion, Conclusion, or appendix.

    Experimental coverage

    • Section V uses UCI Appliances (19,735 hourly records), UCI Household Power (approximately 2 million minute-level records), and UCI Bike Sharing (Hourly) (17,379 records, 12 variables); the model is gradient-boosted tree regression, with TreeSHAP explanations.
    • The privacy mechanism is Laplace; the ε grid is [0.1, 20]. Baselines are Central DP-SHAP, HXAI (same ε), and HXAI (negotiated ε). Metrics are MAE, Spearman, and cosine similarity. Results are reported as multi-seed mean±std; the paper does not report the number of seeds.
    • Section VI simulates 50 households, 7 appliance types, and 100 time points; the negotiation examples are ε=0.16 and 6.73; query utility is 83% and 67%; the upgrade scenario is a 20% discount with 20/50 households participating. Electricity price values are not reported.
    • Section VI states that the system experiment is end-to-end behavior under controlled conditions, not field-deployed validation; and states that in real DSO deployment, data volume, regulatory constraints, and participation heterogeneity would affect parameter calibration but not the hierarchical design. A footnote states that the paper focuses on Laplace, and that Gaussian and smooth sensitivity mainly affect noise calibration.
    • The ethics section states that only simulated or public datasets are used, with no new collection of personally identifiable information. The threat model states that hardware attacks and side channels are out of scope.
  6. Summarize the main content of the paper

    HXAI keeps noise-free local SHAP within the household and only aggregates differentially private summaries; the authors state that semantic stability is more critical than numerical error.

    HXAI is a hierarchical privacy-preserving explanation framework for distributed energy systems, serving planning, monitoring, and diagnosis rather than real-time control.

    • Problem: Operators need appliance-level, decision-relevant demand explanations, but household consumption and fine explanations cannot be handed over directly. The authors believe that adding noise only to explanations harms the structure needed for decisions.
    • Approach: Each household generates noise-free, model-weighted appliance contributions inside a Private Data Box using a local model and SHAP; only Laplace-noised summaries are released externally. The zonal aggregator sums the summaries. ICAs distinguish general queries from specific queries, and queries are automatically rejected once cumulative privacy reaches the threshold. The adversary is assumed to be honest-but-curious.
    • Theory: The authors state that the noised zonal SHAP sum is unbiased in expectation, the error bound grows linearly with the number of households, dimension, and ΔS/ε, and zonal utility is defined via cosine similarity.
    • Data experiments: In Table III, on UCI Appliances, HXAI (same ε) has Utility of 0.9999, Rank of 0.9991, and MAE of 0.25; in the same table, Central DP has Utility of 0.65 and MAE of 29.45. On UCI Bike Sharing, HXAI (same ε) has Utility of 0.9999 and Rank of 0.9854. On UCI Household Power, HXAI (neg. ε) has Utility of 0.9908, but Rank of 0.4162; in the same table, Central DP has Rank of 0.17.
    • System experiments: In a 50-household simulation, the negotiation example goes from ε=0.16 to 6.73. Specific query utility is 83% and general query utility is 67%. After 20/50 households participate in an upgrade scenario with a 20% bill discount, the authors state that peak electricity prices decrease; the paper does not give electricity price figures.
    • Authors' conclusions: The authors state that under differential privacy, feature identity, sign, dominance, and ranking should be prioritized; hierarchical aggregation with query-level accounting can support zonal load analysis without transmitting appliance-level consumption.
Read originalarxiv.org