-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsentiment.html
344 lines (275 loc) · 15.5 KB
/
sentiment.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Than Lwin Aung</title>
<link rel="stylesheet" href="./Content/font-awesome.min.css" />
<link rel="stylesheet" href="./Content/custom.css" />
<link rel="stylesheet" href="./Content/material-icons.css" type='text/css' media='all' />
<link href="./Content/style.css" rel="stylesheet" />
<link href="./Content/chosen.css" rel="stylesheet" />
<link href="./Content/railroad-diagrams.css" rel="stylesheet" />
<link href="./Content/jquery.webui-popover.css" rel="stylesheet" />
<script type='text/javascript' src="./Scripts/modernizr-2.6.2.js"></script>
<script type='text/javascript' src="./Scripts/jquery-1.10.2.js"></script>
<script type='text/javascript' src="./Scripts/bootstrap.js"></script>
<script type='text/javascript' src="./Scripts/railroad-diagrams.js"></script>
<script type='text/javascript' src="./Scripts/jquery.change.type.js"></script>
<script type='text/javascript' src="./Scripts/underscore.js"></script>
<script src="./Scripts/jquery.webui-popover.js"></script>
<script src="./Scripts/chosen.jquery.js"></script>
</head>
<body>
<header class="noo-header" id="noo-header">
<div class="navbar-wrapper">
<div class="navbar navbar-default fixed-top shrinkable">
<div class="container-boxed max">
<div class="navbar-header">
<h1 class="sr-only">Research Areas</h1>
<a class="navbar-toggle main-toggle collapsed" style="height:auto; line-height:50px;" title="Main Menu" data-toggle="collapse" data-target=".noo-navbar-collapse">
<span class="sr-only">Navigation</span>
<i style="font-size:20px;" class="fa fa-bars"></i>
</a>
</div>
<nav class="collapse navbar-collapse noo-navbar-collapse">
<ul class="navbar-nav sf-menu">
<li class="current-menu-item align-left">
<a href="./index.html">Home</a>
</li>
<li class="align-left">
<a href="./about.html">About Me</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<div id="main-body" class="container body-content">
<div class="container-wrap">
<div class="main-content offset" style="padding-top:20px !important;">
<br />
<br />
<div class="row box-3">
<div class="col-md-12">
<div>
<h3>Sentiment Model</h3>
<hr>
<p>
In 2014, 10 years ago, I was first introduced to Sentiment Analysis at my work. I found it really fasinating. In addition to Language and Image Processing, I have put significant effort towards the study of Sentiments and Emotions.
</p>
<p>
Humans, without a doubt, are rational beings, and yet at the same time, it is undeniable that they are sentimental as well.
</p>
<p>
Why do, I have been asking this question, sentiments, which does not seem logical nor rational, play an significant role in rational human minds. Is it not intriuging?
</p>
<p>
After a considerable study, I have found out that, although there are many signficant factors which determines human's sentiments, there is one primary contributing factor: uncertainty.
</p>
<p>
Our brain is actually a black-box in that it literally locates inside an enclosed region, known as a skull. Therefore, for our brain to make a rational decision, all the necessary information from the environment must come from our senory organs. Therefore, as an result, our brain cannot know in advance what kind of information it can perceive from the environment, although it can limitedly predict for certain aspects.
</p>
<p>
So, most of the time, our future is literally unknown, and it is unknowable. In face of unknowable unknowns, making a rational judgement has become comptationally expensive: our brain needs to calculate all the possible outcomes with all possible scenarios.
</p>
<p>
Formally, it is commonly known as <a href="https://en.wikipedia.org/wiki/Exploration-exploitation_dilemma" style="color:blue;" target="_blank">"Exploration and Exploitation Dilemma"</a>.
</p>
<p>
In <a href="https://en.wikipedia.org/wiki/Reinforcement_learning" style="color:blue;" target="_blank">Reinforcement Learning</a> "Exploration and Exploitation Dilemma" always needs to be addressed for optimum value. As we don't know how the environment will change in advance, it is always necessary to take some risk for exploring new options.
</p>
<p>
However, taking risk, which involves possible failures, does not always align with rational judgement or rational decision. Ultimately, when it comes to unknowable unknowns with possible failures, the rational judgement or the rational decision comes to meet with its own fundemental limitations: making a rational decision is, after all, selecting the best option. But what if we don't know what the best avaiable options are?
</p>
<p>
"Exploration and Exploitation Dilemma" is not a problem only humans would be facing; it is the ultimate problem for any autonomouns sentient machines or beings, which cannot know the future in advance.
</p>
<p>
Currently, most mechanical autonomous agents (robots) are trained with simulated replays to alleviate the Exploration Problems; however, it is highly questionable if simulated replays could be available for all possible scenarios. For the record, humans don't have such replays, we cannot undo what has been done. If we made a wrong decision while taking risk, it could also be fatal.
</p>
<p>
However, humans have been living with uncertainty while taking risk for such a long time. How do we know if someone, we randomly meet from a blind date, could become our significant other for another 40 years? Or How do we know what kind of career is right for us in 20 years from now on?
</p>
<p>
How do we make such decisions or judgements? After a careful study, I have found out that such decision are not purely rational nor logical. And it is where sentiments come into play.
</p>
<p>
Again, after a careful study, I have found out that our sentiments are shaped by two primary contributing factors:
</p>
<ul>
<li>
Survival Instincts - to determine individual survival and behaviors
</li>
<li>
Social Instincts - to determine group survival and behaviors
</li>
</ul>
</div>
</div>
</div>
<br />
<br />
<div class="row box-3">
<div class="col-md-12">
<div>
<strong>Dimensional Emotion Theory</strong>
<hr>
<p>
One of the major Emotion Theories is Dimensional Emotion Theory, which proposes "Emotions" can be represented in N-Dimension Emotion Space. Interestingly, Dimensional Emotion Theory suggests that an Emotion is actually similar to a Vector in Vector Space.
</p>
<p>
It is undeniable that emotions are there.
</p>
<p>
However, although there have been many theories, based on Dimensional Emotion Theory, which study emotions in terms of Dimensions, very few have actually addressed the emotions in the context of survival and social instincts.
</p>
<p>
Emotions exist. But, why, in the first place, emotions are there? Why do humans feel sadness, joy, anger, or fear? I am not conviced that emotions exist just to spice up our life and make our life more dramatic.
</p>
<p>
There should be more to the fundemental reasons why emotions exist in the first place. We feel pain and pleasure, but for what reason?
</p>
<p>
But, what if emotions exist to safeguard our exsitence or our survival individually or socially?
</p>
<p>
Biologically, humans have to survive in the unknown environment, in which the future is not pre-determined. So, how could humans ensure which is good for them or not, without any prior knowledge?
</p>
<p>
Imagine, humans need to survive on an unknown island, where there are a lot exotic fruits, which have never seen before. In such situation, how do humans determine which fruits are good to eat or not?
</p>
<p>
Valance, for example, is the emotional cues of pleasure and pain as to the stimuli from the environment. As a rule of thumbs, what tastes good could be potentially good, and what tastes bad could be potentially bad.
</p>
<p>
In this sense, pain and pleasure are the part of reward systems to ensure the survival of humans, in situations where prior knowledge is not avaiable.
</p>
<p>
Why "Sugar" is tasty and attractive to humans is exactly because humans primarly rely on <a href="https://en.wikipedia.org/wiki/Carbohydrate" style="color:blue;" target="_blank">Carbohydrate</a> to gain energy for survival.
</p>
<p>
Therefore, the role of Emotions in context of the survial of humans and societies seems more convincing, and thus, I have come up with a novel theory for the Sentiment Model.
</p>
<p>
If what is tasty is generally good for our health, then how about what make us feel good? It also raises a question as to whether it is a really good idea if we put our illogical emotions out of the equation from our rational mind?
</p>
<br>
</div>
</div>
</div>
<br />
<div class="row box-3">
<div class="col-md-12">
<div>
<strong>V3A Model</strong>
<hr>
<p>
V3A (Valance, Arousal, Affinity, Accrual) Model is my baseline model which defines the Latent Emotional Space, in which each sentiment (emotion) can be represented as 4D Vector.
</p>
<p>
In V3A Model, Valance and Arousal represent the sentiment function (EO) related to Survival Instincts, while Affinity and Accural represent the sentiment function (ES) related to Social Instincts.
</p>
<p>
Please visit my research for <a href="https://github.com/2kha/Research" style="color:blue;" target="_blank">more information</a>.
</p>
<br>
<img src="https://2kha.github.io/Images/emotion_function.png" style="width:80%; height:auto; display:inline-block; margin-top:-10px;" />
</div>
</div>
</div>
<br/>
<div class="row box-3">
<div class="col-md-12">
<div>
<strong>The Role of Sentiments in AI and Robotics</strong>
<hr>
<p>
Although the premise could be highly controversial, the role of Sentiments in AI and Robotics is highly undermined.
</p>
<p>
Actually, robots are generally built to be able to operate in Environments unsuitable for humans. This implies that the Environment in which robots will operate could be highly dangerous, and a robot has to survive in such an Environment, at least to certain extent, with minimum supervision.
</p>
<p>
This also implies that a robot needs some kind of Survival Instincts which will enable it to avoid dangers and survive in unknown situations.
</p>
<p>
Suppose, a robot is working together with other robots in unknown environment, a question will particularly be raised:
</p>
<ul>
<li>
Survival Instincts - Should a robot priortize on its own survival or its own well-being.
</li>
<li>
Social Instincts - Should a robot priortize on other robots' survival or their well-being.
</li>
</ul>
<p>
Actually, it is the same problem humans have been facing, for which, unfortunately, we still cannot find the answer. I am sure we will never reach "logical" answer for this problem.
</p>
<p>
Nonetheless, robots will sooner or later will face the same problem as humans if they will have to survive as a group in unknown environments.
</p>
<p>
Then, how humans have survived so far: because we are also sentimental.
</p>
</div>
</div>
</div>
<br/>
<div class="row box-3">
<div class="col-md-12">
<div>
<strong>Pattern Recognition and Sensation</strong>
<hr>
<p>
Sentiments (Emotions) represents additional information which recognition cannot recognize.
</p>
<br/>
<img src="https://2kha.github.io/Images/pattern_sensation.png" style="width:70%; height:auto; display:inline-block; margin-top:-10px;" />
</div>
</div>
</div>
<br/>
<div class="row box-3">
<div class="col-md-12">
<div>
<svg height="32" class="octicon octicon-mark-github text-white" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
<a href="https://github.com/2kha" target="_blank" style="margin-left:50px; margin-top:-35px; display:block;">Please find me more on Github...</a>
</div>
</div>
</div>
<br />
</div>
</div>
<div class="modal fade" id="suggestion-popup" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-member">
<div class="modal-content">
<div class="modal-header" style="border:none;">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4>Suggestion</h4>
</div>
<div class="modal-body" style="padding:0px;">
<div id="suggestion-container" style="height:300px; overflow-y:auto;">
</div>
</div>
</div>
</div>
</div>
<hr />
<footer>
<p>© <span id="c-date"></span> - Than Lwin Aung</p>
</footer>
</div>
<script>
$(document).ready(function(){
var date = new Date();
var year = date.getFullYear();
$("#c-date").html(year);
});
</script>
</body>
</html>