Posts

Day 24

Similar to yesterday, I went about poking the ladder network in hopes of exploiting every percentage of accuracy that it can offer. I really do think that this model has a lot of potential, seeing how well it does with MNIST with only 100 labeled samples. It's just frustratingly difficult to find the magic algorithms and numbers that make it suited for Pavia University. Even if I had a very deep understanding of how it works, nobody really knows how to pick the perfect learning rate, layer sizes, activation functions, etc. Research is hard.

Day 23

More noodling around with the ladder network today. Ron was helping out, and he put in PELU activation and weight decay to see if they yielded better performance. It hasn't been going very well; I think our highest accuracy is around 82%, which is still significantly lower than a standard SVM-RBF. On top of that, the model is still severely overfitting. While running tests, I worked on my presentation, which is coming along pretty well. I also didn't notice how close our last day was until today. I hope I'm able to get some good results before presentation day rolls around.

Day 22

Image
Today was my first day back in the lab, just in time for the undergraduate research symposium. Nate and I headed down for a bit to look around at the posters. I didn't know RIT had so many REU students, and there was a huge variety of topics. Everyone from the lab went down to stop by Angelina's poster, and Nate had a friend presenting there as well. There was definitely some cool stuff being presented. I mainly kept working on the ladder network today, trying to find out how to improve it. Once again, Andrej Karpathy's wonderful course notes for his CS231n class helped out a ton. I mainly focused on testing different learning rate functions. These functions determine how much a neural network adjusts its weights after every iteration of training. The goal is to minimize loss more efficiently. These are a few examples of learning rate functions. I originally had the "Rectified Linear" function, but I noticed that loss and accuracy would hardly change after...

Days 18-21

I was out of town for these few days. I hope I didn't miss too much.

Outline

Motivation/Background: HSI classification What is HSI? Comparison to RGB The advantages of HSI over other kinds of data Instant, remote, nondestructive data collection Hundreds of data points per pixel What is classification? Introduce using toy data set, like CUB-200 Applications of HSI classification Cancer detection Art authentication Food quality analysis Remote sensing Urban development agricultural monitoring environmental assessment Problems faced High dimensionality Scarcity of labeled data Method: MCAE and Ladder Network Feature Extractors Baseline: PCA Inspiration: Autoencoder Our proposed method: MCAE Classifiers Baseline: SVM Inspiration: Neural network Our proposed method: Ladder network Results : State-of-the-art Comparison Comparison of MCAE against PCA and state-of-the-art Comparison of Ladder Network against SVM and state-of-the-art

Day 17

Working with the ladder network all day has brought some things to light. Firstly, and most importantly, the model is overfitting like there is no tomorrow. This means that the model memorizes the training data instead of generalizing. Contrary to what high school has taught me, this is undesired. The original model predicts up to 15% more accurately on training data than validation data which is very bad. I've been trying to change parameters to reduce this margin, but I haven't had much success. The main problem is that there are way too many knobs to turn. I could add layers, remove layers, change the sizes of layers, adjust the amount of noise, change weights of costs, change the initial learning rate, change the learning rate function, or change the optimizer. Decisions, decisions.

Day 16

The first thing I did when I got to the lab was test my changes. I believe the problem I was trying to solve was an exploding gradient, and my solution was gradient clipping. Don't quote me on that though. To my relief, it worked! Turns out there was a very simple solution to what seemed to be like a disastrous problem. I spent the rest of my time in the lab working on various parts of the ladder network. At 2:00, Mingming presented his driving simulator at Slaughter Hall. Watching Gerry drive like a madman and trying it out for myself was pretty fun. It's a cool project, and I think Mingming got some really good feedback/suggestions, which is nice to see. At the end of the day, the interns, REU students, and some staff drove down to the Mees Observatory. I'd never been to an observatory, so this was pretty cool. Unfortunately, we didn't get to see anything because of the weather. It was a good time nonetheless.