2,943 karma · joined Oct 15, 2007 (19y ago) · 1,352 submissions
comment 4y ago · link · parent
Furthermore, ML orgs often have to make labeling and training efficient by sharing resources & strategically triaging only the most impactful experiments / picking the most impactful things to label.
There's also the pace of progress in the field, and often organizations will have dedicated data science / ML folks who want to run experiments to improve the models upon each retraining. The infra needed to unlock rapid prototyping is quite a lot.
If you have a lot of models and you're re-building the end-to-end stack each time, you end up with a ton of wasted work. A lot of this stuff is also pretty specialized. It's a bit like asking all your engineers to set up their own web server, proxy, monitoring / alerting, maybe a load balancer, etc etc. Plenty of people know how to do it, and for small companies doing 1 or 2 ML models maybe that's fine. But for corporations at scale it makes no sense to do it like that. And when you're at scale, a small team probably works on the load balancers vs the base infra vs the software platform vs the features. ML works the same way.
Some real world examples where you can imagine how much infra you need within ML-heavy organizations:
- Say you want to build a _motorcycle detector for a self-driving car_. You need to build a data extraction pipeline that processes images, gets the segmented objects, sends each object for labeling, then when you have all your labeled data, you need to split it into test/train/validation (and make sure you use the same splits as everyone else building the car's software), then you need to have these piles of images integrated with additional information needed for training (e.g. how fast the object was moving, what time of day), you need to upsample/downsample certain cases (e.g maybe you need to upsample examples of motorcycles at night), then train a net (locally, or in the cloud, or maybe as part of N experiments to tune, on shared infrastructure that M people are using where jobs need to be prioritized), then evaluate (do you need to build infra to harvest important metrics, like how well your model performs when the car is driving on a slope? in fog?), then optimize for onboard (are you going to run it on CPU? GPU? Accelerator? Do you optimize it using TensorRT? Your own quantization infra? Distillation?), then deploy (and monitor -- is the model eating too much memory during inference? Being run too many times? Not doing the right thing?) Okay your model works -- you sure it will keep working when motorcycles look different 10 years or even just 1 year from now?
- Say you want to build a _spam detector for your social media website_. You do everything above, build and deploy your model to the cloud, and suddenly you realize it's not working, a new spam campaign has occurred that your model can't account for. You need to add more labeled data, but how much and where are you going to get it? After adding it, what's your overall data look like? Adding it didn't help your net as much as you expected, why? The model-level eval looked improved, but combined with a rule-system together, it got worse. Crap, how to debug? Okay finally working, how stale is the data in your model after 1 year? Did we regress on something when we solved the spam campaign? You have a computational budget for how big the net can get, because it's used real-time to judge spamminess of posts on a major website -- maybe you care about what hardware your model is running on and how to best optimize for that hardware. Maybe you use cloud TPUs, where large batch sizes help you to scale. Maybe you use graphcore or something that thrives on small batch size. What if you started on one, moved to the other, and suddenly your net isn't working as well? What if you upgrade from a gtx2080ti -> gtx3080ti and see that your net has a prediction regression? Do you have infra to detect these regressions? Over time, when your data got an order of magnitude bigger, you noticed that your net's hyperparams were no longer optimal. You needed to increase your learning rate, or decrease it. Did you notice this issue, and do you have the infra to do that tuning quickly? You notice your labeling budget is too small to label everything flagged as spam. How do you decide which things are most worthwhile to label?
You have to build infra for all of this. MLOps are needed every step of the way. It's not that different from needing SREs and cloud infra engineers to run your cloud services & organizations.
Labeling infra alone is a big enough market for companies like Hive and Scale to build billion-dollar businesses.
comment 4y ago · link · parent
Classes and independent study are great, but a lot of these companies want to hire experienced folks for ML roles, so once you have picked up some basics from independent study it's helpful to get an _ML adjacent_ role to help you start moving laterally toward the ML engineer position you want.
comment 4y ago · link · parent
comment 4y ago · link · parent
Yeah I'm going off of the ~20 sentences I've spent time reading from this anonymous person on the internet. You're not doing much in these responses to demonstrate comprehension of my points so maybe it's gg.
> If you can't see that abortion is polarized along partisan lines, we live on different planets.
I didn't dispute this very basic fact. But again, this wasn't what my comments were about.
comment 4y ago · link · parent
My other point is that Planned Parenthood and abortion are of course polarizing topics but pro-choice folks are not as monolithic in ideology as the core republican base, so it's weird to see statements like this which you made:
> She is especially respected on the political left. That makes her statement especially surprising because the left has been the side pushing the mask mandates.
This rings untrue, and like someone's been watching too much angry news. And characterizing mask mandates as some nonexistent "left-wing agenda" is also really unfair to folks who may not have progressive politics but support masking. My parents for example are Christian capital-R Republicans but think it's bonkers that we can't get folks to do what is best for the common good, in the name of "freedom." At least they understand, very minimally, the difference between fascism and emergency measures.
There are not two sides to this issue until one angry group of people decide "you're either with us or against us" and generate those two sides out of thin air. It's really stupid to do that. Abortion and masking are not related. That are you surprised an individual has a unique opinion different from "their team" is very telling.
comment 4y ago · link · parent
It might be healthier for you to see things less as "there are two sides" and reconsider how you analyze individual topics. When you say "this is the view of side L and this is the view of side R" you are in danger of missing nuance and views that cut across. If you identify with say, side R, you will bias yourself toward those specific viewpoints.
comment 4y ago · link · parent
The sweeping mandates are for our public health. These folks aren't asking us to mask up or vaccinate for their own benefit. And they can only sorta ignore their own rules, because aren't they being roasted in the media when they mess up? The fourth estate at work. It will affect their re-election chances.
> The problem is that so many elected officials don't abide by the rules that they push.
Hypocrisy sucks, everyone agrees. Gavin Newsom having maskless restaurant meals when asking the rest of us to stay home is wrong. But it's wrong mainly because _masking is good for public health_ and he didn't listen to the advice of the medical professionals that he was parroting, nor did he conduct himself in the way a public servant held to a higher standard should. It doesn't change that masking and staying at home _does_ help everyone, by keeping hospitals from exceeding capacity and minimizing needless death.
There will always be virtue signalers and hypocrites but let's not allow them to stand in the way of sane public health policy.
comment 4y ago · link · parent
I think it's fuzzier than that. Like, I think it's extremely useful to say out loud that climate change will cause large tidal events in the relative short term (sea level rise in the long term). And that an immediate action is for cities like Venice, New Orleans, and Miami to ready themselves for that. It's specific and should be motivating for a large group of people to do something (or risk losing their homes and possibly lives). You have to hope they connect it to the larger picture of things happening too.
> We don’t need to understand what’s inside the box when it arrives on our doorstep. We just have to avoid opening it.
The problem with this is that a lot of folks will do nothing if you don't unpack the box for them and explain how it will affect them.
comment 4y ago · link · parent
Jokes aside, everything's a tradeoff and while flood control / irrigation is helpful to farmers, it can also introduce a resiliency problem in quake zones, since a dam breakage can cause devastating floods. Actually, it doesn't even have to be an earthquake. Exhibit A: https://en.wikipedia.org/wiki/Oroville_Dam_crisis
comment 4y ago · link · parent
Look at dams like Oroville and Hoover now -- despite producing a lot of electricity, they are not resilient to drought, and river systems lose a lot of drought resistance when you add dams. When you dam a river, you slow and warm the water -- this threatens entire ecosystems adapted to survival where the river runs.
Particularly in salmonid / coldwater fish habitats, dams are pretty damaging. If you want to learn more about the subject, there are a lot of books & documentaries about the Eel river that are worth reading and watching -- the Eel is a good case study in what happens when you dam a river, and what happens when you un-dam it.
comment 4y ago · link · parent
They also don't solve the problem where dams slow and warm the waters running through them. Trout and Salmon need cold water to survive.
comment 5y ago · link · parent
People also seem to associate strong typing with compilers that bog down the write->run->debug loop, some of which used to have notoriously bad error messages, and things have changed because of JIT compilation (dart can even be both AOT compiled & JIT compiled), and also because modern compilers are so much better optimized and user friendly compared to just a decade ago (I mean, compare rustc error messages to GCC, lol). Compilers are doing a much better job today of helping decrease total debugging time.
FWIW this doesn't mean more advanced programmers necessarily move to strongly typed languages to increase their productivity. Instead, we are moving toward a progressively typed world (e.g typed python, typescript) to bring the benefits to users of dynamic languages as they begin to need them (without forcing them to use anything). And strongly typed languages are doing the opposite, e.g getting lots of dynamically typed features (e.g type inference in C++ with `auto`, initializer list syntax) which again, don't have to be used unless it helps with code readability and/or development velocity.
comment 5y ago · link · parent
I'm with you on "I'd prefer an eye tracker." Modern advances in eye tracking (saccade-based stuff!) are pretty sick, and make the technology usable for long periods of time. You have higher bandwidth input than motor imagery, and don't torture the eye like P300.
comment 5y ago · link · parent
I think it's quite a bit earlier than that. If you get motor imagery working, which is the most reliable signal (your brain is electrically very active when visualizing motor tasks), your accuracy rate is still crazy low. And it doesn't generalize across people since our brains are all pretty different. Some people can't make the EEG work.
comment 5y ago · link · parent
It is entirely accurate to say that there is literally _no_ public transport for major routes, for part of the day.
Also within the city, to access most parts you have no BART or other train, you only have Muni. And if you've ever tried to take it without the help of an app like Transit (or even with the help of the app) it's pretty unreliable and can be difficult to figure out. Compare to Taipei or even NYC where you can more or less jump on a train that arrives at regular intervals, at any time, and get to most parts of the city.
comment 5y ago · link · parent
It seems more effective to go outside the system: e.g. for affecting change in the military, use civic action. Run for office and change the rules. This works for fighting against bad companies like weapons manufacturers and polluters too btw, since you can push legislation to shape what they do.
^ The cynical take is that everything is too locked-in-place for an individual to make a difference. But all important changes require a collective.
Going back to the original topic: if someone feels that Google as an organization of humans is broken from a values perspective (e.g. lacking systems to capture feedback from bottom up and allow that to shape decisions), the most effective way to change things is not to hopelessly try to become a C-level exec who makes those kinds of decisions. You either need to directly approach the folks in charge (e.g. a union actually helps with this, but also hopefully, if things aren't totally broken, there are internal forums that enable these kinds of interactions), or gather enough internal gravity to get their attention.
If you're in a workplace where neither seems feasible, all you can really do is leave.
comment 5y ago · link · parent
Imo unless you are a rich company or have a well funded research arm, it mostly seems wasteful to make someone's job pure modeling.
comment 5y ago · link · parent
For someone who wants to think their arguments are principled and others' aren't, this is really hilarious. What you stated isn't a metric.
> And we'll maintain it and use the money better with time, and raise more if we need it.
You make what you measure. How do you know we're using money better over time, and what historical barometers are you using for such an assertion? It's just not possible to build precise metrics around this. So it's important to be clear what proxy metrics you're using and to state the caveats of these very clearly.
If anything I think there's strong evidence that we're using money worse as time goes on. For example https://en.wikipedia.org/wiki/Lockheed_Martin_F-22_Raptor the raptor cost $350M per aircraft, is no longer produced, and didn't even provide us superiority over its foreign competitors due to lack of flight range. Is that what you'd call efficient spend?
Do you really not see any problems with your advocacy for unlimited one-sided investment? You do realize it's possible to be simultaneously {pro-freedom and pro-american military supremacy} and {against unfettered military spending}?
>> "Source: brother"
> This is not a source.
I wasn't saying it's a research source, I'm saying it's one of _my_ sources for what I'm stating. I'm stating my opinions and where I'm coming from, in order to minimally convince a random reader that I'm not just pulling stuff out of my ass. I'm not writing a research paper. I don't even state any specifics of what I've learned from said relation. In normal conversation it's perfectly fine to say stuff like "oh yeah Yelp is a bureaucratic company, I know because I have N friends who work there." It's not rigorous, it's not something you'd write in a research paper, but it offers value to a normal-ass conversation, which is what's supposed to be happening here. In this case, since my brother is a SEAL I've probably heard some stories about how the Navy spends money. If you don't have similar context, you might be like "oh that's interesting to me." You also can ignore it.> The opportunity costs of China or Russia telling everyone what to do? Have you not looked at any news recently?
Do you even understand what opportunity cost is? This is intellectually dishonest of you -- unlimited military spending is not necessarily needed to prevent China and Russia from telling us what to do. And you can also see, from the very news you say I haven't looked at, that unlimited military spending doesn't even prevent them from telling a lot of people (or "everyone" in your parlance) what to do.
Opportunity cost is: if I spend $1 on bullets, I can't spend that $1 on {healthcare, education, economic growth}. Consider the opportunity cost of even a single $350M F-22.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Another analogous situation is infosec. I used to work in that space, and a big problem companies have is trying to figure out how much money to sink into their infosec teams. Good orgs invest in infosec, but they also don't just give all their profits to those teams. The value proposition of security in general is just hard to measure; that said organizations have a tendency to either massively overinvest (because fear, and it's hard to measure) or underinvest (because you don't need it until something goes wrong). A lot of times they start out underinvested, something bad happens, and then suddenly they're overinvested because they are afraid of bad thing happening again. I think this last description is very apt for the US.
comment 5y ago · link · parent
Similarly doesn't take an Einstein to look at US Military budget and compare it to the opportunity costs: with just proportionally small portions of the military budget, we could change education and healthcare dramatically. A healthy well educated populace is actually really important for global competitiveness.
If you've ever worked in a large organization, you know that there's a difference between underfunding an effort and pushing back to force them to prioritize better and become more efficient with resources.
Also, normally in well functioning organizations, there are metrics to measure how efficiently resources are being utilized. The US Military lacks oversight in this dimension.