HNHacker News
TopNewBestAskShowJobs

agentofoblivion

653 karma · joined October 2, 2016

submissionscomments
agentofoblivion··on Training a Neural Network to Fall
Who would have thought that choosing an LSTM on iteration 1 for embedded C code would have been fraught with challenges.
agentofoblivion··on Ask HN: Engineers from non-CS background, how did you pivot into ML/AI?
In my particular case, I did quit my job before I got my "real" Data Science position. I can't recall exact timelines, but I think I had already lined up the relationship with the startup.

The reason I did this is because there just wasn't enough hours in the day, and my job was taking ~10 hours a day with commuting...etc. It was a risk, but the idea was that I would be able to transition much more quickly if I worked full-time towards it. I also had the financial savings to support myself for 6-9 months and was willing to get a part time job if necessary. Once it became clear that my job's only purpose was to pay the bills in the context of my goals, and I had enough to pay the bills for the near future, it was clear that quitting was the easiest way to free up a lot of time.

This turned out to be the best decision of my career, but YMMV. I doubled my salary in less than 2 years. It's also nice to be part of an industry that isn't so cost-sensitive. I also have a skill set that's in much higher demand, so you can live almost anywhere and there's a ton of companies that want/need it. With semiconductors, you're much more limited.

It's true that you're giving up some expertise and will start in a less senior position in a different field than if you stayed in semi. Sticking around because you have experience is classic Sunk Cost Fallacy. Think 5 years down the line. If you leave now, you'll have 5 years experience in ML. You'll definitely be giving something up if you leave, but there's huge opportunity cost if you don't leave.

agentofoblivion··on Ask HN: Engineers from non-CS background, how did you pivot into ML/AI?
I think I agree with you with the caveat that it would depend on what they're researching. If they're researching new model architectures, I don't think it makes sense for them to try to implement the algorithms from scratch in C++/CUDA to do distributed GPU training--why not just use TensorFlow? But if you're researching distributed tensor computation, then that's your bread and butter.
agentofoblivion··on Ask HN: Engineers from non-CS background, how did you pivot into ML/AI?
I think it’s unlikely to become expert in all of those things. If you do, it’s over the course of an entire career, not to get started. I guess it comes down to how much expertise is “enough” for you. Naturally, if you split your time across 3 domains you won’t be as expert as someone who dedicated all their time to going deep in one.

In the context of a big company, I think it makes sense to have a specialized workforce. Why look for the one in a billion person that can publish top quality theoretic papers and then implement them on distributed gpus in an optimal way while also building simple Random Forest models for your business? I’d rather that person do more of the most valuable thing, and then hire someone else to do the rest.

agentofoblivion··on Ask HN: Engineers from non-CS background, how did you pivot into ML/AI?
I basically did what you’re talking about. Masters in physics, then went into semiconductors as engineer and materials scientist, then switched to Data scientist at a bank for 18 months, and now have been a research scientist in AWS for almost two years.

In Amazon, it’s easy to move around, but not between job families. I think it’s a bad idea to join as a SWE and try to transfer because they want people that have done it before, and you’re unlikely to do that sort of work as an SWE. I think it’s better to get experience in the role you want at a less prestigious company. You’ll learn a ton. Pick the best company that will have you.

My personal turning point was when I did free work for a local startup in exchange for them letting me take the Data Scientist title. To a recruiter, it’s totally obvious to hire a data scientist for a data scientist role, and isn’t clear at all what physics has to do with it. Recruiters are the first step when you’re starting fresh, so make it easy for them.

I also somewhat disagree with many of the comments here that textbooks are better than tutorials. If you buy these 1000 page graduate level texts when the idea that you need to read them cover to cover, you’re likely going to give up and fail. Instead, buy the books and put them on the shelf, and then work through tutorials and examples. Then reference particular sections of the book that are relevant to your work to add depth.

Finally, I recommend against starting with deep learning. There’s a whole helluva lot to learn with basic techniques. Very few companies are actually using deep learning in production systems. Start with linear and tree based methods to learn all the stuff about how to frame the problem and build robust systems. Then you’ll have a deeper appreciation for DL.

A reasonable person could disagree and say that there’s so much domain specific stuff around the art of DL that it really behooves you to start there ASAP. I would counter that you’re unlikely to be considered for positions using DL unless you’re pursuing your PhD in it, or have proven yourself in industry. Since that isn’t your situation, I’d wait until you got your foot in the door somewhere and then pursue DL on the side. That’s what I did, and then you look like a hero to your boss. This strategy led to my first publication in the field and I’m now working on DL almost exclusively.

Edit: one more thing. Think carefully about the type of work you want to do. My advice is assuming you’d like to be a person that trains/deploys ML models to solve problems in industry. This is much different than an ML Engineer, who’s implementing algorithms in low level languages and squeezing out efficiency. Obviously that would require a much deeper understanding of SWE. And a totally different person is an academic researcher that’s developing theory or technique. It’ll be hard to do that without a PhD.

agentofoblivion··on Ask HN: What was your experience using a graph database?
Understand the difference between graph querying and graph processing. If you have a question like, “give me all the friends of friends of person X that share a college”, then that’s a query that a graphdb would be helpful for. Saying, “find clusters of nodes based on relationships of types x, y, and z” is a processing job. You might need to query the graphdb to get the graph data that’s then loaded into a graph processing engine.

So be clear on exactly what you’re trying to do.

agentofoblivion··on Ask HN: Books you read in 2018?
Secrets of the Temple. An absurdly good read on the history of the Federal Reserve system. I learned a tremendous amount about how our world works, and how we got to where we are today. Very eye opening, and a little scary how powerful they are. (Not conspiratorial in tone, as the title and topic might have you believe. Very balanced narrative.)
agentofoblivion··on What If Amazon.com Actually Is a Horrible Website?
You’d think they would have at least one smart person like you guys in their 300,000 employees to make these obvious fixes to solve all their problems.
agentofoblivion··on Big List of Naughty Strings
Why do strings like “dW5kZWZpbmVk” cause problems?
agentofoblivion··on Nvidia Gives Lackluster Forecast on Inventory, Shares Plunge
I’m still bullish on Nvidia because they essentially have the entire deep learning market. I think attempts from e.g. Google to develop their own chips will fail, just as they fail in every non-software venture I can think of, and even a lot of software ventures.
agentofoblivion··on BlackRock shelves unexplainable AI liquidity models
Your point on (2) and bias may be correct, but I disagree about interpretation. If there's a one-way causal link between A and B (e.g. B causes A, but A does not cause B), then should you interpret the presence of B as having an impact that sums the coefficients, or ignore the correlation and pretend the impact came from A?

Or what if A always caused B, but the impact was slightly less than if B occurred without A? In that case, the sign on A might be negative, but its presence would actually tend to increase the probability of class=1, it's just that the positive impact has already been counted by variable B.

Maybe you try to avoid this situation by adding in an explicit interaction term of A*B, but then how do you interpret the impact of A since you now have more than one coefficient?

If you feel confident making assertive statements about what has been learned by looking at an equation fit on multi-correlated data, then your mathematical intuition is much stronger than mine!

agentofoblivion··on BlackRock shelves unexplainable AI liquidity models
Here is a paper on the topic of NN = Bayesian Posterior Probabilities: http://www.ee.iisc.ac.in/new/people/faculty/prasantg/downloa...

Re: comment on showing "top" variables from a model, I agree this could have utility. But I would add that the devil's in the details, and there are multiple ways to calculate importance values, each of which has its own nuances and pros/cons.

For instance, how do you compare the importance of a categorical feature to a float feature? Do you one hot encode and then add their individual importances, take the average, or something else? Although sampling from the columns is meant to help deal with feature correlation, under what conditions is this effective and how do you know if your feature importances are safe? Moreover, how does this column sampling work in the context of one-hot-encoded categorical features?

This is all a way of saying that while you can devise methods for coming up with metrics, and then assign them handy titles like "Feature Importance", the reality is that these things are pretty nuanced and limited, and upper level management might be fooling themselves by thinking they're "interpreting a model" if they don't recognize the limitations and nuances involved. Or to put it another way, to say "I better understand this model because you gave me a feature importance list and a partial dependence plot," is a dangerous over-simplification.

agentofoblivion··on BlackRock shelves unexplainable AI liquidity models
I hear this a lot. In my opinion, people overestimate their ability to “understand” non-neural net models.

For instance, take the go-to classification model: Logistic Regression. Many people think they can draw insight by looking at the coefficients on the variables. If it’s 2.0 for variable A and 1.0 for variable B, then A must move the needle twice as much.

But not so fast. B, for instance, might be correlated with A. In this case, the coefficients are also correlated and interpretability becomes much more nuanced. And this isn’t the exception, it’s the rule. If you have a lot of features, chances are many of them are correlated.

In addition, your variables likely operate at different scales, so you’ll have needed to normalize and scale everything, which makes another layer of abstraction between you and interpretation. This becomes even more complicated when you consider encoded categorical variables. Are you trying to interpret each category independently, or assess their importance as a group? Not obvious how to make these aggregations. The story only gets more complicated for e.g. Random Forests.

I think it’s best to accept that you can’t interpret these models very well in general. At least in the case of some models (like neural nets), they approximate a Bayesian posterior, which has some nice properties.

agentofoblivion··on Quitting Amazon 5 months after I started
I work at Amazon. Was hired in at L4 and promoted to L5 within one year, which is a little early, but not by much. I think 18 months is typical.

I want to say that I like their promotion process. It’s designed to be transparent and owned by the employee. I’d much rather have an ongoing conversation with my manager, using the doc as an excuse, that keeps the conversation on how close I am and exactly what I need to do to progress. This is far better than just working heads down and quietly wondering when you’ll be picked.

It’s also designed to persist in the event your manager leaves, which is a high likelihood event in the tech world on the scale of years. It would be really bad if your promotion totally depended on the support of one person who then leaves and you’re left at square one. At Amazon, boxes are ticked and they stay ticked if your manager leaves.

Yes, it takes time to maintain this doc. But it mostly is an excuse for you to have an open conversation with your manger and focus the conversation in a way that helps you grow and progress. It may not be perfect, but it’s designed with all the right intentions and in my experience has been very helpful and effective.

I also struggled with trust early on, but that’s not an amazon thing, that’s a human thing. People will tend to not take the new guy whose preaching big changes seriously, especially if he’s at a lower level. In that case, I found the best strategy was to find the high trust members, get their buy in first, and then present it as “I was talking with X and we think...”. That way, you get to borrow their trust level and he heard, and stengthen the relationship with them. Plus, they probably are better and smarter than you, so the conversation will likely lead to you learning something and being better off than just pushing your ideas on people that aren’t really listening.

agentofoblivion··on 1 in 4 Statisticians Say They Were Asked to Commit Scientific Fraud
How do I know this study isn’t part of the 1/4?
agentofoblivion··on Chicago95 Linux Theme
Why would someone want their modern computer to look as if they’re on Windows 95? That’s a reasonable question.

And F the elitist douche that thinks I’m not smart enough to read Hacker News, as if tech people are just sooo brilliant.

agentofoblivion··on Chicago95 Linux Theme
Why is this a thing? Serious question, not being snarky.
agentofoblivion··on Ask HN: Help, I am stuck in another pointless weekly meeting
Stop going. I’ve used this strategy a lot, and no one seems to care. You’re likely overestimating the amount people are thinking about your presence.

For the first time or two, have a response ready, like “oh I just had to make progress on blah, did I miss anything important?” After awhile, if anyone asks, you can say that you don’t feel like you add enough value to justify the time spent. Your boss can always correct you and ask that you come again, but that at least gets him to evaluate if it’s important.

agentofoblivion··on Ask HN: I just started blogging; how can I improve?
Seth Godin has some tremendously clarifying ideas on this subject. Step 1 is answering the question “What is this for?” If the point is to exercise a muscle, then show up and write week after week and don’t worry about if anyone is reading it, and how to grow...etc. That’s a distraction to what you set out to do.

I have done something similar. To make this point clear to myself, I do not use any sort of tracking, so that I couldn’t figure out traffic numbers even if I wanted to. And I don’t advertise at all or put effort into growth, aside from dumping a url on LinkedIn.

One really nice benefit of writing about technical stuff and lessons learned is that it’s a great resource for future you. Just yesterday I pulled up my own article because I forgot how to do something I used to know really well when I was in the weeds. If you take the time to write it up, you’re free to release it from your brain.

agentofoblivion··on Facebook has lost 30% of its value since July
Let’s consider the future of Facebook in various time ranges:

- 1 year: about the same as now - 5 years: still corners social media, but not as front and center in public consciousness - 10 years: like google and apple. Not an innovation powerhouse, but still dominant. - 40+ years: like Sears?

It’s the post 10 years point that seems interesting. We basically know how the story is told for top companies.

agentofoblivion··on Nissan Admits Internal Emissions-Test Results were Falsified
This is easy to pontificate about. How do you actually bring about culture change?
agentofoblivion··on Why I Don't Love Gödel, Escher, Bach
I also found the book to be pretentious and full of nonsense. It gave the impression something profound was being said, but was mostly poetic license that might be charming to some, but I found to be irritating since it seemed to confuse rather than clarify.
agentofoblivion··on How I Fail – Ian Goodfellow
I think the most likely cause of his success is not related to his talent, but his focus. When I was choosing a college, I wasn’t thinking about advisors. It certainly never occurred to me to find the best guys in the field and try to get in under them. It just sounds too far fetched to be a real possibility. But it is a real possibility, of course, and the people that identify that and go for it have a remarkable outcome of accumulating advantage. It’s like compound interest. Go to the best school you can. Get under a top advisor in grad school. Publish in top journals. Work for major companies. At this point you’re surrounded by the best and have become the best. You have to know what you want early, and then optimize your ass off. I was late to the party, but the last couple years have been huge successes for me relative to previous parts of my life, and that started with saying to myself “start by applying to the very best and working down from there.”
agentofoblivion··on The Moon in 4k resolution [video]
Man, NASA needs to hire some design and marketing people. They have a talent for making amazing outer space content boring.
agentofoblivion··on ‘Nobody is using it’: Amazon Spark is not taking off with brands, agencies
I work there and have never heard of it.
agentofoblivion··on Users Abandon Facebook After Cambridge Analytica Findings
If you’re worried about privacy, there’s an alternative strategy to removing data/tracking, and that’s obscuring your data by burying it in the noise of fake data. I’ve installed plugins that automatically issue searches, crawl pages, and click on ads. Clicking on irrelevant ads destroys the value of ads themselves. This pleases me.
agentofoblivion··on Defect that causes Huntington's disease has been corrected for the first time
Really cool to see progress on this terrible disease.
agentofoblivion··on 2017 Was Bad for Facebook. 2018 Will Be Worse
This is a bullshit thing I always hear from pro-FB people. I tried doing that and the result was that my feed is incredibly sparse because it turns out that the most annoying people are the ones that post often, and regular people rarely post. So now, every time I log in, 85% of the content is something I've seen more than 3 times already. Your choice is either crappy content, or redundant content.
agentofoblivion··on Algorithmia – Open Marketplace for Algorithms
I plan to do this someday too. I've reached out to several on your team via LinkedIn and have been greeted by a lot of friendly people.
agentofoblivion··on How to get your first 100k active users
Interesting use of the word "users".
← PreviousPage 5 of 6Next →