Showing posts with label better learning. Show all posts
Showing posts with label better learning. Show all posts

Monday, 19 July 2021

Pioneers of deep learning think its future is gonna be lit

Deep Learning 

 

Deep neural networks will move past their shortcomings without help from symbolic artificial intelligence, three pioneers of deep learning argue in a paper published in the July issue of the Communications of the ACM journal.

In their paper, Yoshua Bengio, Geoffrey Hinton, and Yann LeCun, recipients of the 2018 Turing Award, explain the current challenges of deep learning and how it differs from learning in humans and animals. They also explore recent advances in the field that might provide blueprints for the future directions for research in deep learning.

Titled “Deep Learning for AI,” the paper envisions a future in which deep learning models can learn with little or no help from humans, are flexible to changes in their environment, and can solve a wide range of reflexive and cognitive problems.

The challenges of deep learning

Deep learning is often compared to the brains of humans and animals. However, the past years have proven that artificial neural networks, the main component used in deep learning models, lack the efficiency, flexibility, and versatility of their biological counterparts.

In their paper, Bengio, Hinton, and LeCun acknowledge these shortcomings. “Supervised learning, while successful in a wide variety of tasks, typically requires a large amount of human-labeled data. Similarly, when reinforcement learning is based only on rewards, it requires a very large number of interactions,” they write.

Supervised learning is a popular subset of machine learning algorithms, in which a model is presented with labeled examples, such as a list of images and their corresponding content. The model is trained to find recurring patterns in examples that have similar labels. It then uses the learned patterns to associate new examples with the right labels. Supervised learning is especially useful for problems where labeled examples are abundantly available.

Reinforcement learning is another branch of machine learning, in which an “agent” learns to maximize “rewards” in an environment. An environment can be as simple as a tic-tac-toe board in which an AI player is rewarded for lining up three Xs or Os, or as complex as an urban setting in which a self-driving car is rewarded for avoiding collisions, obeying traffic rules, and reaching its destination. The agent starts by taking random actions. As it receives feedback from its environment, it finds sequences of actions that provide better rewards.

In both cases, as the scientists acknowledge, machine learning models require huge labor. Labeled datasets are hard to come by, especially in specialized fields that don’t have public, open-source datasets, which means they need the hard and expensive labor of human annotators. And complicated reinforcement learning models require massive computational resources to run a vast number of training episodes, which makes them available to a few, very wealthy AI labs and tech companies.

Bengio, Hinton, and LeCun also acknowledge that current deep learning systems are still limited in the scope of problems they can solve. They perform well on specialized tasks but “are often brittle outside of the narrow domain they have been trained on.” Often, slight changes such as a few modified pixels in an image or a very slight alteration of rules in the environment can cause deep learning systems to go astray.

The brittleness of deep learning systems is largely due to machine learning models being based on the “independent and identically distributed” (i.i.d.) assumption, which supposes that real-world data has the same distribution as the training data. i.i.d also assumes that observations do not affect each other (e.g., coin or die tosses are independent of each other).

“From the early days, theoreticians of machine learning have focused on the iid assumption… Unfortunately, this is not a realistic assumption in the real world,” the scientists write.

Real-world settings are constantly changing due to different factors, many of which are virtually impossible to represent without causal models. Intelligent agents must constantly observe and learn from their environment and other agents, and they must adapt their behavior to changes.

“[T]he performance of today’s best AI systems tends to take a hit when they go from the lab to the field,” the scientists write.

The i.i.d. assumption becomes even more fragile when applied to fields such as computer vision and natural language processing, where the agent must deal with high-entropy environments. Currently, many researchers and companies try to overcome the limits of deep learning by training neural networks on more data, hoping that larger datasets will cover a wider distribution and reduce the chances of failure in the real world.

Deep learning vs hybrid AI


The ultimate goal of AI scientists is to replicate the kind of general intelligence humans have. And we know that humans don’t suffer from the problems of current deep learning systems.

“Humans and animals seem to be able to learn massive amounts of background knowledge about the world, largely by observation, in a task-independent manner,” Bengio, Hinton, and LeCun write in their paper. “This knowledge underpins common sense and allows humans to learn complex tasks, such as driving, with just a few hours of practice.”

Elsewhere in the paper, the scientists note, “[H]umans can generalize in a way that is different and more powerful than ordinary iid generalization: we can correctly interpret novel combinations of existing concepts, even if those combinations are extremely unlikely under our training distribution, so long as they respect high-level syntactic and semantic patterns we have already learned.”

Scientists provide various solutions to close the gap between AI and human intelligence. One approach that has been widely discussed in the past few years is hybrid artificial intelligence that combines neural networks with classical symbolic systems. Symbol manipulation is a very important part of humans’ ability to reason about the world. It is also one of the great challenges of deep learning systems.

Bengio, Hinton, and LeCun do not believe in mixing neural networks and symbolic AI. In a video that accompanies the ACM paper, Bengio says, “There are some who believe that there are problems that neural networks just cannot resolve and that we have to resort to the classical AI, symbolic approach. But our work suggests otherwise.”

The deep learning pioneers believe that better neural network architectures will eventually lead to all aspects of human and animal intelligence, including symbol manipulation, reasoning, causal inference, and common sense.

Promising advances in deep learning

<span style="width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>

In their paper, Bengio, Hinton, and LeCun highlight recent advances in deep learning that have helped make progress in some of the fields where deep learning struggles.

One example is the Transformer, a neural network architecture that has been at the heart of language models such as OpenAI’s GPT-3 and Google’s Meena. One of the benefits of Transformers is their capability to learn without the need for labeled data. Transformers can develop representations through unsupervised learning, and then they can apply those representations to fill in the blanks on incomplete sentences or generate coherent text after receiving a prompt.

More recently, researchers have shown that Transformers can be applied to computer vision tasks as well. When combined with convolutional neural networks, transformers can predict the content of masked regions.

A more promising technique is contrastive learning, which tries to find vector representations of missing regions instead of predicting exact pixel values. This is an intriguing approach and seems to be much closer to what the human mind does. When we see an image such as the one below, we might not be able to visualize a photo-realistic depiction of the missing parts, but our mind can come up with a high-level representation of what might go in those masked regions (e.g., doors, windows, etc.). (My own observation: This can tie in well with other research in the field aiming to align vector representations in neural networks with real-world concepts.)

The push for making neural networks less reliant on human-labeled data fits in the discussion of self-supervised learning, a concept that LeCun is working on.

Can you guess what is behind the grey boxes in the above image?

The paper also touches upon “system 2 deep learning,” a term borrowed from Nobel laureate psychologist Daniel Kahneman. System 2 accounts for the functions of the brain that require conscious thinking, which include symbol manipulation, reasoning, multi-step planning, and solving complex mathematical problems. System 2 deep learning is still in its early stages, but if it becomes a reality, it can solve some of the key problems of neural networks, including out-of-distribution generalization, causal inference, robust transfer learning, and symbol manipulation.

The scientists also support work on “Neural networks that assign intrinsic frames of reference to objects and their parts and recognize objects by using the geometric relationships.” This is a reference to “capsule networks,” an area of research Hinton has focused on in the past few years. Capsule networks aim to upgrade neural networks from detecting features in images to detecting objects, their physical properties, and their hierarchical relations with each other. Capsule networks can provide deep learning with “intuitive physics,” a capability that allows humans and animals to understand three-dimensional environments.

“There’s still a long way to go in terms of our understanding of how to make neural networks really effective. And we expect there to be radically new ideas,” Hinton told ACM.

This article was originally published by Ben Dickson on TechTalks, a publication that examines trends in technology, how they affect the way we live and do business, and the problems they solve. But we also discuss the evil side of technology, the darker implications of new tech, and what we need to look out for. You can read the original article here.


Monday, 26 April 2021

I Became a Fast Learner at Everything by Applying These Simple Techniques

Learning 

 

In the summer of 2019, I had this craze to learn something cool — something that could give my resume an edge. I wanted to learn to code so badly.

So I started taking classes at a tech company nearby. The first week went awesome. I met good people with mutual understanding, and I had high-quality lecture sessions.

After about 3 weeks of lectures, and presentations, it was time for the first test of the semester. I was looking all worked out that morning. Probably because I had spent all night reading course materials and practicing all that I’ve been thought for the past 3 weeks.

Long story short, the test was all done and the results were in. I felt so happy and confident after the test because I knew I put in all my efforts into making sure that I get a good grade. But, as they say, “only the results will determine how hard you prepared.” I kept my fingers crossed.

As I anxiously searched my name, my smile slowly tightened up, heart rate spiked. It was an E in all subjects (including basic MS Word usage).

“How was I able to fail all subjects, including basic MS Word usage?” Different questions clouded my mind.

Head down in sadness, I went home and took a long nap. I was embarrassed among my peers about failing a simple test which 90% of the class passed. The results of the test weakened me mentally, emotionally, and physically — I was afraid to try again. Depression gradually set in.

After reading The First 20 Hours: How to Learn Anything … Fast by Josh Kaufman. I began to reconsider. Through Kaufman’s book, I was convinced:

  • That I could get over my fear
  • My self-doubt needs some sprinkle of confidence
  • Constant worrying doesn’t solve anything
  • Embarrassments are nothing if you want to learn
  • If you want to learn, do it in your 20s

In a movie I watched: The Matrix, I was fascinated with the ability that Neo and his friends possessed to learn new skills in a matter of seconds. With the unbelievable upsurge in levels of technology today, the rapid learning displayed in the movie is becoming much more of a reality than you can ever imagine.

Luckily, I have well developed myself over the years, by studying and learning a lot more about various techniques that are well proven to work for learning new skills. Therefore I have successfully applied them into areas of my life. To name a few, Website development, Advanced Software engineering, Video editing (took me 3 hours), freelance writing, and running a Startup.

Why do we need to learn faster?

We are constantly learning new things, from the moment we entered this world all through to the moment we leave. All aspects of life entail learning, from your first day on the job, first time driving, that new activity, or even grilling a barbecue. Learning is a process that continues throughout life.

Learning new things is a huge and inevitable step in life, we should always be ready to grow in all spheres of life. Meanwhile, we can well agree that learning new things take time, right? For most of us, time is something we don’t have on our hands — the everyday cycle sucks out all the time.

The ability to learn and grasp new things under limited time is what an individual must possess.

As humans, we constantly involve ourselves in various works of life. Our time is limited, which makes it very important to spend most of your time on getting the most value. But we have to grow, and the only way we can grow is by expanding our knowledge, therefore learning new skills. The speed of learning is an important factor.

As Anthony Robbins describes, swift learning is a skill, one can easily develop and can be continuously improved:

One skill you want to master in this day and age we live in, if you want to have an extraordinary life, is the ability to learn rapidly.

In this present day dispensation, there is more and easy access to numerous knowledge and information than ever before. The internet is the place to get all your mind’s bothering questions answered with a single click.

Getting smarter has never been easier, but to attain smartness the ability to learn faster is very paramount.

Let us hear what the experts have to say

Mastering new skills is not optional in today’s business environment. “In a fast-moving, competitive world, being able to learn new skills is one of the keys to success.

It’s not enough to be smart — you need to always be getting smarter,” says Heidi Grant Halvorson, a motivational psychologist and author of the Havard Business Review Single Nine Things Successful People Do Differently.

“The night before a biochemistry class, I read the last year’s lecture notes. I look at the pictures in the book. Now, I’ve got a general concept. Sure…There’s a couple of details to fill in and a few things to memorize. But that’s no big deal. I’ve got the big picture, and that’s all I need.

Bring it on professor, I’m ready.

That’s right.

The next day, I’m a goalie sitting in the front row.

“Nothing gets past me.”

My ability to comprehend a biochemistry lecture just went from 30% to 95%.

I went on to score 780 out of a possible 800 on the medical school boards exam in biochemistry. Given that the 99th percentile began around 690, this was one of the highest scores in the USA, perhaps the highest.”

― Peter Rogers MD

Joseph Weintraub, a professor of management and organizational behavior at Babson College and co-author of the book, The Coaching Manager: Developing Top Talent in Business, agrees:

We need to constantly look for opportunities to stretch ourselves in ways that may not always feel comfortable at first. Continual improvement is necessary to get ahead.

The effectiveness of speed learning goes a long way in our daily activities. Whether you’re working towards a new job, need something to do during your spare time, or probably beef up your resume.

Find the right purpose for learning

When we have a passion for learning something, it’s much easy to pour out all our energy to make sure we attain that thing. Leading to faster retention of the information we learn.

By having that drive to accomplish your target you are less likely to be distracted therefore focus becomes your hidden backbone.

“Successful people do what unsuccessful people are not willing to do. Don’t wish it were easier; wish you were better.” — Jim Rohn

Focus on one thing until you get success! Of course, bad days will come, discouragements will cloud your mind, thoughts of quitting will fill rain on you.

Having that unique passion will constantly remind you why you started, therefore, keeping you going through those challenging times until you complete it.

Michael Jordan’s story always cheers me up, when he got rejected by his coach and cut from his high school basketball team, he didn’t wake up every morning to shoot thousands of free throws so that he could make next year’s basketball team. His goal was to become the best player in the world.

Passion + efforts = Great impact.

Understand your learning formation

Another great strategy for improving your learning efficiency is to recognize your learning habits and styles.

Everyone is unique, the way we do things, differ from the next person. However, our learning style also follows different patterns. Here is what I mean — what worked for ‘Billy’ might backfire for ‘James.’ — It’s just the weird beauty of life.

When I was in code camp, there was this guy who never took notes, who never asked questions but always scored 100% in examinations — I always thought he had some kind of weird powers or something; now trying to imitate this guy might sure lead you to failure. But how did he do it? The truth is he had well mastered how his brain works, reaction rate, and levels of concentration.

When learning something new, you don’t need to start envying and comparing yourself to other people. Ditch the way the other person does things. Self-discovery is very important. Find out what works for you, what you’re comfortable with, and what makes you unique.

Howard Gardner’s theory of multiple intelligences describes eight different types of intelligence that can help reveal your strengths.

Some learn best with the use of graphics or flashcards, some learn best through attentive listening, while some learn best via demonstrations and hands-on experience.

Heidi Grant Halvorson says you can figure out your ideal learning style by looking back. “Reflect on some of your past learning experiences, and make a list of good ones and another list of bad ones”

She further says,

What did good effective experiences have in common? How about the bad ones? Identifying common strands can help you determine the learning environment that works best for you.

Go old school note-taking

With the unimaginable rise in technology, there are now countless devices to take notes, ranging from laptops, tablets, even watches — all these are meant to make our lives easier.

Though taking your notes using a laptop might seem accurate to the eyes, it doesn’t to the brain. To speed up the learning process ditch the laptop and take your notes the old school way — pen and paper.

Well, as for me I prefer to stick with my pen and paper, because of the numerous benefits I enjoyed.

An experiment tested both groups of note-takers (pen and laptop users) exactly half an hour after the lecture, which left them without the opportunity to review.

The psychological scientists decided to explore this concept further and conducted a second experiment in which these students would be given a week to review for the exam.

Even after a week of review, the students who took notes in longhand were found to do significantly better than the other students in the experiment, including the fleet typists — those who transcribed the lectures.

Overall, it seems those who type their notes may potentially be at risk for “mindless processing.” The old-fashioned note-taking method of pen and paper boosts memory and the ability to understand concepts and facts.

Although taking notes with the hands is slow and burdensome compared to the laptop, the act of writing supports easy readability and comprehension.

Practice what you’ve learned

“The best way of learning about anything is by doing.” — Richard Branson

One of the easiest ways to learn and practice (in real-time) a new skill effectively is teaching it to others. It might be incredibly scary to teach something you’ve not perfected to other people — experts or beginners. But it is a sure way to derive improvement.

My second time learning coding, I begged my 7-year-old sister for her to sit down and let me teach her what I learned during the day’s class. Even though she didn’t understand any of the things I was saying, I learned a lot from hearing myself saying it over and over again.

Why does this method work so well?

When we learn with the mindset that we are going to teach it to others, we are left with the only option of simplifying it and breaking it down into bits to aid easy explanation and understanding.

Do you remember your seventh-grade presentation on Costa Rica? By teaching to the rest of the class, your teacher hoped you would gain even more from the assignment, forcing us to look at the topic critically to help us understand it better.

As research shows, it turns out that people retain:

  • 5% of what they learn when they’ve learned from a lecture.
  • 10% of what they learn when they’ve learned from reading.
  • 20% of what they learn from audio-visual.
  • 30% of what they learn when they see a demonstration
  • 50% of what they learn when engaged in a group discussion.
  • 75% of what they learn when they practice what they learned.
  • 90% of what they learn when they teach someone else/use immediately.

When you’re teaching somebody something new, make use of slides, flashcards, audio narrations while breaking all down into small chunks of information.

Be Patient

After all the hard work, patience is paramount in making sure that you learn that skill swiftly.

Failing a series of subjects on coding undoubtedly made me feel discouraged and bad about myself, although patience kept me going and played a huge role in making sure that I mastered it.

Every good thing takes time, even though you want to learn that skill on time; throwing in the towel will only end you up achieving nothing.

“It’s not going to happen overnight. It usually takes six months or more to develop a new skill,” says Weintraub. And it may take longer for others to see and appreciate it. “People around you will only notice 10% of every 100% change you make,” he says.

Takeaways

Learning a new skill or developing a new habit might take some time but focus, practice, and determination will always hasten the process. Let’s go over the core principles:

Find the right purpose for learning — picture yourself at the destination you want to be and use that as a stepping stone for greatness. Keep your goal in your mind as often as possible.

Go old school note-taking — while learning something new you must take notes at every means possible, and try as much as possible to use a pen and paper for effective comprehension

Teach what you’ve learned — when learning new things you must spread the word about it while it is still fresh in your memory because people retain a higher percentage of what they teach.

Understand your learning mechanism — your uniqueness cannot be compared to anyone else. Learning at your own pace, and being comfortable will increase your ability to understand and retain knowledge faster.

Be patient — all though we might fall, flop at certain simple areas, maybe fail at achieving your goals. But bear in mind that every good thing takes

 

 

Wednesday, 30 September 2020

3 Ways To Study Better, According To Cognitive Research

The Art of Studying 

 

The key to long-term retention of information is to practice retrieving that information.

The Conversation

 


 Thanks to Shawn Ang for sharing their work on Unsplash.

Whether you are a student or the parent of one contending with coronavirus school closures, this year “back to school” means studying under some unusual circumstances.

Learning and teaching can provide great opportunities for academic and personal growth, but in the midst of stressors, it’s worth remembering that some ways of learning and retaining information are more effective than others.

For example, students report relying on age-old techniques like re-reading textbooks or notes and highlighting the important parts, but these aren’t the most effective approaches. More than a century of research tells us that testing yourself with practice questions and leaving space between study sessions (sometimes called distributed practice) enhances learning and long-term memory. Ultimately, these approaches save time.

In my educational research in the department of kinesiology at Western University, I am interested in how people learn, and what small changes instructors and students can make to improve their results. My priority is to understand how novice students learn anatomy and which cognitive strategies can optimize learning, both academically and in daily life.

Highlighting is fine, but don’t let it be your main strategy for retaining information. Photo from Shutterstock.

Enhancing Learning

When practice testing and spaced studying are used together, researchers call this super technique “successive relearning” and its benefits are clear.

For example, Kent State University researchers found that students studying by successive relearning earned test scores 12 per cent higher than their classmates who were using conventional methods. They also retained significantly more information when retested days and weeks after their final exams. Such a situation approximates how you might hope to use knowledge far beyond a course.

Further, a large online study of self-regulated study practices found that spaced learning appears to have the greatest benefits for students with lower final exam grades and can even buffer the effects of completing less learning activities throughout a course.

Let’s talk about how and why this works.

Retrieving Information is Key to Retention

Only a portion of the information you learn becomes part of your permanent, or long-term knowledge. When you learn something new, your working memory holds that information in an active state, keeping it available for you to use and combine with other things you already know (long-term memory) or are experiencing in the moment (short-term memory).

This is what happens, for example, when you try to remember a phone number. While focusing on the number, you might pull in relevant information about the person you plan to call or memorization tricks you’ve used for phone numbers in the past.

When the information in your working memory stops being used, however, its presence fades. Its transition from newly learned to long-remembered depends on how the information was used or rehearsed.

Practising the retrieval of information is key to long-term retention. Spacing out these sessions gives you a chance to forget just enough to make your recall effective, allowing you to remind yourself about what you learned — which enhances memory and slows forgetting.

Fortunately, almost anything from schoolwork to new languages can be learned this way.

Cramming sessions work for next-day recall, but you’ll soon forget most of what you learned. Photo from Shutterstock.

Caution for Crammers

Successive relearning may feel hard compared to typical (yet ineffective) strategies like highlighting and re-reading.

If you have been a student who has crammed for an exam, you may know that for next-day recall, cramming sessions actually do work. But students don’t typically realize how much and how quickly they forget content since the course usually ends with the exam.

This means that learners may falsely identify cramming as being an easy and effective strategy and avoid more difficult yet more effective strategies like successive relearning which actually promote long-term retention.

So how do you “successively relearn?”

Break Things Down Into Three Steps

Set a goal: Figure out what you’ll study — like key topics from a lecture or a driver’s handbook — and when you’ll do it, by creating and following a schedule. Aim for shorter study sessions that are spaced out over time. For example, five one-hour sessions are better than one five-hour session.

Practise: Create opportunities to recall what you have learned to help move information into long-term storage. Online flashcard apps are great (check out free options such as Anki and Flashcards by NKO), though all you really need is paper and a pen.

If you’re a student, try leaving blank spaces in your course notes to recall and write out concepts after class.

If you’re teaching, build informal testing into your lessons. Beyond modelling the technique, it also helps students sustain their attention, take better notes and it reduces test anxiety.

Consolidate success: Check your work and monitor your progress over time. If you’re successfully recalling something most of the time, you can decrease how often you review that content and replace it with new content as you progress. Deliberately recalling information is the critical ingredient for successive relearning, so be sure to lock it into your memory by writing down and committing to an answer before checking your notes or textbook.

Remember that without deliberate recall practice, little information makes it into your long-term memory, which inhibits effective long-term learning.

So, put down your highlighter and try something new. Just regularly thinking about a topic and recalling the particulars is a real opportunity for success.

Danielle Brewer-Deluce is an Assistant Professor at Western University’s School of Kinesiology.