=Paper=
{{Paper
|id=Vol-2698/paper03
|storemode=property
|title=Fuzzy System Model For Insurance Industry
|pdfUrl=https://ceur-ws.org/Vol-2698/p03.pdf
|volume=Vol-2698
|authors=Karolina Tatarczyk
|dblpUrl=https://dblp.org/rec/conf/ivus/Tatarczyk20
}}
==Fuzzy System Model For Insurance Industry==
Fuzzy System Model For Insurance Industry
Karolina Tatarczyka
a Faculty of Applied Mathematics, Silesian University of Technology), Kaszubska 23, 44-100 Gliwice, Poland
Abstract
The insurance industry has to perform an accident risk assessment when insurance is purchased by drivers. Unfortunately,
but this type of assessment can be quite often problematic because it depends on many parameters. The most common criteria
are the age of the driver, the engine power of the car and its year of manufacture. This paper presents the Takagi-Sugeno
system model to assess risk for driver insurance companies. The proposed model presents a fuzzy approach to using these
three parameters. The results were presented and discussed due to the pros and cons of the proposed solution and practical
use.
Keywords
Takagi-Sugeno system, fuzzy logic, insurance problem
1. Introduction that can be useful for a doctor for analyzing some pa-
tientโ data [12, 13, 14, 15].
Fuzzy logic belongs to one of the most popular ar- A deep learning also finds possible use in security,
tificial intelligence techniques next to artificial neu- which is described in a blockchain approach for ana-
ral networks. Recent years have allowed for great de- lyzing weights in neural systems [16].
velopment, not only theoretical but also practical, as In this paper, we propose a system model for risk
evidenced by numerous studies and implementations. analysis in companies insuring drivers using three pa-
This is particularly evident in the area of research on rameters. The described solution is based on a fuzzy
uncertain rule-based fuzzy models and hesitant fuzzy system using If-Then rules and was tested for sample
data [1, 2]. Also, many generalizations of this type of data and discussed compared to the pros and cons of
logic is analyzed for a much broader practical appli- this solution in practice.
cation. A special case is the analysis of generalized
orthopair fuzzy sets in [3]. Again the authors of [4]
compare different types of fuzzy logic systems used for 2. Problem analysis
control problems. All of these theoretical and compar-
ative studies are very important but practical use has Fuzzy systems find practical use in many areas of life.
a big impact on todayโs industry. By using fuzzy systems we can define the membership
The main application of the fuzzy approach and the to the selected set. In comparison to the classic system,
artificial intelligence, in general, is making decisions where the only values are 0 and 1, the fuzzy system
about the information which is given to the system [5, value of the argument can be a number between 0 and
6]. In [7], the authors presented a detection and classi- 1. Moreover, one argument can belong to many sets at
fication solution based on neural networks and fuzzy various levels. Fuzzy set ๐ด is a set of elements, which
controllers that decide about the clustering of images. partly belongs to it.
An interesting solution was described in [8], where the
idea of smartphone-based intelligent indoor position- ๐ด = {(๐ , ๐๐ด (๐ฅ)) โถ ๐ฅ โ ๐ }, (1)
ing was described in detail. Fuzzy time series fore- where
casting is a less popular use of these solutions [9] or ๐๐ด โถ ๐ โ [0, 1]. (2)
public support for insurgency and terrorism [10]. An-
other possible application is a multiword search over and ๐ is a space with complete number of elements,
encrypted data [11] and medicine. In medicine, the ar- ๐ = {๐ฅ1 , ๐ฅ2 , โฆ , ๐ฅ๐ }
tificial intelligence use it is a very important solution ๐
๐ (๐ฅ1 ) ๐ (๐ฅ๐ ) ๐ (๐ฅ๐ )
๐ด= ๐ด +โฏ+ ๐ด =โ ๐ด . (3)
๐ฅ1 ๐ฅ๐ ๐=1 ๐ฅ๐
IVUS 2020: Information Society and University Studies, 23 April 2020,
KTU Santaka Valley, Kaunas, Lithuania Linguistic variables are also used in fuzzy systems.
" karotat400@student.polsl.pl (K. Tatarczyk)
Linguistic variables are the statements of natural lan-
ยฉ 2020 Copyright for this paper by its authors. Use permitted under Creative guage, which are descriptions of fuzzy sets defined on
Commons License Attribution 4.0 International (CC BY 4.0).
CEUR
Workshop
Proceedings
http://ceur-ws.org
ISSN 1613-0073 CEUR Workshop Proceedings (CEUR-WS.org) a specific space. Fuzzy systems may be used in many
Figure 1: Flow chart of the fuzzy logic system.
fields. In this paper, we focus on using fuzzy systems
in the car insurance industry, especially in the case of
calculating the risk.
2.1. Fuzzy system
As an example in car insurance, the linguistic variables
that are used are describing the age of a driver, the
power of the engine and the carโs production date. For
each of them, there are three different labels describing
the state. For the age: "young", "middle", "old". For
the engineโs power: "low", "medium", "high". For the Figure 2: Chart of a membership function.
carโs production date: "old", "middle", "new". Charts
3 are presenting membership functions for the age of
the driver, power of engine and carโs production date To count the membership each setโs parameters ๐, ๐,
respectively. ๐, ๐ (๐ โค ๐ โค ๐ โค ๐) has to be replaced by individual
The overall membership function is presented as fol- numbers typical to each of the specific membership
lows functions. For example to count the membership of
argument ๐ฅ (relevant to the age) to fuzzy set "middle",
โง
โช 0 if ๐ฅ < ๐ the parameters ๐, ๐, ๐ have to be replaced by 20, 40, 60
โช
โช
โช (๐ฅ โ ๐)/(๐ โ ๐) if ๐ฅ โ [๐, ๐] respectively. The next step to cost out the risk is build-
โช
โช ing IF-THEN rules.
๐๐๐๐ค/โ๐๐โ = โจ1 if ๐ฅ โ [๐, ๐] . (4)
โช
โช
โช
โช (๐ โ ๐ฅ)/(๐ โ ๐) if ๐ฅ โ [๐, ๐] If ๐ฅ1 ๐๐ ๐ด1 and ๐ฅ2 ๐๐ ๐ด2 and โฆ then ๐ฆ
โช
โฉ0 if ๐ฅ > ๐
โช
where ๐ฆ is a variable of the consequence whose value
โง is inferred.
โช 0 if ๐ฅ < ๐
โช
โช Taking into consideration circumstances mentioned
โช(๐ฅ โ ๐)/(๐ โ ๐) if ๐ฅ โ [๐, ๐]
โช
above, we get undermentioned rules:
๐๐๐๐๐๐ข๐ = โจ . (5)
โช
โช (๐ โ ๐ฅ)/(๐ โ ๐) if ๐ฅ โ [๐, ๐]
โช 1. If the driver is young and the power of the en-
โช
โช 0 if ๐ฅ > ๐
โฉ
17
gine is medium and the car is middle-age, then
Data: age of driver, power of engine, carโs the risk is medium.
production date 6. If the driver is young and the power of the en-
Result: risk gine is medium and the car is old, then the risk
๐๐๐; is medium-high.
๐๐๐ค๐๐; 7. If the driver is young and the power of the en-
๐ฆ๐๐๐; gine is high and the car is new, then the risk is
Form the membership function for every medium.
linguistic variables; 8. If the driver is young and the power of the en-
๐ค[27]; gine is high and the car is middle-age, then the
๐ค๐๐๐โ๐ก[27]; risk is medium-high.
Check the membership ๐ of each data to 9. If the driver is young and the power of the en-
appropriate membership functions ; gine is high and the car is old, then the risk is
๐ โถ= 0; high.
๐ โถ= 0; 10. If the driver is in middle age and power of the
๐ โถ= 0; engine is low and the car is new, then the risk is
for i < 3 do low.
for j < 3 do 11. If the driver is in middle age and power of the
for k<3 do engine is low and the car is middle-age, then the
๐ค[๐] =
risk is medium-low.
๐๐ด๐ (๐๐๐) โ
๐๐ต๐ (๐๐๐ค๐๐) โ
๐๐ถ๐ (๐ฆ๐๐๐);
12. If the driver is in middle age and power of the
end
engine is low and the car is old, then the risk is
end medium.
end 13. If the driver is in middle age and power of the
for i< 27 do engine is medium and the car is new, then the
Assign value of result for each rules; risk is low.
end
14. If the driver is in middle age and power of the
๐๐ข๐๐๐๐๐ก๐๐ โถ= 0;
engine is medium and the car is middle-age, then
for i<27 do
the risk is medium-low.
๐๐ข๐๐๐๐๐ก๐๐+ = ๐ค[๐] โ
๐ค๐๐๐โ๐ก[๐];
end 15. If the driver is in middle age and power of the
๐๐๐๐๐๐๐๐๐ก๐๐ โถ= 0; engine is medium and the car is old, then the
for i<27 do risk is medium-high.
๐๐๐๐๐๐๐๐๐ก๐๐+ = ๐ค[๐]; 16. If the driver is in middle age and power of the
end engine is high and the car is new, then the risk
๐๐๐ ๐ โถ= ๐๐ข๐๐๐๐๐ก๐๐ โ
100/๐๐๐๐๐๐๐๐๐ก๐๐; is medium-low.
Display amount of ๐๐๐ ๐; 17. If the driver is in middle age and power of the
Algorithm 1: Fuzzy system in insurance. engine is high and the car is middle-age, then
the risk is medium.
18. If the driver is in middle age and power of the
gine is low and the car is new, then the risk is engine is high and the car is old, then the risk is
low. medium-high.
2. If the driver is young and the power of the en- 19. If the driver is old and the power of the engine is
gine is low and the car is middle-age, then the low and the car is new, then the risk is medium.
risk is medium-low. 20. If the driver is old and the power of the engine
3. If the driver is young and the power of the en- is low and the car is middle-age, then the risk is
gine is low and the car is old then the risk is medium-high.
medium. 21. If the driver is old and the power of the engine
4. If the driver is young and the power of the en- is low and the car is old, then the risk is high.
gine is medium and the car is new, then the risk 22. If the driver is old and the power of the engine
is medium-low. is medium and the car is new, then the risk is
5. If the driver is young and the power of the en- medium.
18
Table 1 In conclusion to get the final result, all data have to
Tables with examples of linguistic variables values and their be apllied to the formula:
affiliation to each set.
๐
Driverโs age young middle old
20 1 0 0
โ ๐ฟ๐ โ
๐๐
(๐ฅ๐ , ๐ฆ๐ , ๐ง๐ )
21 0.95 0.05 0 ๐ฆ = ๐=1๐ . (7)
25 0.75 0.25 0
30 0.5 0.5 0
โ ๐๐
(๐ฅ๐ , ๐ฆ๐ , ๐ง๐ )
35 0.25 0.75 0
๐=1
40 0 1 0 The result of that formula is a percentage of risk. Fuzzy
44 0 0.8 0.2
50 0 0.5 0.5 system algorithm is presented in Alg. 1.
80 0 0 1
Engineโs power low medium high
50
75
1
0.9
0
0.1
0
0
3. Experiments
80 0.8 0.2 0
100 0.4 0.6 0 As part of checking the propriety of the proposed so-
110
145
0.2
0
0.8
0.5
0
0.5
lution, for the selected data (see Tab. 1) we described
160 0 1 0 average steps described in Tab. 2 . The table shows
180 0 0.2 0.8 only results for 8 rules, but we should note that the
190 0 0 1
Year of production old medium new implemented application has to check each of the rules
1998 1 0 0 respectively and count each of the elements. The sam-
2001
2004
0.875
0.5
0.125
0.5
0
0
ple data shows information that was used for analyz-
2006 0.25 0.75 0 ing the proposed system. A presented solution was
2008 0 1 0 implemented in C# language.
2009 0 0.857 0.143
2010 0 0.714 0.286 In Tab. 2, a sample output result was presented. In
2012 0 0.429 0.571 these experiments, we analyze the results output for a
2017 0 0 1
drive aged 25 and a six-year car with a capacity of 100.
It is easy to notice that the more information about the
23. If the driver is old and power of the engine is driver, the better and more accurate are the results.
medium and the car is middle-age, then the risk The reason for that is the defuzzification โ we have
is medium-high. more specific elements of summation in the last step
24. If the driver is old and the power of the engine is (called defuzzification). It allows saying that fuzzy sys-
medium and the car is old, then the risk is high. tems work more effectively when we have more lin-
25. If the driver is old and the power of the engine is guistic variables. However, more variables contribute
high and the car is new, then the risk is medium- to modeling more rules and analyzing relationships
high. between data.
26. If the driver is old and the power of the engine Obtained results show the possibilities of using the
is high and the car is middle-age, then the risk Takagi-Sugeno system for analyzing risk for insurance
is high. companies. In conducted experiments, we analyzed
27. If the driver is old and the power of the engine the ability to model fuzzy rules and their multitude
is high and then a car is old, the risk is high. (see Tab. 3). During modeling the technique, it was
also noticed that the biggest problem with this approach
The results of the implication can be presented as a is rule modeling. During the simulation, it was no-
membership function (see Fig. 2). ticed that it is a flexible system in terms of use, which
By having rules and values, we can go to the next was reflected in the possibilities of introducing new
step - inference. Here for each of rules, we use a for- linguistic variables as well as modifying values.
mula
๐๐
(๐ฅ, ๐ฆ, ๐ง) = ๐๐ด (๐ฅ) โ
๐๐ต (๐ฆ) โ
๐๐ถ (๐ง). (6)
The result ๐๐
means the activation level of each con- 4. Conclusion
clusion.
In this paper, we proposed a solution for calculating
There are many different methods of defuzzifica-
the risk of causing a car accident and directly the pos-
tion available. In this paper, assigning weight ๐ฟ๐ for
sibility of insurance. Proposed rules and used system
every conclusion holds by using the center of area (COA).
based on If-Then rules shows a large dependence on
The general visualization of the proposed system is
the number of variables. The more variables, the more
presented in Fig. 1.
19
(a)
(b)
(c)
Figure 3: Charts of membership functions for each of liguistic variables.
20
Table 2
Table of selected rules and the conclusion, when drivers are 21, the engineโs power is 100 and the year of production is 2014
(other rules will give us zero results).
Number of rule ๐ ๐๐๐๐ (25) ๐๐๐๐ค๐๐ (100) ๐๐ฆ๐๐๐ (2014) ๐๐
result of rule ๐๐
โ
๐ฟ๐
1. 0.75 0.4 0.875 0.2625 low 0.0525
2. 0.75 0.4 0.125 0.0375 medium-low 0.015
4. 0.75 0.6 0.875 0.39375 medium-low 0.1575
5. 0.75 0.6 0.125 0.05625 medium 0.028125
10. 0.25 0.4 0.875 0.0875 low 0.0175
11. 0.25 0.4 0.125 0.0125 medium-low 0.005
13. 0.25 0.6 0.875 0.13125 low 0.02625
14. 0.25 0.6 0.125 0.01875 medium-low 0.0075
SUM 1 0.309375
Table 3 decision-making method and its applications,
Table showing the dependence between the number of lin- Knowledge-Based Systems 121 (2017) 23โ31.
guistic variables and amount of rules, where n-amount of [6] G. Capizzi, G. Lo Sciuto, C. Napoli, E. Tramon-
labels describing each of linguistic variable (assuming that tana, An advanced neural network based solu-
the amount is the same for all linguistic variables). tion to enforce dispatch continuity in smart grids,
Amount of linguistic variables Amount of rules Applied Soft Computing Journal 62 (2018) 768โ
2
3
๐2
๐ 3 775.
4 ๐4 [7] G. Capizzi, C. Napoli, S. Russo, M. Woลบniak,
โฎ โฎ Lessening stress and anxiety-related behaviors
๐ ๐๐
by means of ai-driven drones for aromatherapy,
in: CEUR Workshop Proceedings, volume 2594,
accurate the results. However, it is worth noting that 2020, pp. 7โ12.
the proposed system shows fast calculations and a small [8] F. Orujov, R. Maskeliuฬnas, R. Damaลกeviฤius,
amount of computing power required for its operation. W. Wei, Y. Li, Smartphone based intelligent in-
These are undoubted advantages, although rule mod- door positioning using fuzzy logic, Future Gen-
eling is a time-consuming activity that needs to be an- eration Computer Systems 89 (2018) 335โ348.
alyzed without using self-adaptive methods. [9] S.-H. Cheng, S.-M. Chen, W.-S. Jian, Fuzzy time
Based on the obtained results, this approach is very series forecasting based on fuzzy logical relation-
promising. In future works, we plan to analyze and ships and similarity measures, Information Sci-
model a solution that can generate rules automatically. ences 327 (2016) 272โ287.
[10] O. A. Osoba, B. Kosko, Fuzzy cognitive maps of
public support for insurgency and terrorism, The
References Journal of Defense Modeling and Simulation 14
(2017) 17โ32.
[1] J. M. Mendel, Uncertain rule-based fuzzy sys- [11] Z. Fu, X. Wu, C. Guan, X. Sun, K. Ren, Toward
tems, in: Introduction and new directions, efficient multi-keyword fuzzy search over en-
Springer, 2017, p. 684. crypted outsourced data with accuracy improve-
[2] L. Aliahmadipour, V. Torra, E. Eslami, On hes- ment, IEEE Transactions on Information Foren-
itant fuzzy clustering and clustering of hesitant sics and Security 11 (2016) 2706โ2716.
fuzzy data, in: Fuzzy sets, rough sets, multisets [12] L. C. Jain, A. Kandel, H.-N. L. Teodorescu, Fuzzy
and clustering, Springer, 2017, pp. 157โ168. and neuro-fuzzy systems in medicine, CRC Press,
[3] R. R. Yager, Generalized orthopair fuzzy sets, 2017.
IEEE Transactions on Fuzzy Systems 25 (2016) [13] D. Poลap, Analysis of skin marks through the
1222โ1230. use of intelligent things, IEEE Access 7 (2019)
[4] O. Castillo, L. Amador-Angulo, J. R. Castro, 149355โ149363.
M. Garcia-Valdez, A comparative study of type- [14] F. Beritelli, G. Capizzi, G. Lo Sciuto, C. Napoli,
1 fuzzy logic systems, interval type-2 fuzzy logic M. Woลบniak, A novel training method to preserve
systems and generalized type-2 fuzzy logic sys- generalization of rbpnn classifiers applied to ecg
tems in control problems, Information Sciences signals diagnosis, Neural Networks 108 (2018)
354 (2016) 257โ274. 331โ338.
[5] S. Guo, H. Zhao, Fuzzy best-worst multi-criteria
21
[15] G. Capizzi, G. Lo Sciuto, C. Napoli, D. Polap,
M. Wozniak, Small lung nodules detection based
on fuzzy-logic and probabilistic neural network
with bioinspired reinforcement learning, IEEE
Transactions on Fuzzy Systems 28 (2020) 1178โ
1189.
[16] A. Winnicka, K. Kฤsik, Idea of using blockchain
technique for choosing the best configuration of
weights in neural networks, Algorithms 12 (2019)
163.
22