Better HN
topnewbestaskshowjobs
Log inSign up

bertday

270 karma · joined May 29, 2021 (5y ago) · 277 submissions

Submissions

comment 5y ago · link · parent

I mean it’s a bit murkier than that:

1. GPUs used to be much less programmable and had fixed-function graphics pipelines.

2. General purpose GPU computing was demonstrated a decade before the 2012 deep learning craze. OpenCL/CUDA was quite mature in 2012 and used by high performance computing.

3. Transistor scaling (Moore’s law) has been speeding everything up exponentially.

4. There are a lot of non-GPU solutions now.

If GPUs didn’t exist, someone still could have trained a deep model on a cluster of CPU, and then we’d end up with GPUs (or similar hardware) again. So it’s not necessarily true that gaming->GPU->deep learning implies that GPUs couldn’t be used for deep learning without gaming, because you could have had CPU->deep learning->GPU. I think this was much more of a case of the stars magically aligning than some preset goal by Nvidia/AMD.

In fact, there are plenty of cases where you had CPU->research->HW accelerator. One example (on top of gaming/rendering) is compression or parity coding, which was slow initially and then had add-on cards and/or CPU extensions.

comment 5y ago · link · parent

Yeah, the motivation is pretty easy if you consider that much of software engineering is the same process (e.g., performance tuning), and on top of that you get prestige and do some math on the side. It’s basically a research version of test-driven development.

comment 5y ago · link · parent

Thank you for the comment and I wish you luck. Yeah, I remember organic carrots were hip among past engineers a few years ago. I’d imagine it’s pretty hard to figure out profit projections without lots of years of data. I think apprenticeship is the only way to get going, and you seemed to have done that.

Do you feel like you are “working” in a traditional sense? I myself think I will have some sustenance-level farming as a hobby but I don’t think I would commit to doing it as job; I’d probably do a bakery before then ;)

comment 5y ago · link · parent

How does the effort pay off compared to a “normal job”? I get the fulfillment aspect, but is it cost effective for the labor?

To give an example, I can buy a few pounds of potatoes for $5, and I cannot possibly see how I could do better than that myself.

comment 5y ago · link · parent

How do you know if the building is structurally safe? I’m all for DIY in general, but with respect to a house, my biggest concern would be having the second story of the house collapsing into the cellar :)

And yes, my grandparents in Europe also build their house like you say. Not being involved in the process (nor other family that I know of), I’m afraid that such knowledge isn’t being passed down.

comment 5y ago · link · parent

The diagram has 3 input companies and 3 output companies, so at a surface level it seems nothing has changed. Even Google Fiber couldn’t compete with the big guys because (at least partially) these utility companies are so entrenched in lobbying etc.

I don’t doubt the break-ups are effective in the short term, but the long-term behavior in this case seems to be less affected.

comment 5y ago · link · parent

AT&T just re-merged after the break-up, so it’s a bad example.

See the diagram: https://www.theverge.com/2016/10/24/13389592/att-time-warner...

comment 5y ago · link · parent

How hot does that get at full load? I was worried about having so many cores at factory if not overvolted. For example, you can find plenty of people freaking out about 5800X temps. On the other hand, people claim the high temps are fine.

comment 5y ago · link · parent

I believe the applications are mostly what you describe. You take a very general algorithm like a NN or raytracing and scale the model and/or data.

For NN, it’s quite easy to use a huge amount of memory by making back-propagation chains huge, which is natural for deep models or a recurrent architecture. The model doesn’t have to be huge in a conventional sense; it just has to maintain state e.g., the recurrence.

So, a big image model on video classification/segmentation (e.g., self-driving cars) is probably the ideal combination of memory consumption.

comment 5y ago · link · parent

Nit but bandwidth isn’t related to memory capacity. Bandwidth is a function of cache/access pattern and is independent of total memory size.

comment 5y ago · link · parent

Yes, but it’s meant to do ML inference, which can be parallelized decently. On those workloads, you can use GPUs, which are also composed of thousands of “wimpy” cores.

comment 5y ago · link · parent

Related: a common mistake is treating foods as binary “healthy” or not. Nuts, for example, can be “healthy” but ten handfuls is probably excessive.

comment 5y ago · link · parent

The food-pyramid is honestly creepy. First, the order of foods is determined by invested corporations. Second, it’s arranged in a convenient shape (triangle) like some poser illuminati cult. Third, it’s taught to kids when they don’t know any better. Also, it’s even less readable than a pie-chart (angles are now replaced with surface area calculations), further giving it more mystical properties than quantitative guidance. It’s an appeal to psuedo-science.

I agree we should be teaching food fundamentals in schools, but it’s pretty hard when cereal and soda are so normalized. Normal food just tastes worse in comparison (I’ve lost count of the number of people who limit their food to chicken tenders). If you have parents who don’t cook, it’s pretty hard to break the cycle and your food preferences will likely shift to what’s readily available.

I think it’d at least be enlightening to show people how the food is made, so they could see for themselves. Perhaps they could have a lab where you make soda out of cups of sugar (or fry food)?

comment 5y ago · link · parent

Yes, a great current example is consumer motherboards with Intel’s I225V network controller. The controller is unable to run at 2.5Gbps without a fix. The controller was fixed in revision 3, but a huge number of boards are shipping with revision 2. This is two years after the issue was identified, and there is no way to see which one you will get. Even boards manufactured this year have the old NIC, so I assume vendors are being shady to liquidate old NIC stock.

So you get sold a motherboard with a 2.5X NIC slowdown compared to advertised (it gets downgraded to 1Gbps). Update the figure on the box if you’re going to do that!

comment 5y ago · link · parent

It’s the same thing but more time consuming.

If you knew this was happening, you’d create N accounts, match with the same person, and average queries over account pairs.

Also, if the error is constrained to be the same, then the attack is reduced to estimating the radius of a circle where you are given points on the perimeter, which you should be able to do in very few queries (3?). I haven’t worked out the triangulation math but you’d basically solve for x^2+y^2=r^2.

comment 5y ago · link · parent

It’s only a partial solution; you still need to limit the queries. Otherwise, just sample a large number of coordinates and average out the noise.

comment 5y ago · link · parent

The notion of fairness you are discussing is 1) vague 2) very similar to standard training. If you have an optimization problem that represents your fairness, it’d be more useful to just compare that with the other problems in the literature. Otherwise, it sounds like you want max accuracy and max fairness, which is unlikely to occur on non-degenerate datasets.

Anyway, if I’m understanding correctly, you would end up with “individual fairness” if you did formalize your fairness, which is discussed in the linked papers.

comment 5y ago · link · parent

Ok, a lot to unpack here. The viewpoint I am presenting is not novel and is what the paper is about. These “academic” notions of fairness are things you can prove for models, unlike ad-hoc variants that “feel” fair. So it’s not “my” viewpoint, but the broader “academic” viewpoint.

If you look at section 5.2 of this paper and re-read my post, you will probably better understand what I mean https://arxiv.org/pdf/1912.06883.pdf

A very similar example is discussed in 6.2 of https://arxiv.org/pdf/1104.3913.pdf, which is a seminal work in the field. Also see Appendix A point 2 for more discussion on encoding race/sex in correlations.

My top-level post was asking what we care about, which is in-line with the running example. I doubt society really cares too much about fairness in running vs. say insurance claims and race. My point is that even with a perfect correction model, you still need to agree on what correction to apply.

And yeah, for DNA, I agree with what you said. But if you use the same “unfair” model for non-personal use, you very quickly start running a eugenics program (e.g., deny healthcare for all people with a marker for cancer), which is generally viewed as bad. Basically, if you aren’t impacting society (e.g., personal use), then fairness is irrelevant.

comment 5y ago · link · parent

It depends on the definition of fairness, which is what I’m trying to argue for. Practically speaking, heavy correlation and casual relationships are similarly problematic. If you correlate enough of the variables, you can limit your pool to a very particular group of people. And if your group of people is 99% of race/gender/age, then is that practically any different from doing a direct filter?

The usual definitions of fairness actually have the strong constraint that the response (Y=f(X)) is independent of the fairness variables (f(X|Z) is the same for all fairness values of Z). So, concretely, if Z is gender, then you have the same insurance outcome regardless of gender. In this definition, the setting I described is unfair, since the correlation on education will bias the model to predict in a way that is correlated with race.

The only practical way to satisfy such a strong definition is to do a correction on the data, which is a pretty straightforward optimization problem if you formalize the constraints. And yeah, usually you lose predictive power in doing so.

For the record, the strong definition makes sense often times (to me). You wouldn’t want health insurance using your DNA as a predictor, likely, even if genetics are very predictive in that domain.

comment 5y ago · link · parent

That’s not really true.

Say you want to know if you should approve someone for insurance.

SELECT AVG(profit) WHERE feature == $user_feature;

Say “feature” is education level and then suppose education level is correlated with race or gender. Then you implicitly are writing a query to filter by race or gender. Humans often don’t consider these implicit correlations.

An AI would do the same. When it’s human face detection, then sure, humans would find the mistakes quickly. But SQL data is very easy to implicitly bias, and like I said, you can slice the pie millions of ways for various reasons.

On the other hand, if we had a simple definition, then the database could raise an exception when the condition for the query failed.

comment 5y ago · link · parent

Have we even figured out what bias we care about? Race, gender, age, etc. are some potential problems, but is that it?

These sorts of problems are often formulated theoretically (“suppose we want fairness with respect to variable Z”). It seems that half the battle is to figure out what to be fair with respect to. Often, the fairness variable in question isn’t even a feature, but is implicitly in the data (e.g., race in human photos). Therefore, the fairness space is potentially infinite.

For example, maybe life insurance models are biased toward those predisposed to developing cancer. Maybe ads target those suffering depression. You can continue partitioning the space in this way forever, and, therefore, it seems that the algorithms are relatively straightforward if you could formalize the bias requirements.

This is before you even consider the fairness variables interacting (e.g., age and gender and race), which requires potentially normalizing across exponentially growing feature combinations.

comment 5y ago · link · parent

Most will not pass up an opportunity to keep their job or get promoted, so I think the practical answer lies elsewhere in the research pipeline.

comment 5y ago · link · parent

The way I think about it is that the attacker has plenty of time (years) to either guess or discover the viability of an attack. For example, inspecting packets and reverse engineering, correlating photos with police visits, creating a hash database using black market data, etc. will all be used to determine if an attack is working.

Same thing goes with the worm. Posting infected memes is one way and that’ll passively get some downloads. Another way is to text the pictures via bots to people and hope their SMS is iCloud backed up. The point is if someone figures out how to make an attack, they (or entity they sell it to) will almost surely spend great effort in social engineering the distribution.

I agree that it’s probably not the right term. My main concern though is that the class of attacks that is effective against one model will likely be effective against the entire class of similar models. So Apple’s main defense is the limited feedback loop caused by keeping part of the modeling private rather than a traditional computational complexity defense, which would allow disclosure of the entire implementation. It’s taken one week for the proof of concept to be demonstrated and most of that was likely boilerplate API code; it would take perhaps even less time to retarget if Apple disclosed the entire implementation with a different model. The demonstrated attack was textbook material, so it’s not unreasonable to believe that all attacks are textbook material.

comment 5y ago · link · parent

The privacy aspect does seem novel, and that paper evaluates the various aspects of privacy and the quality of perceptual hashes. However, anything concerning privacy (of client or server data) is orthogonal to the vision methods underpinning the system, which are well understood and are the primary cause of the post. For that matter, I don’t see how the paper’s proofs of privacy and/or formalization of the problem help with hash collisions. And that particular paper doesn’t use deep learning methods which are probably easier to attack with off-the-shelf methods.

comment 5y ago · link · parent

> Apple genuinely believe this is a novel and unique method to catch CSAM without invading people's privacy

What’s novel about this? The technique and issues with it are fairly obvious to anyone with experience in computer vision. It seems not too different from research from 1993 https://proceedings.neurips.cc/paper/1993/file/288cc0ff02287...

The issues are also well known and encompass the whole subfield of adversarial examples.

comment 5y ago · link · parent

Citations follow some power-law type of distribution, so the 10% (or whatever) of useful ones are basically the high impact papers, anyway. It would be more surprising if citations and usefulness were anti-correlated in some way.

Back to the “gradient” analogy, in this case, papers have a feedback mechanism to suppress less useful papers. Science is not a random flurry of results mashed together.

1
678910