Signal

DT
by Devansh Tripathi6 views·Updated Aug 4, 2023

Chapters

Audio TranscriptAuto-generated

  1. We live in a dynamic era filled with uncertainty and marked with unexpected events
  2. of wars, cybercrime,
  3. data breaches,
  4. conflicts, protests, riots, economic recession
  5. and much more,
  6. Hen said.
  7. Every citizen or any user is vulnerable to these threats present around them
  8. and also unknown to them.
  9. Therefore, we need a digital mechanism
  10. that can enable
  11. the generation of 21st century to know about any threat
  12. that surround them
  13. and make them aware of it.
  14. One of the technologies which has come up recently, is location entity recognition
  15. that extracts crucial information from online data
  16. and
  17. text due location associated with them,
  18. and then informs the concerned user regarding the threat if there are any,
  19. and then
  20. if you boil down location, entity recognition,
  21. the core technology behind that is named entity recognition.
  22. Now various named entity recognition models have been in use. Clavin
  23. not is one such model used by Signal Corporation currently,
  24. and there are other models as well, like Spacey Flare Gate, Open LP,
  25. which are currently in use
  26. Now. One drawback about all these models is that
  27. they're heavily dependent upon
  28. a data set
  29. which has to be big enough and also accurate enough for the model to work well.
  30. Unfortunately,
  31. we don't have a vast and precise data set
  32. present with us,
  33. because
  34. most of the data present in the social media platform is scattered
  35. and cluttered.
  36. Therefore, if the data set is not strong enough, as you can see from this diagram,
  37. the model which is being trained is also weak enough.
  38. And hence, when it acts upon the real time data,
  39. the results that we get will be highly inaccurate.
  40. And that's a problem
  41. that we are facing as of now,
  42. when it comes to named entity recognition system for security surveillance.
  43. Therefore, we need a model that can directly act upon real time data
  44. and gradually improve with time.
  45. One such model,
  46. which has been
  47. a
  48. new, exciting thing
  49. in the realm of machine learning, is reinforcement learning,
  50. and it learns, just like a human,
  51. just like a baby, learns to walk
  52. it slowly starts to crawl
  53. and then tries to stand up, and then it falls.
  54. Then again, it crawls and then again stand ups,
  55. and
  56. one day it stands on its feet
  57. and gradually,
  58. steadily,
  59. it learns to put its steps forward,
  60. and I finally learned to walk.
  61. Now This method is also employed here, where an agent
  62. learns to
  63. perform any action
  64. through a feedback mechanism
  65. it performs, the action, receives the feedback
  66. and then
  67. it gains a reward
  68. and
  69. the next action it performs is to
  70. increase that reward.
  71. Hence, this becomes a
  72. process of sequential decision making
  73. where the next decision it makes
  74. is to
  75. increase the reward which it received
  76. from the previous outcome.
  77. Thus,
  78. this process of feedback mechanism,
  79. action, reward, state and then action reward state
  80. and this continuous learning mechanism between agent and involvement
  81. is a method
  82. that can help us
  83. crack the dilemma of named entity recognition
  84. and also help us tackle with the constraint of the dataset,
  85. which with other models have been facing
  86. therefore
  87. named entity recognition
  88. as a reinforcement learning problem
  89. can be visualised as a problem where
  90. a textual data is given to the agent
  91. and the goal of the agent is to
  92. maximise the named entities it can extract from the data.
  93. Now this picture that's in front
  94. gives a rough idea for how named
  95. entity recognition system can work using reinforcement,
  96. learning
  97. the textual data will be given
  98. and then the named entities will be named.
  99. Now the initial action
  100. will give us the worst outcome.
  101. It will probably tag every word which is being present in the text.
  102. But gradually it receives the feedback
  103. and then it tries to improve the reward that it gets.
  104. The more the entities it names, the more the reward it gains.
  105. And
  106. as
  107. we move with time,
  108. the actions that it leads to
  109. will be the ones that maximises. The reward
  110. ultimately maximises the named entities extracted from a piece of text.
  111. Now various candidate reinforcement learning algorithms are present.
  112. One such is called natural language policy optimisation,
  113. which is on policy method of reinforcement learning
  114. where a policy structure is kind of given to a reinforcement learning model,
  115. it uses that policy
  116. to act upon
  117. and perform upon the
  118. data, which is real time.
  119. This is a mass extension of a proximal policy optimisation process.
  120. And here what basically happens is that
  121. a top P sampling where P being the parameter,
  122. leaves a restricted tokens to the smallest possible set,
  123. whose cumulative probability is greater than the parameter.
  124. Thus,
  125. the best set of actions is basically selected
  126. to
  127. perform the
  128. next set of actions
  129. and then gain or maximise the reward
  130. now same way. There is other method called GRUE General Reinforcement Language
  131. Understanding evaluation
  132. here. What happens is that
  133. a set of seven generating and
  134. PTAs
  135. happen in real time,
  136. like this ambiguous
  137. tokenization word splitting.
  138. And then
  139. there is an evaluation metric simultaneously happening upon those actions.
  140. Now these evaluation Mac metrics
  141. help the actions
  142. to perform such that
  143. the reward that it gains is the maximum one.
  144. Thus,
  145. it's a strict model
  146. where evaluation takes place upon the actions
  147. to give the best feedback possible and maximise
  148. the reward of naming the most entities possible.
  149. Now. Reinforcement Learning for Language model is another package
  150. which basically uses the algorithm for
  151. off actor critique.
  152. Now this happens in such a way that actor is basically
  153. a policy structure.
  154. While critique is a valuation function,
  155. the critique valuation function
  156. tries to minimise the reward while the actor policy structure tries to maximise it.
  157. This way, accumulative learning happens between the two,
  158. hence improvising the overall reinforcement learning model.
  159. Now any of these algorithms can be applied
  160. to enhance the named entity information present,
  161. and also with us are various tools which is being
  162. in use tensorflow agent is one such tool
  163. used for building reinforcement learning models open.
  164. I have also developed spinning Up, which is a library
  165. for researching and developing reinforcement learning models.
  166. Deep Mind Lab has also performed various
  167. results and given various results regarding reinforcement, learning
  168. and any of these tools, along with any of the
  169. reinforcement learning algorithm,
  170. can be embedded into named entity recognition system,
  171. which can help us to act with real time data.
  172. And once we are no more constrained with the presence of a data present with us,
  173. a strong data present with us,
  174. we can directly employ the model on real time data present online.
  175. And then
  176. as we move with time,
  177. the model can maximise
  178. the outcome that it produces
  179. and with this outcome is
  180. with being presented with
  181. Signal Corporation can hence employ a
  182. much more better
  183. and enhanced named entity recognition system.
  184. And this can lead to the path for
  185. an open source intelligence where any person any user
  186. can use the intelligence system
  187. of named entity recognition system
  188. empowered by reinforcement, learning
  189. to extract
  190. any information concerning that security
  191. and with noise all around present on the Internet
  192. signal
  193. can employ models
  194. that can help any layman, any user or any innocent person
  195. to be aware about their security
  196. and also protect them
  197. in the most intelligent way possible
  198. and make it easy
  199. for any user
  200. to be aware about their security
  201. and also
  202. help the society
  203. become a more secure place
  204. like never before.
  205. Thank you. This was presented by the
  206. party.