원시데이터 수집 시스템
선정목록으로

An Energy Consumption Model for Electrical Vehicle Networks via Extended Federated-learning

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Zhang Shi-liang
DOI
10.48550/arxiv.2111.08472
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2111.08472
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W6910862999

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Electrical vehicle (EV) raises to promote an eco-sustainable society. Nevertheless, the "range anxiety" of EV hinders its wider acceptance among customers. This paper proposes a novel solution to range anxiety based on a federated-learning model, which is capable of estimating battery consumption and providing energy-efficient route planning for vehicle networks. Specifically, the new approach extends the federated-learning structure with two components: anomaly detection and sharing policy. The first component identifies preventing factors in model learning, while the second component offers guidelines for information sharing amongst vehicle networks when the sharing is necessary to preserve learning efficiency. The two components collaborate to enhance learning robustness against data heterogeneities in networks. Numerical experiments are conducted, and the results show that compared with considered solutions, the proposed approach could provide higher accuracy of battery-consumption estimation for vehicles under heterogeneous data distributions, without increasing the time complexity or transmitting raw data among vehicle networks.

본문 55,832자

본문 펼치기
## An Energy Consumption Model for Electrical Vehicle Networks via Extended Federated-learning Shiliang Zhang <sup>∗</sup> January 26, 2022 Abstract Electrical vehicle (EV) raises to promote an eco-sustainable society. Nevertheless, the “range anxiety” of EV hinders its wider acceptance among customers. This paper proposes a novel solution to range anxiety based on a federated-learning model, which is capable of estimating battery consumption and providing energy-efficient route planning for vehicle networks. Specifically, the new approach extends the federated-learning structure with two components: anomaly detection and sharing policy. The first component identifies preventing factors in model learning, while the second component offers guidelines for information sharing amongst vehicle networks when the sharing is necessary to preserve learning efficiency. The two components collaborate to enhance learning robustness against data heterogeneities in networks. Numerical experiments are conducted, and the results show that compared with considered solutions, the proposed approach could provide higher accuracy of battery-consumption estimation for vehicles under heterogeneous data distributions, without increasing the time complexity or transmitting raw data among vehicle networks. ### 1 Introduction Electric vehicle (EV) has been rolling out as an enormous contributor to the eco-stainable industry. Nevertheless, through years of penetration, EV has not significantly improved its attractiveness among customers [1, 2]. The long-existed “range anxiety” [3] induced by limited battery volume and lengthy charging time hinders EV’s broader acceptance [4]. Such disadvantages have motivated the rise of energy-efficient solutions for EVs to decrease range anxiety. In this paper, we analyze existing energy-efficient approaches, and try to come up with a novel solution that fits the need of EV networks better. Energy-efficient route planning, a.k.a e-route [5], has been proposed to reduce battery usage by providing route options with less energy consumption, aiming to benefit sustainable range, reduce charging frequency, and lessen range anxiety. The key objective of e-route is to derive a model that estimates EV energy consumption for a specific route. Investigations on such models have been conducted considering various factors. Most approaches take inputs as road gradient and route length [6–12] in energy estimation, and other factors like vehicle specifications and driving behavior are also considered [6,10,11]. With input factors determined, a model can be established via recording all the considered factors in a testing driving trip, followed by training and generating the model parameters based on the recorded data [12,13]. ∗Computer Science and Engineering, Chalmers University of Technology. Email: shiliang@chalmers.se 1 Existing e-route approaches often include a great variety of input factors, such as the specifications of the EV’s power train, heater and air-conditioner, wiper, radio [11], atmosphere humidity, traffic light [10], and even driver’s weight [12,14]. The vehicle’s driving and stationary status are also considered in [15]. The authors in [16] develop a model with more inclusive inputs, including air density, rolling resistance, vehicle frontal area, wind speed, road surface angle, vehicle acceleration, and vehicle operating condition. A Bellman-Ford-based e-route method in [17] is presented with input factors such as precipitation, light, temperature, crossing conditions, and road type. The underlying motivation to pursue more input features is to provide an inclusive model that fits for vehicles with diversities of specifications [13] or vehicles with heterogeneous data distributions. _E.g.,_ an estimation model that covers the need of vehicles under city-street driving, highway driving, mountain driving, etc, where more possible input factors are included to gain various data populations with higher granularity. Nevertheless, such a single inclusive model can bring obstacles to the model training: it is not clear how to collect the needed datasets for covering all essential ranges of diversities of vehicle populations. Moreover, learning forcedly on the aggregation of heterogeneous data distributions might entail a model that diverges all data distributions [18]. Such approaches are also vulnerable to abnormal vehicle behaviors, _e.g.,_ erratic driving patterns, which generate data that can severely degrade any learned model. Federated-learning [19] (FL) provides a potential solution to heterogeneous data distribution in network learning, which leverages shared information among network for cooperative learning that avoids sending raw data [20]. Some recent FL approaches have adopted advanced features that, distinctions between different populations of network members are considered in model learning. We review the existing FL solutions to the challenge of heterogeneous data distribution in the following. 1.1 Related works 1.1.1 Sharing small amounts of raw data This approach circumvents data distributions’ diversity via sharing a small percentage of local data from each network participant [18, 21]. During each learning iteration, all the participants transmit a small proportion of their local data to the learning server, where all the shared data are integrated to establish the model. The size of the shared data can be considerably large as the network size grows, resulting in an inclusive dataset for the learning server that covers various vehicle populations. While this approach reduces data heterogeneity by an inclusive data collection, directly sharing raw data raises concerns regarding privacy-sensitive information since it breaks the key guidelines for the framework of federated-learning. 1.1.2 Assuming a statistical relationship among local populations This approach makes assumptions on the relationship between network members. _E.g.,_ the work in [22] assumes the covariance amongst learned results from different network members exists, and optimizes model parameters based on such covariance. The optimization of this approach requires transmitting raw data to the optimizing engine, which poses privacy vulnerabilities. A neural network model with shared parameters in lower layers is assumed in [23], where a global objective function is optimized to acquire the desirable model parameters. However, those assumptions might not fit practical scenarios in which these relationships are not necessarily known to exist. 2 1.1.3 Assuming on the classification of data populations The third approach classifies network members into several groups named by, _e.g.,_ blocks [24] or clusters [25, 26], where members belong to the same group are regarded as following the same distribution. Then the model learning task is converted into optimizing model parameters within each group, so that one vehicle can avoid learning on data generated from a different vehicle population. The performance of this approach will depend significantly on the grouping efficiency. However, this approach does not apply to small scale networks, where no efficient groups could be extracted. 1.1.4 Restricting measures on local learned results This method exploits more features of the learned results, _e.g.,_ a new objective function for federated-learning is proposed in [27] to limit the impact of learned results on model integration, aiming to enhance convergence in the case of heterogeneous data distributions. A similar modeling method can be found in [28] to improve robustness against heterogeneity by adding a penalty on the norm of learned results in the objective function. Nevertheless, this approach slows down the influence of heterogeneity rather than eliminating it. Beyond all the pros and cons, those mentioned methods are vulnerable to anomalies. Abnormal data, _e.g.,_ data generated by vehicles under erratic driving behaviors or polluted by severe noise, can be propagated into the learning engine and degrade any learned model. 1.2 Our contribution We provide an important solution for e-route with an estimation model based on federated-learning, which could preserve energy-estimation accuracy in the presence of data distribution heterogeneities in EV networks. The proposed approach, to the best of our knowledge, is the first to combine federated-learning with EV energy-consumption estimation. The new approach extends the federated-learning structure with two components: (i) anomaly detection and (ii) sharing policy. The former component keeps network learning free from preventing factors like data from erraticdriving vehicles, while the latter guarantees that during network learning, one vehicle will not learn from vehicles behaving significantly different from it when vehicles of different populations exist in the same network. Beyond that, our approach differs from existing ones with no assumed prior knowledge on data, nor transmitting raw data in model learning. We conduct numerical experiments based on real-world data to verify the model prediction performance under heterogeneous data distributions. This paper’s organization is as follows: Section 2 describes the proposed approach named by extended federated-learning in detail; Experiments and results on real-world data are shown in section 3; Conclusions are given in section 4. ### 2 Methodology: Extended Federated-learning This section illustrates how the proposed extended federated-learning is constructed, and how its two components of anomaly detection and sharing policy collaborate to address the data distribution heterogeneity issue. 3 We first give examples of learning scenarios on the identical independent distribution (i.i.d) and heterogeneous data distribution in Figure 1. Though generated by different vehicles, the data in Figure 1-(a) follows i.i.d since they are likely to be generated by the same mechanism, and data from each member benefits the same model. Such dataset fits well in approaches that integrate all information to generate a final model, _e.g.,_ _y_ = _aavx_ + _bav_ for every member. However, it is often heterogeneous rather than i.i.d data distribution that is available in practical scenarios, as shown in Figure 1-(b), where the data is generated from different types of vehicle trips such as city-street, highway, mountainous road, etc. Those data under heterogeneous distribution are hard to be covered by one single model, as shown in Figure 1-(b), where one single model like _y_ = _aavx_ + _bav_ is inaccurate to make predictions for all the data populations. Beyond this data heterogeneity issue, data generated abnormally, _e.g.,_ data from vehicles under erratic drivers, can lead to the uselessness of any learned models. This section depicts a network learning approach that assigns different models to different network participants, as shown in Figure 1-(c), and the learned result from each vehicle can be shared and leveraged to enhance other vehicle’s learning. The rule for sharing of learned results is determined by the developed sharing policy. Before any of the data are leveraged in learning procedures, anomaly detection is performed to filter out abnormal data. Figure 2 illustrates the proposed extended federated-learning, which includes the two developed components of anomaly detection and sharing policy. The two components collaborate as follows. The anomaly detection filters out abnormal data and provides informative data for model learning, and also informs the sharing policy that the abnormal vehicles need to extract learned results from other vehicles, so that the vehicle’s learning procedure stuck by anomalies can be continued. The sharing policy checks the available learned results shared from anomaly-free vehicles, selects those beneficial for the abnormal vehicle, and transmits the selected results to the vehicle in need. As for the anomaly-free vehicles, they learn models based on their locally generated data. During this collaboration, the anomaly detection determines when to conduct sharing, while the sharing policy makes sure that the shared content can benefit the receiving vehicles. As a result, in the case of heterogeneous data distribution, vehicles of different populations learn models either from their local data, or via extracting other vehicles’ learned results capable of preserving the learning procedures of the considered vehicle. We present the developed scheme via algorithmic pseudo-code in Figure 3 for more technical Figure 1: Federated-learning on uniformed and heterogeneous data distribution 4 Figure 2: The proposed model structure presentation, where we adopt stochastic gradient descent as the learning engine and the gradient in learning procedure as the learned result. In the following content, we will illustrate in detail how the anomaly detection and sharing policy are constructed and executed in detail. 2.1 Anomaly detection We refer to the term “anomaly” as preventing factors against learning convergence in a dataset. Such anomaly, _e.g.,_ vehicle under erratic driving behaviors, brings data that can render any model to be useless and should be filtered out in model learning. However, there is still an absence of anomaly-free data for learning after the removal of abnormal data. Fortunately, this absence can be filled in network learning via exploiting learned results from anomaly-free vehicles of the same network. The proposed approach carries out anomaly detection upon each vehicle’s local data based on sequential statistical features, and anomalies will be detected and prevented from contributing data to the learning engine. Furthermore, to avoid interruption on learning posed by abnormal data, the vehicles with anomaly will try to adopt learned results from the anomaly-free vehicles, with details shown in Section 2.2. In this section, we describe how the anomaly detection mechanism is constructed. Suppose the local dataset for an individual vehicle at the _n_ -th instant is accumulated as _{_ ( _x_ 1 _, y_ 1) _,_ ( _x_ 2 _, y_ 2) _,_ ... _,_ ( _x_ _i, yi_ ) _,_ ... _,_ ( _x_ _n, yn_ ) _}_, where _x_ _i_ and _yi_ are the input and output data at the _i_ -th instant, respectively, and _x_ _i_ = _{x_ <sup>1</sup> _i_ <sup>_, x_</sup> <sup>2</sup> _i_ <sup>_, ..., xm_</sup> _i_ <sup>_}_</sup> <sup>,</sup> <sup>_m_</sup> <sup>denotes</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>input</sup> <sup>attributes.</sup> <sup>1</sup> _i_ <sup>_, x_</sup> <sup>2</sup> _i_ <sup>2</sup> _i_ <sup>_, ..., xm_</sup> _i_ the _i_ -th instant, respectively, and _x_ _i_ = _{x_ <sup>1</sup> _i_ <sup>_, x_</sup> <sup>2</sup> _i_ <sup>_, ..., xm_</sup> _i_ <sup>_}_</sup> <sup>,</sup> <sup>_m_</sup> <sup>denotes</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>input</sup> <sup>attributes.</sup> When the data at the ( _n_ + 1)-th instant comes as ( _x_ _n_ +1 _, yn_ +1), we want to detect whether the newcomer is an anomaly or not. The detection result will be decided based on the _K_ most recent entries of the dataset, where _K_ is a pre-defined coefficient. Those _K_ entries will be used to generate a predictive region _γ_ where the ( _n_ + 1)-th input data _x_ _n_ +1 is supposed to be located. The predictive region _γ_ is constructed based on the expectation _E_ _K_ and the standard derivation _σ_ _K_ of the _K_ entries as: _γ_ = [ _E_ _K_ _−_ _θ_ _σ_ _K,_ _E_ _K_ + _θ_ _σ_ _K_ ] (1) 5 Initial settings: number of network members: _N_ ; threshold for model update: _δ_ ; anomaly detection settings: _Anomaly_ ( _θ,K_ )( ); sharing policy settings: _shareµ_ ( ); empty set for abnormal data: _abnor{ }_ ; empty set for normal data: _normal{ }_ ; Inputs: input-output data of the _i_ -th member at the _k_ -th iteration: _{_ _x_ <sup>_k_</sup> _i_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k_</sup> input-output data of the _i_ -th member at the _k_ -th iteration: _{_ _x_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k}_</sup> <sup>,</sup> <sup>_i ∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_,_</sup> <sup>3</sup> <sup>_, ..., N_</sup> <sup>_}_</sup> <sup>;</sup> the _i_ -th local gradient at the ( _k −_ 1)-th iteration: _g_ _i_ <sup>_k−_</sup> <sup>1</sup>, _i ∈{_ 1 _,_ 2 _,_ 3 _, ..., N_ _}_ ; the _i_ -th local gradient at the ( _k −_ 1)-th iteration: _g_ _i_ <sup>_k−_</sup> <sup>1</sup>, _i ∈{_ 1 _,_ 2 _,_ 3 _, ..., N_ _}_ ; the _i_ -th local model parameter at the ( _k −_ 1)-th iteration: _ω_ _i_ <sup>_k−_</sup> <sup>1</sup>, _i ∈{_ 1 _,_ 2 _,_ the _i_ -th local model parameter at the ( _k −_ 1)-th iteration: _ω_ _i_ <sup>_k−_</sup> <sup>1</sup>, _i ∈{_ 1 _,_ 2 _,_ 3 _, ..., N_ _}_ ; Calculations for the _k_ -th iteration: for _i ∈{_ 1 _,_ 2 _,_ 3 _, ..., N_ _}_ conduct anomaly detection on the _i_ -th data via _Anomaly_ ( _θ,K_ )( _x_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k_</sup> <sup>)</sup> _Anomaly_ ( _θ,K_ )( _x_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k_</sup> <sup>)</sup> if _{_ _x_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k}_</sup> <sup>is</sup> <sup>an</sup> <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k_</sup> <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k_</sup> if _{_ _x_ <sup>_k_</sup> _i_ <sup>_, y_</sup> _i_ <sup>_k}_</sup> <sup>is</sup> <sup>an</sup> <sup>anomaly:</sup> add the member index _i_ into _abnor{ }_ ; else add the member index _i_ into _normal{ }_ ; calculate _ε_ = _x_ <sup>_k_</sup> _i_ <sup>_·_</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _−_ _yi_ <sup>_k_</sup> <sup>;</sup> <sup>_k_</sup> _i_ <sup>_·_</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _−_ _yi_ <sup>_k_</sup> calculate _ε_ = _x_ <sup>_k_</sup> _i_ <sup>_·_</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _−_ _yi_ <sup>_k_</sup> <sup>;</sup> if _∥ε∥≤_ _δ_ : no need to update; _ω_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> ; _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _ω_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> ; else update the local model via stochastic gradient descent [29]: _<u>i</u>_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> <sup><u>(</u></sup> <sup>_<u>yk</u>_</sup> <sup>_k_</sup> _<u>i</u>_ <sup>_<u>·</u>_</sup> <sup>_<u>ω</u>_</sup> _<u>i</u>_ <sup>_k−_</sup> <sup>1</sup> _<u>i</u>_ <sup>_k−_</sup> <sup>1</sup> <u>)</u> <sup>2</sup> _g_ _i_ <sup>_k_</sup> _<u>i</u>_ <sup>_k−_</sup> <sup>_<u>x</u>_</sup> <sup>_k_</sup> _<u>i</u>_ _<u>i</u>_ <sup>_<u>−</u>_</sup> <sup>_<u>x</u>_</sup> <sup>_k_</sup> _<u>i</u>_ <sup>_<u>·</u>_</sup> <sup>_<u>ω</u>_</sup> _<u>i</u>_ <sup>_k−_</sup> <sup>1</sup> _g_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> <sup><u>(</u></sup> <sup>_<u>yk</u>_</sup> _∂_ _ω_ _· λ_ ; _ω_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> + _g_ _i_ <sup>_k_</sup> <sup>;</sup> _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> _i_ <sup>_k−_</sup> <sup>1</sup> + _g_ _i_ <sup>_k_</sup> _ω_ _i_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_k−_</sup> <sup>1</sup> + _g_ _i_ <sup>_k_</sup> <sup>;</sup> end end end for _j_ _∈_ _abnor{ }_ _∗_ <sup>_k_</sup> <sup>_where ∗∈_</sup> <sup>_normal{ }_</sup> <sup>that</sup> <sup>_shareµ_</sup> <sup>(</sup> <sup>_g_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> find all the gradients _g_ _∗_ <sup>_k_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> _,_ _g_ _∗_ <sup>_k_</sup> find all the gradients _g_ _∗_ <sup>_k_</sup> <sup>_where ∗∈_</sup> <sup>_normal{ }_</sup> <sup>that</sup> <sup>_shareµ_</sup> <sup>(</sup> <sup>_g_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> _,_ _g_ _∗_ <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_µ_</sup> <sup>;</sup> take the average of the found gradients, denoted by _<u>g</u>_ <sup>_~~k~~_</sup> _∗_ <sup>;</sup> take the average of the found gradients, denoted by _<u>g</u>_ <sup>_~~k~~_</sup> _∗_ <sup>;</sup> update the _j_ -th local model as: _g_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_<u>g</u>_</sup> _∗_ <sup>_~~k~~_</sup> <sup>;</sup> _j_ <sup>_k_</sup> <sup>=</sup> <sup>_<u>g</u>_</sup> _∗_ <sup>_~~k~~_</sup> _g_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_<u>g</u>_</sup> _∗_ <sup>_~~k~~_</sup> <sup>;</sup> _ω_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k_</sup> _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> _j_ <sup>_k−_</sup> <sup>1</sup> + _<u>g</u>_ <sup>_~~k~~_</sup> _∗_ _ω_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> + _<u>g</u>_ <sup>_~~k~~_</sup> _∗_ <sup>;</sup> if no such gradient is found: keep the _j_ -th local model parameter unchanged: _ω_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> ; _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> ; _ω_ _j_ <sup>_k_</sup> <sup>=</sup> <sup>_ω_</sup> _j_ <sup>_k−_</sup> <sup>1</sup> ; end end the _k_ -th iteration ends, and move towards the next iteration Figure 3: Pseudo-code for learning procedures of the developed extended federated-learning model 6 where _θ_ is a pre-defined coefficient and _σ_ _K_ = ~~�~~ <u>�</u> - <sup><u>1</u></sup> _K_ _E_ _K_ = <sup><u>1</u></sup> _K_ _n_ _i_ = _n−K_ +1 _x_ _i_ (2) _n_ _i_ = _n−K_ +1 ( _x_ _i −_ _E_ _K_ ) <sup>2</sup> notice that _γ_, _E_ _K_, and _σ_ _K_ are with the same dimension of 1 _× m_ . The lower and upper border of _γ_ can be presented as: _γ_ _l_ = _E_ _K_ _−_ _θ_ _σ_ _K_ _γ_ _u_ = _E_ _K_ + _θ_ _σ_ _K_ (3) and then with the predictive region established, the anomaly detection operates as follows: for any of the element _x_ <sup>_j_</sup> _n_ +1 <sup>_, j_</sup> <sup>_∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ..., m}_</sup> <sup>in</sup> <sup>_x_</sup> <sup>_n_</sup> <sup>+1,</sup> <sup>if</sup> <sup>they</sup> <sup>all</sup> <sup>satisfy</sup> <sup>that:</sup> _l_ <sup>_j_</sup> <sup>_≤_</sup> <sup>_x_</sup> _n_ <sup>_j_</sup> _γl_ <sup>_j_</sup> _n_ <sup>_j_</sup> +1 <sup>_≤_</sup> <sup>_γ_</sup> _u_ <sup>_j_</sup> _u_ <sup>_j_</sup> (4) _l_ <sup>_j_</sup> <sup>and</sup> <sup>_γ_</sup> _u_ <sup>_j_</sup> where _γl_ <sup>_j_</sup> where _γl_ <sup>_j_</sup> <sup>and</sup> <sup>_γ_</sup> _u_ <sup>_j_</sup> <sup>are the</sup> <sup>_j_</sup> <sup>-th element of</sup> <sup>_γ_</sup> _l_ <sup>and</sup> <sup>_γ_</sup> _u_ <sup>, respectively, then the input data at the (</sup> <sup>_n_</sup> <sup>+1)-th</sup> instant _x_ _n_ +1 is regarded as anomaly-free. Otherwise, _x_ _n_ +1 will be treated as anomaly data and filtered out of learning procedures. This anomaly detection mechanism guarantees that abrupt change in the data stream could be captured and filtered to preserve learning convergence. The pre-defined coefficients _K_ and _θ_ could provide adjustable detection sensitivity and tolerance toward abrupt changes, respectively. In the following section, we present the principle in extracting learned results from the other vehicles when one suffers anomalies. 2.2 Sharing policy Suppose _α_ and _β_ are two vehicles in the same network with data entry ( _x_ _n_ <sup>_α_</sup> _, yn_ <sup>_α_</sup> ) and ( _x_ _nβ_ _, ynβ_ ) at the _n_ -th instant, respectively, and the data entry from _α_ is detected as abnormal while that of _β_ is anomaly-free. With this detection result, _α_ ’s current model parameter _ω_ _n_ <sup>_α_</sup> _−_ 1 <sup>cannot</sup> <sup>be</sup> <sup>renewed</sup> <sup>by</sup> ( _x_ _n_ <sup>_α_</sup> _, yn_ <sup>_α_</sup> ), and _β_ can successfully learn from ( _x_ _nβ_ _, ynβ_ ) to obtain its learned result _ι_ _n_ <sup>_β_</sup> <sup>and</sup> <sup>update</sup> its model parameter via method _e.g.,_ stochastic gradient descent as: _<u>n</u>_ <sup>_β_</sup> _n_ <sup>=</sup> <sup>_∂_</sup> <sup>(</sup> <sup>_ynβ_</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>_<u>nβ</u>_</sup> <sup>_·_</sup> <sup>_ω_</sup> <sup>_β_</sup> _· λ_ _ι_ <sup>_β_</sup> _∂_ _ω_ _n_ <sup>_β_</sup> _<u>n</u>_ <sup>_β_</sup> _<u>−</u>_ <u>1</u> <sup>)2</sup> _n−_ 1 (5) _n_ <sup>_β_</sup> <sup>=</sup> <sup>_ω_</sup> _n_ <sup>_β_</sup> _ω_ _n_ <sup>_β_</sup> _n_ <sup>_β_</sup> _−_ 1 <sup>+</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> _n_ 7 where _ω_ _n_ <sup>_β_</sup> _n_ <sup>_β_</sup> _−_ 1 <sup>is</sup> <sup>_β_</sup> <sup>’s</sup> <sup>current</sup> <sup>model</sup> <sup>parameter</sup> <sup>and</sup> <sup>_ω_</sup> _n_ <sup>_β_</sup> where _ω_ _n_ <sup>_β_</sup> _−_ 1 <sup>is</sup> <sup>_β_</sup> <sup>’s</sup> <sup>current</sup> <sup>model</sup> <sup>parameter</sup> <sup>and</sup> <sup>_ω_</sup> _n_ <sup>_β_</sup> <sup>is</sup> <sup>the</sup> <sup>renewed</sup> <sup>one,</sup> <sup>_λ_</sup> <sup>is</sup> <sup>a</sup> <sup>predefined</sup> <sup>learning</sup> step. To preserve the learning procedures of _α_, it is intuitive to try to introduce _β_ ’s learned result _ι_ <sup>_β_</sup> _n_ <sup>to</sup> <sup>_α_</sup> <sup>to</sup> <sup>enable</sup> <sup>the</sup> <sup>continuity</sup> <sup>of</sup> <sup>_α_</sup> <sup>’s</sup> <sup>learning</sup> <sup>procedure,</sup> <sup>since</sup> <sup>_α_</sup> <sup>and</sup> <sup>_β_</sup> <sup>are</sup> <sup>in</sup> <sup>the</sup> <sup>same</sup> <sup>network</sup> and potential of enhancing each other’s learning performance. However, there is the question that whether _ι_ <sup>_β_</sup> _n_ <sup>can</sup> <sup>benefit</sup> <sup>_α_</sup> <sup>’s</sup> <sup>learning</sup> <sup>iterations.</sup> <sup>To</sup> <sup>answer</sup> <sup>this</sup> <sup>question</sup> <sup>and</sup> <sup>share</sup> <sup>learned</sup> <sup>results</sup> with higher confidence, we derive the sharing policy in this section. Our hypothesis for confident and efficient sharing is that the learned result to be shared shows consistency with the receiving vehicle’s learning procedures, and such consistency is measured by _similarity_ in this paper. Take the example of _α_ and _β_, and we define the _similarity_ _ρ_ between _α_ ’s most recent available learned result _ι_ <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_β_</sup> <sup>’s</sup> <sup>current</sup> <sup>learned</sup> <sup>result</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>as:</sup> <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_β_</sup> <sup>’s</sup> <sup>current</sup> <sup>learned</sup> <sup>result</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> _n_ <sup>_β_</sup> <sup>as:</sup> _<u>n</u>_ _|_ _ι_ <sup>_<u>ι</u>_</sup> <sup>_ββ_</sup> _n_ <sup>_β_</sup> _n_ <sup>_|_</sup> _ρ_ = 1 _−_ _ι_ <sup>_α_</sup> _<u>n</u>_ ����� _|_ _ι_ <sup>_α_</sup> _n_ _<u>n−</u>_ <u>1</u> _|_ _ι_ <sup>_α_</sup> _n−_ 1 <sup>_α_</sup> _<u>n−</u>_ <u>1</u> _<u>n</u>_ <sup>_α_</sup> _n−_ 1 <sup>_|_</sup> <sup>_−_</sup> _|_ _ι_ <sup>_<u>ι</u>_</sup> <sup>_ββ_</sup> _n_ (6) ����� where higher _ρ_ indicates more similarity in vector direction between _ι_ <sup>_α_</sup> _n_ where higher _ρ_ indicates more similarity in vector direction between _ι_ <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>.</sup> <sup>Higher</sup> <sup>_ρ_</sup> <sup>between</sup> _ι_ <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>means</sup> <sup>that</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>is</sup> <sup>more</sup> <sup>possibility</sup> <sup>of</sup> <sup>being</sup> <sup>consistent</sup> <sup>with</sup> <sup>_ι_</sup> <sup>_α_</sup> _n−_ 1 <sup>in</sup> <sup>time</sup> <sup>sequence,</sup> <sup>and</sup> that the learned result from _β_ is eligible to preserve _α_ ’s learning procedures. With the defined _similarity_, we expect _e.g.,_ the vehicle under city-street-driving can only learn from vehicles under similar driving patterns rather than to learn from highway-driving vehicles. We introduce a pre-defined coefficient _µ_ as a threshold for _ρ_ . When the vehicle _α_ is detected to be with anomaly at the _n_ -th instant, the _similarity_ _ρ_ between _α_ ’s most recent available learned result _ι_ <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>all</sup> <sup>possible</sup> <sup>learned</sup> <sup>results</sup> <sup>from</sup> <sup>anomaly-free</sup> <sup>vehicles</sup> <sup>in</sup> <sup>the</sup> <sup>same</sup> <sup>network</sup> <sup>will</sup> <sup>be</sup> calculated. All the eligible learned results satisfying _ρ ≥_ _µ_ will be averaged as _ι_ <sup>_∗_</sup> _n_ <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>learning</sup> iteration for _α_ at the _n_ -th instant will be preserved and continued as: _n_ <sup>_β_</sup> <sup>means</sup> <sup>that</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> <sup>_α_</sup> _n−_ 1 <sup>and</sup> <sup>_ι_</sup> _n_ <sup>_β_</sup> _n_ <sup>_β_</sup> <sup>is</sup> <sup>more</sup> <sup>possibility</sup> <sup>of</sup> <sup>being</sup> <sup>consistent</sup> <sup>with</sup> <sup>_ι_</sup> <sup>_α_</sup> _n_ _ω_ _n_ <sup>_α_</sup> _n_ <sup>_α_</sup> <sup>=</sup> <sup>_ω_</sup> _n_ <sup>_α_</sup> _n_ <sup>_α_</sup> _−_ 1 <sup>+</sup> <sup>_ι_</sup> _n_ <sup>_∗_</sup> _n_ <sup>_∗_</sup> (7) Figure 4: Modeling for i.i.d data distribution It should be noticed that, though we propose to address the challenge of heterogeneous data distribution, our sharing policy is also applicable to i.i.d datasets, where one single estimation model can cover all the vehicles. When applying the sharing policy on i.i.d data shown in Figure 4, all the vehicles, including those suffering anomalies, will learn on data that contribute to the same model, and eventually every vehicle will be assigned with the same model. 8 ### 3 Implementation and experimental results In this section, six FL approaches, including the proposed one, are implemented under the circumstance of heterogeneous data distribution, and performance comparisons show our approach gains significant advantages in model estimation accuracy, without transmitting raw data that induces direct privacy vulnerability nor increasing the time complexity in algorithm execution. The implementation details are shown in the following. 3.1 Evaluation environment and experiment settings 3.1.1 Data and methods used in experiments The implementation is conducted in MATLAB R2018b based on the Windows 10 operating system, using the open-source database of _Battery_ _and_ _heating_ _data_ _in_ _real_ _driving_ _cycles_ [30] for performance verification. 26 vehicle trip datasets are employed, where 4000 consecutive records are used as the training dataset, and the following 2000 records are used as the testing dataset for each trip. Details of data features are shown in Table 1. 120 90 60 30 120 90 60 30 0 0 1000 2000 3000 4000 <u>City-street driving</u> ~~Vehicle 2~~ <u>Vehicle 6</u> <u>Vehicle 12</u> <u>Highway driving</u> Vehicle 8 <u>Vehicle 9</u> <u>Vehicle 11</u> 0 1000 2000 3000 4000 0 Figure 5: Examples of vehicles under different driving patterns The 26 vehicle trips employed are under two different driving patterns: city street driving and highway driving, distinguished by their speed profile, as shown in Figure 5. We intentionally include such distinctive driving patterns to increase heterogeneity of data distribution, and adopt a considerable number of input features to gain heterogeneity further. <u>Table</u> <u>1:</u> <u>Input</u> <u>and</u> <u>output</u> <u>features</u> <u>description</u> <u>data</u> <u>features</u> input constant; trip length (m); velocity (km/h); elevation (m); throttle (%); motor torque (Nm); longitudinal acceleration (m/s <sup>2</sup> ); regenerative braking signal (0 or 1); battery voltage (V); battery current (A); battery temperature ( <sup>_◦_</sup> C); max battery temperature ( <sup>_◦_</sup> C); min SoC (%); max SoC (%); heating power CAN (kW); heating power LIN (W); requested heating power (W); air condition power (kW); heater signal <u>(0</u> <u>or</u> <u>1);</u> <u>heater</u> <u>voltage</u> <u>(V);</u> <u>heater</u> <u>current</u> <u>(A)</u> ambient temperature; ambient sensor; coolant heater temperature core; requested coolant; coolant inlet; heat exchanger; ( <sup>_◦_</sup> C) <u>cabin</u> <u>sensor</u> <u>output</u> <u>remaining</u> <u>EV</u> <u>battery</u> <u>volume</u> <u>(%)</u> temperature ( <sup>_◦_</sup> C) 9 We implement six approaches in the experiments, including the proposed extended federatedlearning (E-FL), unconditional sharing federated-learning method (U-FL), federated-learning with assumption on membership relationship [22] (AS-FL), Federated-learning with restricted learned results [27] (R-FL), and also with federated-learning only equipped with the developed anomaly detection (AD-FL) and federated-learning equipped only with the devised sharing policy (S-FL). The last two methods are implemented to show how the developed sharing policy and anomaly detection perform separately. 3.1.2 Model structure All the six of implemented approaches follow an adaptive Auto-Regressive eXogenous (ARX) model [31] shown in equation 8, where the adaptive features [32] are leveraged to improve the prediction accuracy. The ARX model’s order used in experiments is selected from 1 to 30. The selection is conducted via evaluating model performance under different orders as shown in Figure 6, which is measured by the _fit_ index [33] as: _fit_ ( _._ ) = (1 _−_ <sup>_<u>||y</u>_</sup> <sup><u>ˆ</u></sup> <sup>_<u>−y||</u>_</sup> _||y−y_ _~~|~~_ _|_ <sup>)</sup> <sup>_·_</sup> <sup>100%,</sup> <sup>where</sup> <sup>_y_</sup> <sup>,</sup> <sup>_<u>y</u>_</sup> <sup><u>,</u></sup> <sup>and</sup> <sup>_y_</sup> <sup>ˆ</sup> <sup>are</sup> the system out, its mean value, and the output estimated by the model, respectively. This order selection is achieved based on an extra training dataset with 5000 records. _A_ ( _q_ ) _y_ ( _t_ ) = _B_ ( _q_ ) x ( _t_ ) + _e_ ( _t_ ) x ( _t_ ) = ( _x_ 1( _t_ ) _, x_ 2( _t_ ) _, ..., xn_ ( _t_ )) <sup>_T_</sup> (8) _A_ ( _q_ ) = 1 + _na_ _k_ =1 _akq_ <sup>_−k_</sup> _B_ ( _q_ ) = ( _B_ ( _q_ )1 _, B_ ( _q_ )2 _, ..., B_ ( _q_ ) _n_ ) _B_ ( _q_ ) _i_ = 1 + _nb_ _k_ =1 _b_ <sup>_i_</sup> _k_ <sup>_q−k, i ∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ..., n}_</sup> where _y_ ( _t_ ) and x ( _t_ ) represent the system output and input respectively at the _k_ -th instant, _na_ denotes the order of system output, _nb_ is the order of system input, _n_ is the number of input attributes, _e_ is the white noise and _q_ <sup>_−_</sup> <sup>1</sup> is the delay operator. Figure 6: Model performance with different orders 10 Figure 7: Prediction performance and convergence of sqrt MSE on prediction for all considered approaches High model order brings improved model as shown in Figure 6, yet the highest-order model in the considered range merely brings a 1.73% increased _fit_ compared with the lowest-order model. Higher model order does not lead to significant improvement since there is already a considerable number of input attributes in the dataset. To reduce the computation burden, we use a 1-order model in the following experiments. 3.1.3 Evaluation criterion With the model structure established, experiments can be conducted on the training dataset to find the optimal model parameters for each considered method, and then the obtained parameters are leveraged on the testing dataset to estimate energy consumption. In the comparison of different methods, we employ the same criterion of sqrt mean squared error (MSE) to evaluate the estimation accuracy of the learned models. The convergence performance of each approach is also displayed in the training phase measured by the learning iterations needed to converge. 3.2 Experimental results: prediction and convergence on the training dataset This section presents the prediction and convergence performance of different methods on the training dataset. Figure 7-(a) shows how it works when the sharing of learned results is under no constraints and one single model is generated to cover all vehicles. In this figure, each curve represents one vehicle’s performance, and the upper and lower part show the prediction errors and sqrt MSE on prediction at each iteration, respectively. Figure 7-(a) show that none of the vehicles obtain desirable prediction performance, with each of their prediction error curves fluctuating significantly over the training procedures. Such results indicate that the single model generated fails in the presence of data distribution heterogeneity. The prediction performance under R-FL is shown in Figure 7-(b), where smaller prediction errors can be observed compared with U-FL shown in Figure 7-(a). The sqrt MSE on prediction converges faster compared with U-FL. Nevertheless, such results are far from satisfying since none of the vehicles’ prediction error curves could stably stay around zero. Compared with U-FL, the influence of data heterogeneity on modeling is weakened rather than efficiently reduced. AS-FL provides much better predictions than U-FL and R-FL, as observed in Figure 7-(c). For each of the 26 vehicles, prediction errors are concentrated around zeros with fewer deviations 11 than U-FL and R-FL, and the sqrt MSE on prediction converges better than U-FL or R-FL. Those results imply that data heterogeneity is solved better, and a more efficient estimation model is generated for all the vehicles. However, this model efficiency pays the price of privacy: raw vehicle data is transmitted to the learning engine directly in this approach, inducing vulnerability of privacy-sensitive information disclosing, _e.g.,_ driver location and address. Figure 8: Anomaly detection and sharing results in extended FL Evaluation results of the developed E-FL are shown in Figure 7-(d), where the prediction error curves concentrate around 0, with fluctuations of limited magnitude (about 20). Note that this prediction performance is obtained without the transmit of raw data compared with AS-FL. Those results infer that heterogeneous data distribution is handled with higher efficiency compared with U-FL and R-FL. For the 4000 _×_ 26 entries in the training dataset, 49 of them are detected as anomalies and filtered out in learning procedures. Amongst the anomaly events detected, 45 of them continue their learning procedures via extracting learned results shared from other vehicles. The anomaly detection protects the learning procedures from obstacles in convergence, while the sharing policy offers a chance for vehicles under anomaly to continue their learning procedures. The anomaly detection and sharing results in E-FL are shown in Figure 8 (with _ρ_ = 0 _._ 2, _K_ = 10, _θ_ = 3), where different vehicles are assigned with different colored curves, and the vertical axis represents vehicles involved in sharing when an individual vehicle is detected to be with anomaly. 0 on the vertical axis means anomaly-free and model renew only with one’s local data, and -1 denotes that no renew is needed since the prediction error is below a predefined threshold. <u>Table</u> <u>2:</u> <u>Summarized</u> <u>performance</u> <u>results</u> <u>of</u> <u>six</u> <u>considered</u> <u>methods</u> <u>on</u> <u>training</u> <u>datasets</u> method criteria <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u> <u>6</u> <u>7</u> <u>8</u> <u>9</u> <u>10</u> <u>11</u> <u>12</u> trip13 number14 <u>15</u> <u>16</u> <u>17</u> <u>18</u> <u>19</u> <u>20</u> <u>21</u> <u>22</u> <u>23</u> <u>24</u> <u>25</u> <u>26</u> averagedresult E-FL sqrt _MSE_ 6.36 4.55 4.57 4.70 4.28 3.53 3.71 2.84 6.34 8.20 3.97 3.14 2.78 2.17 3.36 4.41 4.55 5.81 4.04 2.50 1.82 3.44 5.13 7.16 2.05 4.02 4.21 _IC_ 150 150 50 150 400 220 150 200 70 200 100 100 60 80 50 100 450 300 100 180 140 450 200 250 30 100 170.38 U-FL sqrt _MSE_ 19.18 12.79 3.72 22.66 8.25 3.38 2.80 6.39 8.01 6.15 12.12 10.99 3.81 15.56 5.67 9.07 6.67 11.54 6.46 18.07 32.01 4.39 12.83 7.74 7.40 6.28 10.15 _IC_ 500 100 200 550 350 300 500 250 400 750 50 400 50 40 160 400 600 700 650 150 650 600 1000 900 600 900 451.92 AS-FL sqrt _MSE_ 3.01 4.45 3.00 7.50 3.13 2.83 2.14 2.90 4.41 2.14 5.78 3.43 2.80 4.53 3.12 3.61 2.40 2.61 2.68 7.45 8.47 2.56 3.11 2.33 2.75 1.48 3.64 _IC_ 5 10 10 20 4 20 60 5 25 50 5 120 80 100 3 5 10 5 10 200 20 5 100 10 10 10 34.69 R-FL sqrt _MSE_ 16.13 10.62 4.85 24.84 6.88 4.15 2.50 6.93 4.78 4.22 11.66 12.73 4.55 16.56 6.08 9.21 4.71 9.59 7.83 18.55 33.35 4.24 10.63 5.10 10.39 7.34 9.94 _IC_ 400 250 250 400 350 400 350 400 450 400 600 500 500 400 500 400 400 300 350 500 450 200 400 500 600 450 411.53 AD-FL sqrt _MSE_ 16.12 10.61 4.86 24.85 6.86 4.17 2.51 6.94 4.76 4.22 11.65 12.71 4.56 16.57 6.07 9.19 4.70 9.57 7.84 18.57 33.36 4.27 10.62 5.10 10.35 7.36 9.94 _IC_ 400 250 250 300 350 300 350 400 450 400 20 500 350 350 500 100 400 300 400 300 400 200 450 600 600 450 360.38 S-FL sqrt _MSE_ 11.41 8.82 7.80 8.39 8.26 6.38 6.98 4.79 10.36 13.10 7.31 6.37 5.14 4.06 6.51 7.96 9.26 10.84 6.99 4.75 3.00 4.93 9.97 11.64 4.10 7.75 7.57 _<u>IC</u>_ <u>400</u> <u>350</u> <u>400</u> <u>700</u> <u>350</u> <u>250</u> <u>200</u> <u>250</u> <u>1200</u> <u>750</u> <u>150</u> <u>150</u> <u>150</u> <u>150</u> <u>200</u> <u>500</u> <u>400</u> <u>300</u> <u>200</u> <u>200</u> <u>750</u> <u>500</u> <u>700</u> <u>700</u> <u>200</u> <u>600</u> <u>411.53</u> Prediction performance under AD-FL is shown in Figure 7-(e). Though AD-FL’s learning procedures are protected against anomalies, the prediction errors can not concentrate around zero, 12 and the sqrt MSE of prediction for several vehicles does not converge well. For most of the vehicle prediction error curves, significant fluctuations exist during all the training iterations. Such results suffer from the same problem as in U-FL and R-FL, where the use of one single model can not cover all the considered vehicles, especially when heterogeneity exists amongst different vehicles. Table 3: Time <u>complexity</u> <u>and</u> <u>raw</u> <u>data</u> <u>transmitting</u> <u>for</u> <u>different</u> approaches approach time complexity to the amount of <u>network</u> <u>participants</u> sharing raw data or not <u>unconditional</u> <u>sharing</u> <u>FL</u> <u>O(n</u> <sup><u>2</u></sup> <u>)</u> <u>FL</u> <u>with</u> <u>restricted</u> <u>learned</u> <u>result</u> <u>O(n</u> <sup><u>2</u></sup> <u>)</u> <u>FL</u> <u>with</u> <u>assumed</u> <u>relationship</u> <u>O(n)</u> <u>extended</u> <u>FL</u> <u>O(n)</u> <u>to</u> <u>O(n</u> <sup><u>2</u></sup> <u>)</u> <u>FL</u> <u>with</u> <u>anomaly</u> <u>detection</u> <u>only</u> <u>O(n</u> <sup><u>2</u></sup> <u>)</u> <u>FL</u> <u>with</u> <u>sharing</u> <u>policy</u> <u>only</u> <u>O(n)</u> <u>to</u> <u>O(n</u> <sup><u>2</u></sup> <u>)</u> Figure 7-(f) shows prediction results under S-FL, where the prediction errors are more concentrated around zero than those in Figure 7-(e), indicating a more efficient sharing of results amongst vehicles that enhance their learning procedures. However, compared with E-FL, this execution bears more fluctuations in prediction iterations, implying that anomalies are free from constraints and bring disturbances in learning procedures. <u>Table</u> <u>4:</u> <u>Experimental</u> <u>results</u> <u>on</u> <u>testing</u> <u>datasets</u> <u>measured</u> <u>by</u> <u>sqrt</u> <u>MSE</u> trip number averaged method <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u> <u>6</u> <u>7</u> <u>8</u> <u>9</u> <u>10</u> <u>11</u> <u>12</u> <u>13</u> <u>14</u> <u>15</u> <u>16</u> <u>17</u> <u>18</u> <u>19</u> <u>20</u> <u>21</u> <u>22</u> <u>23</u> <u>24</u> <u>25</u> <u>26</u> result E-FL 9.35 7.55 4.48 7.34 5.06 3.83 5.46 3.90 4.94 10.75 5.64 4.61 3.63 3.27 5.27 5.50 6.12 5.96 6.23 2.11 2.58 3.52 6.41 5.79 2.88 5.13 5.28 U-FL 20.97 14.58 3.58 22.58 8.28 10.38 2.76 2.78 11.22 11.25 15.76 12.69 2.61 14.35 6.69 13.08 7.23 10.98 8.60 25.00 30.60 6.08 10.81 4.98 8.72 6.57 11.28 AS-FL 4.63 4.58 4.35 8.24 2.61 3.30 2.65 2.74 5.11 3.25 4.80 4.87 2.69 3.94 4.55 2.91 2.44 3.04 3.12 8.19 11.04 2.66 3.29 2.50 3.21 1.73 4.09 R-FL 18.61 12.51 4.97 24.97 6.32 12.03 2.66 3.53 8.90 9.23 14.14 13.58 4.44 15.43 5.40 10.00 5.18 8.08 9.57 27.14 32.27 9.24 8.21 3.20 11.65 7.45 11.10 AD-FL 19.64 13.05 5.42 24.37 6.50 14.23 2.92 3.60 8.91 10.98 14.03 13.30 4.67 15.52 5.42 10.72 5.82 8.70 9.48 29.33 32.14 9.89 8.60 3.50 12.26 7.35 11.55 S-FL 14.09 11.29 7.15 10.46 7.25 5.57 8.18 4.38 7.74 15.72 8.48 7.18 3.72 5.43 8.03 8.36 9.61 7.56 9.40 2.80 4.08 5.37 9.19 8.93 3.63 8.03 7.75 Table 2 presents the numerical comparison of results from different approaches, including the results of sqrt MSE on prediction for the whole training iterations and iterations needed to converge (denoted by _IC_ ). The time complexity for the execution of each approach is listed in Table 3. It can be summarized from Table 2 that AS-FL provides the least prediction error with the least iterations to reach convergence. Nevertheless, the sharing of raw data in AS-FL exposes privacy vulnerability and makes it not the optimal choice for customers. In contrast, our approach could offer significant promotion in prediction and convergence performance compared with U-FL, R-FL, AD-FL, and SFL, without transmitting raw data or increasing time complexity. When we average the 26-vehicle experiment’s sqrt MSE and convergence iteration in Table 2, our approach shows 58.5%, 57.6%, 57.6%, 44.3% reduced sqrt MSE, and 62.3%, 58.6%, 52.7%, 58.6% reduced convergence iterations compared with U-FL, R-FL, AD-FL, S-FL, respectively. 3.3 Experimental results: estimation performance on the testing dataset Given each method’s trained model parameters, all the considered methods are tested using the testing dataset for energy consumption estimation. It should be noted that long-term energy estimation requires prospective information [34], _e.g.,_ vehicle speed profiles in the future. In this experiment, we treat data attributes _e.g.,_ vehicle speed, acceleration signal as profiles that the driver will following during the upcoming trip, and provides energy consumption estimation based 13 on those profiles. The testing results are shown in Table 4 using the evaluation criterion of sqrt MSE on prediction error. The averaged results show that, our approach reduces prediction error by 53.19%, 52.43%, 54.29%, and 31.87% compared with U-FL, R-FL, AD-FL, and S-FL, respectively. Though AS-FL shows more prediction error reduced, this reduction is not significant and is gained at the price of privacy, where raw vehicle data is directly transmitted and the vulnerability of privacy-sensitive information leakage is induced. ### 4 Conclusions This paper proposes a federated-learning-based approach contributing to energy-efficient route planning for EV networks. Our approach leverages shared information from vehicles to enhance network learning while avoids transmitting raw data during learning procedures. More importantly, the new scheme extends the federated-learning structure to gain learning robustness against data distribution heterogeneity in EV networks. Experimental results verify the new approach’s efficiency, which shows high energy estimation accuracy is obtained confronted with heterogeneous vehicle-data distributions. Beyond the scenario of EV networks, the proposed approach also provides a possible solution for various network learning applications where each participant with individual features collaborates to extract knowledge from data. ### Acknowledgement This work was supported by the project ‘Privacy-Protected Machine Learning for Transport Systems’ of Area of Advance Transport and Chalmers AI Research Centre (CHAIR). The computations were enabled by resources provided by the Swedish National Infrastructure for Computing (SNIC) at C3SE partially funded by the Swedish Research Council through grant agreement no. 2018-05973. I also thank Elad Schiller for important discussions and helping to improve the presentation. ### References [1] E. A. Prasetio, P. Fajarindra Belgiawan, L. T. Anggarini, D. Novizayanti, and S. Nurfatiasari, “Acceptance of electric vehicle in indonesia: Case study in bandung,” in _6th_ _International_ _Conference_ _on_ _Electric_ _Vehicular_ _Technology_, Bali, Indonesia, 2019, pp. 63–71. [2] J. M. M¨uller, “Comparing technology acceptance for autonomous vehicles, battery electric vehicles, and car sharing—a study across europe, china, and north america,” _Sustainability_, vol. 11, no. 16, pp. 1–17, 2019. [3] A. T. Thorgeirsson, S. Scheubner, S. F¨unfgeld, and F. Gauterin, “An investigation into key in fluence factors for the everyday usability of electric vehicles,” _IEEE_ _Open_ _Journal_ _of_ _Vehicular_ _Technology_, vol. 1, pp. 348–361, 2020. [4] G. Tamai, “What are the hurdles to full vehicle electrification?” _IEEE_ _Electrification_ _Maga-_ _zine_, vol. 7, no. 1, pp. 5–11, 2019. 14 [5] J. Wang, A. Elbery, and H. A. Rakha, “A real-time vehicle-specific eco-routing model for on board navigation applications capturing transient vehicle behavior,” _Transportation_ _Research_ _Part_ _C:_ _Emerging_ _Technologies_, vol. 104, pp. 1–21, 2019. [6] K. Kraschl-Hirschmann and M. Fellendorf, “Estimating energy consumption for routing algo rithms,” in _IEEE Intelligent Vehicles Symposium_, Alcala de Henares, Spain, 2012, pp. 258–263. [7] G. A. W. D. Baum Moritz, Dibbelt Julian, “Towards route planning algorithms for electric vehicles with realistic constraints,” _Computer_ _Science_ _-_ _Research_ _and_ _Development_, vol. 31, pp. 105–109, 2016. [8] S. Grubwinkler, M. Hirschvogel, and M. Lienkamp, “Driver- and situation-specific impact fac tors for the energy prediction of evs based on crowd-sourced speed profiles,” in _IEEE Intelligent_ _Vehicles_ _Symposium_ _Proceedings_, Dearborn, MI, USA, 2014, pp. 1069–1076. [9] M. Neaimeh, G. A. Hill, Y. H¨ubner, and P. T. Blythe, “Routing systems to extend the driving range of electric vehicles,” _IET_ _Intelligent_ _Transport_ _Systems_, vol. 7, no. 3, pp. 327–336, 2013. [10] A. Liebscher, M. Krumnow, J. Krimmling, F. Hanisch, and B. Baker, “Energy-efficient routing strategies based on real-time data of a local traffic management center,” in _International_ _Con-_ _ference_ _on_ _Models_ _and_ _Technologies_ _for_ _Intelligent_ _Transportation_ _Systems_, Budapest, Hungary, 2015, pp. 74–80. [11] A. E. T. M. Masikos Michail, Demestichas Konstantinos, “Mesoscopic forecasting of vehicular consumption using neural networks,” _Soft_ _Computing_, vol. 19, pp. 145–156, 2013. [12] M. V. D. F. Ferreira Joao C and J. L. Afonso, “Data mining approach for range prediction of electric vehicle,” in _Conference_ _on_ _Future_ _Automotive_ _Technology-Focus_ _Electromobility_, Munich, Germany, 2012, pp. 1–15. [13] A. M. Bozorgi, M. Farasat, and A. Mahmoud, “A time and energy efficient routing algo rithm for electric vehicles based on historical driving data,” _IEEE_ _Transactions_ _on_ _Intelligent_ _Vehicles_, vol. 2, no. 4, pp. 308–320, 2017. [14] R. Yaqub and Y. Cao, “Smartphone-based accurate range and energy efficient route selection for electric vehicle,” in _IEEE_ _International_ _Electric_ _Vehicle_ _Conference_, Greenville, SC, USA, 2012, pp. 1–5. [15] C. Schuss, T. Fabritius, B. Eichberger, and T. Rahkonen, “Energy-efficient routing of electric vehicles with integrated photovoltaic installations,” in _IEEE_ _International_ _Instrumentation_ _and_ _Measurement_ _Technology_ _Conference_, Dubrovnik, Croatia, 2020, pp. 1–6. [16] Z. Yi and P. H. Bauer, “Adaptive multiresolution energy consumption prediction for electric vehicles,” _IEEE Transactions on Vehicular Technology_, vol. 66, no. 11, pp. 10 515–10 525, 2017. [17] C. De Cauwer, W. Verbeke, J. Van Mierlo, and T. Coosemans, “A model for range estimation and energy-efficient routing of electric vehicles in real-world conditions,” _IEEE_ _Transactions_ _on_ _Intelligent_ _Transportation_ _Systems_, vol. 21, no. 7, pp. 2787–2800, 2020. [18] Y. Zhao, M. Li, L. Lai, N. Suda, D. Civin, and V. Chandra, “Federated learning with non-iid data,” _CoRR_, vol. abs/1806.00582, 2018. 15 [19] S. A. Rahman, H. Tout, H. Ould-Slimane, A. Mourad, C. Talhi, and M. Guizani, “A survey on federated learning: The journey from centralized to distributed on-site learning and beyond,” _IEEE_ _Internet_ _of_ _Things_ _Journal_, vol. 0, no. 0, pp. 1–23, 2020. [20] Q. Li, Z. Wen, and B. He, “Federated learning systems: Vision, hype and reality for data privacy and protection,” _CoRR_, vol. abs/1907.09693, 2019. [21] E. Jeong, S. Oh, H. Kim, J. Park, M. Bennis, and S.-L. Kim, “Communication-efficient on device machine learning: Federated distillation and augmentation under non-iid private data,” _CoRR_, vol. abs/1811.11479, 2018. [22] V. Smith, C.-K. Chiang, M. Sanjabi, and A. S. Talwalkar, “Federated multi-task learning,” in _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_, I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, Eds., vol. 30, 2017, pp. 4424–4434. [23] H. Wu, C. Chen, and L. Wang, “A theoretical perspective on differentially private federated multi-task learning,” _CoRR_, vol. abs/2011.07179, 2020. [24] H. Eichner, T. Koren, B. McMahan, N. Srebro, and K. Talwar, “Semi-cyclic stochastic gradient descent,” in _Proceedings of the 36th International Conference on Machine Learning, 9-15 June,_ _Long_ _Beach,_ _California,_ _USA_, vol. 97, 2019, pp. 1764–1773. [25] F. Sattler, K. R. M¨uller, and W. Samek, “Clustered federated learning: Model-agnostic dis tributed multitask optimization under privacy constraints,” _IEEE_ _Transactions_ _on_ _Neural_ _Networks_ _and_ _Learning_ _Systems_, vol. early access, pp. 1–13, 2020. [26] A. Ghosh, J. Hong, D. Yin, and K. Ramchandran, “Robust federated learning in a heteroge neous environment,” _CoRR_, vol. abs/1906.06629, 2019. [27] A. K. Sahu, T. Li, M. Sanjabi, M. Zaheer, A. Talwalkar, and V. Smith, “On the convergence of federated optimization in heterogeneous networks,” _arXiv_ _preprint_ _arXiv:1812.06127_, vol. 3, 2018. [28] L. Li, W. Xu, T. Chen, G. B. Giannakis, and Q. Ling, “Rsa: Byzantine-robust stochastic aggregation methods for distributed learning from heterogeneous datasets,” in _Proceedings_ _of_ _the_ _AAAI_ _Conference_ _on_ _Artificial_ _Intelligence_, vol. 33, no. 01, Jul. 2019, pp. 1544–1551. [29] L. Bottou, “Large-scale machine learning with stochastic gradient descent,” in _Proceedings_ _of_ _COMPSTAT’2010_ . Paris, France: Springer, August 2010, pp. 177–186. [30] M. S. J. B. D. Trifonov, “Battery and heating data in real driving cycles,” 2020. [Online]. Available: [https://dx.doi.org/10.21227/6jr9-5235](https://dx.doi.org/10.21227/6jr9-5235) [31] F. A. Ruslan, K. Haron, A. M. Samad, and R. Adnan, “Multiple input single output (miso) arx and armax model of flood prediction system: Case study pahang,” in _IEEE_ _13th_ _International_ _Colloquium on Signal Processing its Applications_, Batu Ferringhi, Malaysia, 2017, pp. 179–184. [32] W. He, J. T. Kwok, J. Zhu, and Y. Liu, “A note on the unification of adaptive online learning,” _IEEE_ _Trans._ _Neural_ _Networks_ _Learn._ _Syst._, vol. 28, no. 5, pp. 1178–1191, 2017. 16 [33] R. J. C. de Godoy and C. Garcia, “Optimal order selection for high order ARX models,” _Digit._ _Signal_ _Process._, vol. 108, p. 102897, 2021. [34] L. Thibault, G. De Nunzio, and A. Sciarretta, “A unified approach for electric vehicles range maximization via eco-routing, eco-driving, and energy consumption prediction,” _IEEE_ _Trans-_ _actions_ _on_ _Intelligent_ _Vehicles_, vol. 3, no. 4, pp. 463–475, 2018. 17

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.