Author Archives: Shadi Elmi

Two Heads Are Better Than One: Artificial Intelligence & The Use of CycleGAN in Generating Handwritten Chinese Characters

These days, even a two-year-old knows how to use a computer! We are all very familiar with how computers fetch and display data, but can they also make decisions about data? This idea is explored by artificial intelligence (AI), which refers to computer systems that perform tasks that normally require human intelligence. Some examples include speech recognition and decision-making. In simpler terms, it is the ability of a computer to learn from input data to generate new output data, hence why it is also known as machine learning. While we may not always be aware, we are subjected to AI every day! Prior to reading this, you may have been watching a Netflix-suggested movie or have come across a new artist on Spotify that just so happens to be exactly your style. There are countless ways that AI is being used throughout different industries, and continues to be researched in order to reach its full potential.

An Introduction To Artificial Intelligence (AI)
Video produced by SO Group 1

 

Recent application of AI in research

Researchers Bo Chang and Qiong Zhang, PhD students from the Statistics department at the University of British Columbia, have used a form of AI called CycleGAN, to investigate the generation of Chinese handwritten characters. Their research, which was published this year, is fundamental to the preservation of Chinese culture and handwriting styles of famous calligraphers in China’s history, such as Wang Xizhi. Unlike letters in the English alphabet, Chinese is made up of logographic characters. These characters represent a word or a phrase, and there are over 80,000 of them in the Chinese language! This large number of characters has limited research in the past, but this obstacle was tackled in this study using the CycleGAN method.

calligraphy by Wang Xizhi

Famous Chinese Calligraphy by Wang Xizhi
Image Source: flickr
Photographer: Margaret

 

Use of CycleGAN in Chinese handwritten characters generation

The goal of the procedure was having the machine learn the transformations that are required to go from an inputted pre-made font to an output of personalized handwritten font. In order to do this, evaluation metrics consisting of style discrepancy and content accuracy were established. The specific use of CycleGAN, contributes to achieving accurate output characters by using two machines instead of one. One guarantees that generated handwritten characters look like the real style that is desired, and the second, which is cyclic, guarantees that handwritten characters generated from pre-made font will reverse back to the original pre-made font.

Experimental results through this study demonstrated the efficacy of this method of Chinese character generation, showing it to be superior or on-par with other systems. For example, characters were less likely to have missing or additional strokes compared to other systems.

An interview with Bo Chang & Qiong Zhang on
“Generating Handwritten Chinese Characters using CycleGAN”
Audio produced by SO Group 1 with special thanks to Bo Chang & Qiong Zhang

 

Overall, this method proves to be preferred due to generation of more accurate and desirable results. While this research isn’t being further pursued, many around the world have already shown interest in using and modifying the code! This method may also prove to be useful in generation of characters in other languages.

Group 1: Shadi Elmi, Allison Chiang, Wenyu Zhao & Hao Huang

Virtual Reality as Therapy for Mental Disorders

While many of us have heard of virtual reality (VR), we are likely less familiar with its applications. While VR can be an immersive gaming experience, it can also be used to confront your biggest psychological fears. In fact, some psychologists currently use this technology as treatment for patients with psychotic disorders and paranoid ideations. People with paranoid ideations believe they are being harassed and are suspicious of other people’s motives. As of 2013, more than 6.7 million people in Canada were living with mental conditions and Canadians with bipolar disorder and Schizophrenia, which both involve paranoia, each made up 1% of the population.

What is virtual reality?

Virtual reality creates the illusion of reality within different scenarios. The VR program is set up through a computer system, to which headphones and glasses are often attached. The recreated sights and sounds allow total immersion into the environment being experienced.

Samsung Gear VR virtual reality glasses

Specialized glasses for virtual reality
Image Source: flickr
Photographer: jocelynbird

 

Virtual reality as therapy

People with psychotic disorders often have similar responses to social interactions. Specifically, public settings and social activities tend to be avoided and time spent alone is higher than for an average person. One approach to treating patients and helping them reduce their social anxieties is through exposure. While therapeutic exposure-treatments are widely used, they present limitations for psychologists. Specifically, the therapist does not have control over the environment in which the patient is placed, which includes other peoples’ responses. Another difficulty is the willingness of a patient to undergo exposure to their fears in the real world. Virtual reality allows therapists to use exposure-treatments in a more controlled setting and therefore overcoming these limitations.

Virtual reality is used to treat paranoia
Posted By: Department of Psychiatry, University of Oxford

 

The effects of VR-assisted therapy were further explored in a study published in March 2018, which was conducted at seven Dutch mental health centres. The study consisted of outpatients between the ages of 18-65, who had been diagnosed with psychotic disorders and paranoid ideation, being randomly assigned to one of two groups: a control group (traditional therapy treatment) or VR-CBT (traditional therapy treatment with addition of VR). Patients within the VR-CBT group attended 16, one-hour VR-therapy sessions and were subjected to experiences such as busy streets, buses, cafés, and supermarkets. As mentioned earlier, the advantage to this treatment is the range of control that the therapist obtains. In this study, the number of human avatars in proximity to the patient, their sex and ethnicity and their responses to the patient, such as eye contact or hostile behaviour were all controlled by the therapist. The study found that momentary paranoid ideation and momentary anxiety were both decreased in patients. Their trigger-response behaviour was also reduced in the VR group compared to the control.

Supermarket virtual reality for paranoia patients
Posted By: Science News

 

Virtual reality can be used as a powerful tool in the treatment of mental illnesses. By exposing patients to their psychological fears in a controlled environment, we can decrease the anxiety and paranoia they would otherwise experience during real-life social activities.

-Shadi Elmi

Are we putting ourselves at risk by driving without that extra hour of sleep?

It’s no secret! We have all had those days when “I’m so tired” is the only piece of conversation we can contribute. But has being tired ever stopped you from driving your car? Recently, there has been an increase in research showing fatigue to be a major contributing factor in motor vehicle accidents. According to The National Highway Traffic Safety Administration of the USA, there was 4,121 fatal crashes between 2011 and 2015 involving drowsy driving. This has led researchers to explore the idea of establishing methods for discouraging people from driving while in a lethargic state and for catching them in the act.

Driving Tired

Drowsy driving can be risky
Image Source: flickr
Photographer: Anna~Bee

 

Does being drowsy really affect me?

We can all relate to being tired every now and again, whether it is a busy week at work, a heavy class schedule, or even as a result of a sleeping disorder. What we do not always realize is the very real effects that even the smallest lack of sleep can have on our bodies. In fact, research done by the AAA Foundation for Traffic Safety, shows that even just one or two hours of sleep less than the recommended within 24 hours, can double the risk of collision. Some of the effects of drowsiness are, but are not limited to, the following:

  • Trouble focusing
  • Heightened risk-taking
  • Impaired attention
  • Changes in mood

Accident

Fatal accidents caused by drowsy driving
Image Source: flickr
Photographer: Thomasjuh-b

 

Wait! How do you know how drowsy I am?

Now, what if I told you that police officers could test your sleep level, as they would alcohol levels, if they saw fit? Would you think twice about getting behind the wheel? This is the end goal for researchers from the Sleep Research Centre at the University of Surrey, who were working towards developing a biomarker capable of assessing an individual’s sleep level. A study was conducted where 36 participants were subjected to a 40-hour period of sleep deprivation. During this time, researchers drew blood from participants in order to observe any changes their lack of sleep would have on the expression levels of their genes. This study resulted in a major breakthrough in the form of an algorithm, which can be used to test blood samples for sleep deprivation with 92 percent accuracy. This breakthrough not only paves the way towards a future with a test capable of checking for sleep-deficient drivers, but also emphasizes the extent of the physiological impact a lack of sleep can have on our bodies, made evident by the fact that these biomarkers are present in the subject’s blood only after a 24-hour period.

Observing driving behaviour of drowsy drivers
Posted By: Mobilegeeks.de

 

Evidently, lack of sleep can have major influences on our bodies and is a serious contributing factor to fatal car accidents. While researchers are working towards methods to help society enforce regulations on sleep level while driving, we can all do our part by being more aware of our state of well-being before taking the wheel.

 

Shadi Elmi