221 points · by Anon84 · 4y ago · 139 comments
I retired recently after using neural networks since the 1980s. I still spend at least 10 hours a week keeping up with DL, RL, etc. it seems like the roof has blown off the field recently, progress increases exponentially. I like material that makes me think of NNs with different intuitions. I am working on a CC licensed book consisting my experiments, in Jupiter notebook/Colab form - expect me to be shamelessly plugging that in a few months.
In the book, I especially loved this quote:
“You can hide a lot in a large-N matrix.” – Steve Shenker – John McGreevy
If you can spare a moment to answer: is there any knowledge from the 80s neural net ‘summer’ which you think has been forgotten now? As someone who’s concerned by both poor performance and overfitting (strongly correlated), I thought it was a shame that lots of the research around pruning (optimal brain damage, optimal brain surgeon, etc) has been forgotten[0].
[0] It feels to me as though the ML community has convinced itself - in defiance of information theory - that highly overparameterised models are totally OK, and can even successfully extrapolate with greater than random accuracy in the general case (‘double descent’). I worry that lots of these models are effectively succeeding only at interpolation problems, and only by virtue of the massive hardware advances that let us memorise the entire training set in these enormous models - basically Runge’s phenomenon writ large. People seem to be convincing themselves of magical things that are not mathematically sound.
WRT to overparameterized models, even the largest models such as Google’s PALM 540b model has several orders of magnitude fewer connections than the human brain. Remembering a set of observations doesn’t forbid deducing a general pattern. Imagine trying to understand why the Pythagorean Theorem is true without first memorizing what it states! Children often benefit from seeing and even memorizing many concrete examples before being taught the abstract principles which explain them all. Kepler deduced his Three Laws of Planetary Motion by analyzing four decades of careful astronomical observations compiled by Tycho Brahe. Implicit and explicit regularizations bias modern learning algorithms to seek generally simpler solutions in “wide flat basins of the loss surface.” For instance, the humble skip connection acts to help smooth out the loss surface.
For more modern material, there are a few new good books on Transformers. Transformers are interesting because they were designed for efficiency: layers the same size, encoding both data and time sequencing information in each sample (so recurrent NNs aren’t required), etc.
Published in 1996, but the content is all foundational.
The "deep" part of DNNs has basically thrown mathematicians and statisticians into an infinite loop that they can't quite compute yet. It's a brand new world and we need them to participate.
I am surprised and a bit disappointed this paper does not mention mean field theory or dynamical isometry at all.
Mean field theory applies methods from physics - namely random matrix and free probability theory - to derive an exact analytical solution for information flow through a neural network.
It turns out that simply initializing the weights of a plain CNN using a delta-orthogonal kernel allows all frequency components (Fourier modes) to propagate through the network with minimal attenuation. Specifically, networks train well when their input-output Jacobians exhibit dynamical isometry, namely the property that the entire distribution of singular values is close to 1. This technique effectively solves the exploding/vanishing gradient problem.
The impact is shocking: the time to train a NN to a given accuracy becomes independent of network depth. No tricks like batch normalization, dropout, or anything else are needed. This insight has been proven for a wide range of architectures from plain FFNs to CNNs, RNNs, and even transformers.
I highly recommended reading the papers “How to Train a 10,000 Layer Neural Network” [1], and “ReZero is All You Need: Fast Convergence at Large Depth” [2].
[1] https://arxiv.org/abs/1806.05393
[2] https://proceedings.mlr.press/v161/bachlechner21a/bachlechne...
(Incidentally, its clear this book doesnt make this mistake, already identifying that NN is basically kNN).
Rather ML algorithms are just rememberings of data coupled with various degrees of compression, with kNN having zero compression -- just a straight weights=data; and NNs having fairly significant levels, where weights=ensemble(compressions(data)).
We should therefore regard the ML step as incredibly trivial, it is just a clever process of averaging over the data given to it. The whole "magic" of ML, such as it is, is *only* in the data. And this is where the word "data" hamstrings our ability to see properly.
Everything *isnt* data; and "data" isnt some source of information. The world exists, and "data" is just what we call any measurement of any part of it by any means. "Data" is only *relevant* to the probelm we're trying to solve if we do incredible amounts of experimental work to carve-the-world along its joints, ie., to have the right concepts; and incredible amounts of work to measure along its joints, ie., to have the right units. *And then* to eliminate all the coincidences and irrelevances. *And then* to provide that to a machine, which at this point, does basically nothing but automate our effort.
Almost all data it is possible to collect is useless, indeed, an infinite amounts is useless. The magic of ML is a sleight-of-hand trick -- we dont really need to know how its averaging of our data does anything useful -- it almost never does.
Rather, it is our "experimental design" which produces the usefulness of the system. ML algorithms are just interpolations and averages through data prepared to produce useful averages by (literally millenia) of human ingenuity.
It takes actual intelligence to do this because the world isnt data, and almost any measurement one cares to make (with eyes, even) produces endless ambiguities and coincidences that you have to "be in the world" to resolve; and resolution is a dynamic process which you "have to be here for".
Who thinks this? You're talking to straw-men. The latent structure is absolutely present in the data, but a series of transforms makes the structure more readily available. (Where else would it come from? Forest spirits whispering to the model?)
The 'availability' is made evident by training a linear regression for classification on the learned representation (keeping the base network fixed). This works decently-well for a good representation, and not at all for raw pixels. The point is that you can use 'simple' algorithms - including kNN - on this transformed view of the inputs; it's not magical at all.
FWIW, I find the classification problem space to be riddled with conceptual holes, while other application areas are much less problematic. The use of neural networks for compression makes a lot of sense, and much of representation learning can be thought of as augmentation-invariant compression for some family of augmentations. Some of the recent big advances are really about getting away from the problems of classification.
Meanwhile, reinforcement learning, diffusion learning, recurrent networks, and GANs all bring different kinds of 'interactivity' into the learning problem, and resolve your complaint about ML algorithms working on 'just data.' The iterative processes in these models provide space to push against the data with decisions, and react accordingly.
I find your complaints to be lacking in curiosity or even knowledge about what people are actually doing in the field... Great results keep piling up and ML systems are used by billions of people every day, while you continue to call no-true-scotsman...
My model of "pen" can be observed in action when: I write with a pen; I'm asked to pass a pen; when I'm asked "what color pen do you like to write with?" and so on.
What is this structure "pen"? Is it a latent pattern within my experience? No! It is a means of regulating my body, imagination, emotion, etc. "The pen is mightier than the sword!" is something I can agree, or disagree with; I have a feeling about it. And in inferential contexts which require me to feel, I feel.
This is what animals acquire when they understand the world. This is what everyone believes ML is uncovering, whether they realise it or not. We just dont have these ML-like templates, so we don't realise how thin and brittle they are.
When ML is run on text, is detects character patterns which form "character templates" that other text can be compared to. I cannot ask, sincerely, what the machine thinks about whether "the pen is mightier than the sword" -- because it has no attitude towards that proposition.
The character structure of the phrase "the pen is mightier than the sword" relative to a body of text, has nothing to do with any concepts -- that structure has nothing to do with the inferential contexts in which those concepts will become useful.
Rather, this thin character-space text structure can be repeated to people in the form of an illusion: we the dumb apes who have the concepts are fooled into thinking that some machine assembling of these words had something to say.
This is a very cheap trick, and fails pretty trivially. The relevant structure to be learnt, the representation, has nothing to do with sequences of characters.
Though the industry likes to talk about "latent structure" in this data, it isnt latent. It is right there on the surface, indeed: it just is that surface.
When the machine is challenged to do anyything other than report this average surface structure, it fails. ML systems dont work. They improve ROI on the margins, but automating basically broken inferential rules at scale -- it is the automation here, and speed that is useful. Not the actual quality of inference.
This is trivially incorrect, and again shows a lack of curiosity. A couple obvious counterexamples are AlphaGo (and descendants) and AlphaFold, both of which have quality of inference far out stripping previous efforts. In AlphaFold's case the results are pushing forward a whole field of science. Plenty of systems at this point in history outperform human experts, and not just on speed metrics.
'"The pen is mightier than the sword!" is something I can agree, or disagree with; I have a feeling about it. And in inferential contexts which require me to feel, I feel.'
What are these feelings? Are they necessary for learning? Will airplanes never fly until they learn to flap their wings like birds?
'we the dumb apes who have the concepts are fooled into thinking that some machine assembling of these words had something to say.'
Still arguing with straw men here...
'The relevant structure to be learnt, the representation, has nothing to do with sequences of characters.'
Of course it does. For BERT, the output is a conditional probability of words based on surrounding context.
All learning is bound by kNN, including, I would argue, human intelligence. When we compare and contrast things, be it words, objects, or images, the very best we can do is to compare those “units” to all other examples that we have ever observed.
There is no such thing as generalising beyond kNN. The real magic in generalising is not how many nearest neighbours you are able to compare against, the magic is in _which_ qualities you use to determine the kNN. Another way to state this is: intelligence is in the distance metric/embedding/compression, not the ability to process all examples.
When we say that humans are able to generalise, what we really mean is that we are able to compare and contrast specific subsets of qualities for a given object against all other things objects we have knowledge for. The way we choose and weight those specific qualities is what results in our “intelligence”.
So when we say that NN == kNN, I think this is actually a really impressive achievement for neural nets. Neural networks are able to produce kNN level results with orders of magnitude lower compute. Humans too, are able to do this, and if we’re being very thorough, we sometimes fall back to kNN-like processes
Yes, kNN is the bound if you formulate learning as: there exists an f_true: Pixels->Animals; we have an infinite sampling of (Pixels, Animals); kNN performs at 100%. Therefore kNN is the bound.
Whereas I dont think this has much to do with learning. Learning for me is: the function probably doesnt exist, we dont know what its domain would even be, and we have no idea how to sample that space. You know: the history of human civilization, but also: the history of a day of any animal's life.
We encounter problems daily whose functions can only be modelled by partial input and output domains, and our job is to find ways of resolving the inherent ambiguities in those situations. Ie., to find what parts of the world are relevant, to find ways of measuring it, and hence to find more data until the ambiguity resolves itself.
kNN being a perfect algorithm is a catastrophe for this whole formulation of AI. All it means is that the whole field of machine learning has as its limit what you can do if you already know the answer. You can see from this that it isnt learning at all.
The situation is exactly backwards: ML assumes relevant well-carved unambiguous data. The whole problem of learning is precisely to produce it!
Doesn't the existence of unsupervised training and models that solve previously unsolved problems somewhat invalidate the NN=kNN analogy then? The protein folding problem didn't have an already known overall answer for instance. The model clearly 'learned' representational information that we are not aware of in order to be so much more effective at solving the problem than we are.
Or similarly with the Starcraft or Dota AI, while some strategies learned were similar to humans, others were entirely novel. I think that's getting pretty close to 'learning' as you've defined it.
> we have infinite sampling
We don't. You're taking the learning out of the process you're discussing by using an infinite sample. Of course, then, the machine learning part becomes trivial, and it's just an optimization problem for minimal training error!
If we have all the data, like infinite data, then we have the classification for every one of the (finite) number of possible images already. At that point, why stop at kNN? Use a hashmap!
If this were true, then all people who observe the same training samples would learn equally well and predict equally well. But we don't. Some of us invent a better loss function than others or reject irrelevant data better. The representation formed by the data is surely derived, not fixed in its raw form. Forming a better representation of the data is the art of learning better. I'm convinced learning and remembering what you learn is more than kNN; in humans it involves data compression and recontextualization as you improve your loss function or tie your old representation to newly learned data — old raw data and representations that heretofore you had not believed were relevant to that objective (or lesson).
Using Euclidean norm over pixels on imagenet will not get you anywhere.
By recasting classification into a kNN lens you're basically (in the large data regime) recasting the problem to kernel learning under some underspecified RBF kernel with an unknown "proximity" metric instead of Euclidean.
In grad school, someone in my lab actually tried scaling kernel methods directly to imagenet too. I don't think that ended up working naively (an interesting neural variant worked for CIFAR10, though [1]).
If all NNs are doing is efficiently learning an appropriate kNN metric (or, more idiomatically and generally put, learning kernel parameters for some implicit neural kernel), that's still really powerful and all we've done is just renamed "learning representations."
DNNs end up encoding parts equivalent to type theories in their operations — extracting an “internal language” (in the TT/CAT) sense which models the data. In particular, convolutions are a form of extracting/deducing types from your input. A full DNN deduces a model of the data in which it can type the incoming data and then reason about relations on those types to decide the challenge.
What is it that you think you’re doing, besides forming a model from data in which you reason based on an internal language, which describes the data you’ve seen?
Your post comes across as ignorant of eg, the overlap between TT and DNNs, while simultaneously full of woo about how humans operate.
What I think we're doing is, you know, forming concepts which are not constrained to spaces. I dont even really think our concepts, which are mostly just bundles-of-techniques, live within the space of the target object, nor its measurment space (ie., that of experience).
Eg., my "pen" includes being able to grasp a pen (indeed, the relevant motor skills are prior-to and necessary-for the abstract concept formation).
What you're talking about is a pixel-space projection of "pen" being able to function like the (animal, body-first) concept "pen". It doesnt.
Rather "pen" in pixel space is, sure, an "internal langauge" of a sampling of AllPixelPatterns concerned with pixel-space projections of "pen". This i'd call a "template", and I dont think it has almost anything to do with concepts/representations/etc.
What we are doing when we acquire motor techniques which produce "ways of sensing and moving" that eventually could become reified as the abstract "Pixel Pen" is really nothing at all like sampling PixelPenSpace and deriving a tempalte.
To see the difference, consider that our concept allows us to resolve ambiguities -- eg., if I think something might be a pen, I can go beyond one space of measurement (eg., sight) -- eg., move the pen, write with it etc. -- and thus return to the target space "Is Pen?" with sufficient confidence.
Once such "mere templates" exist, everything we do, isnt required. Indeed, a calculator can take over at that point; put it in a cupboard forever to repeat whatever thin inferences pixel templates admit.
This is incorrect:
You can swap encoders and final fully connected sections, then mildly retrain the network to substantially save on training effort — “transfer learning”.
Further, you can compose networks, eg image recognition on top of something extracting a structural map.
This implies that the structures they’re “learning” generalize to different contexts — with a bit of retraining. In much the way your knowledge of programming transfers between languages (swapping encoders) and tasks (swapping final connected network).
Your point seems deeply based on this incorrect understanding of DNNs.
Humans ability of conceptual modeling is entirely constrained by their perception. Humans can't conceptualize a tesseract. All of their conceptualizations are in some form related to their perception.
When you're thinking of a pen, are you thinking of the atoms, molecule compositions and all the quantum effects going on? No. Your mind is, just like ML, working from a template constrained by your perception (visual, haptic, auditory).
Humans are more advanced than ML, but they are nothing special.
There’s three approaches to seeing the connection:
1. If the manifold hypothesis is true, then the semantic information between the original manifold and reduced manifold will be in the topology of that map — and your TT is a relabeling of the synthetic topology description.
2. For the convolution comment, take a TT statement, view it as a CuTT structure, and draw the construction diagram of that “shape”. Project that into a matrix encoding and… convolutions are right-side type division! Eg, finding a submatrix that matches “Line(…)” in your overall matrix. But it’s right-sided division since you can only remove the “innermost” factor in a product that way. (There’s also a left-handed, but it’s less relevant here.)
3. The paper on ML via hyper plane splits to create data coverings also suggests that what we really want to know is the topological relationships between kinds of data. This is furthered by, eg, “animal” in word2vec ideally being the centroid of the open ball covering animals, as they’re embedded.
It is really hard to see how this 'it's just a lot of good data' view applies to deep reinforcement learning where the model learns multi step policies from raw input data (e.g a camera on a robot) with only a rough high level reward function to guide it.
If therefore (as seems to be the case) you can abstract the information humans need to provide to the model/learning system to ever high levels of reward function (and thereby vastly reduce the information provided by humans) then it seems very hard to argue that the model (and the training process) isn't doing to some degree what you describe as:
'incredible amounts of experimental work to carve-the-world along its joints, ie., to have the right concepts; and incredible amounts of work to measure along its joints, ie., to have the right units. And then to eliminate all the coincidences and irrelevances.'
For example, imagine a robot learning from scratch to pick objects up based on raw pixel data with only a scalar reward function - where in this process is the human preparing the data so the model only has to average?
Great -- so do you have an example of such a system?
I'd be inclined, initially, to deny that it exists. If your reward function expresses a reward for the goal of "picking up objects with (pixel-space) properties etc.", you're cheating. In this case, the reward function serves the role of the data: ie., prepared by us to work. Indeed, a function is just a dataset -- and the reward function here is being sampled by the system.
You'd need to show me a system whose reward function / dataset didnt "contain the solution", in the manner of animals who respond to the world without already having all the information about it.
The relevant capacity a system needs to have, in both cases, is being able to take a profoundly ambiguous environment and produce a dataset/reward-fn which "carves along its joints". Ie., which effectively eliminates that ambiguity.
When such ambiguity & coincidence is eliminated, there's basically nothing left to do -- it's that basic nothing which we task machines with doing. Ie. running `mean(sample(unambigious relevant well-carved data))`.
You'll note its the *properties* of the data which express intelligence & learning.
I would assume serious ML people would not be overly ambitious and overstep their claims beyond empirical realms. You were saying ML "uncovers latent representational structure not present in the data", but I would guess the claim, if that is what you're going against, is merely that the latent structures exist, and no Truth is really "uncovered" by ML per se, in the Heideggerian sense.
I agree ML hasn't really produced an Understanding of the world. The carving along the joints is in other words a symbolic abstraction of the world that is a radical simplification, for which only Reason is capable of, and ML hasn't shown to be capable of Reason. As an aside, I also would not assume the ambiguity you refer to can be fully eliminated even by human intelligence, just see how languages are fully of ambiguity, or even quantum mechanics.
But again, when philosophical critiques are launched against ML, the usual story is ML advocates would retreat to the success of ML in the empirical realms. I'm reminded of the Norvig vs Chomsky debate by this.
There are other examples from OpenAI a while back using even just sparse rewards (i.e binary 1, 0 for success or failure over the whole task) - but these weren't pixel input if I remember correctly - https://openai.com/blog/ingredients-for-robotics-research/
I m afraid if you think providing any reward function is cheating then we have fundamentally different views of what AI/ML even means/involves. It appears humans and likely all animals have largely pre-programmed reward functions developed over billions of years of evolution (pain is bad, food is good, etc.). These reward functions are ultimately what underpin what we are trying to do, what outcomes are good/bad, to what degree we 'want' to explore vs exploit. The idea that human and animal 'intelligence' is born as a blank slate with nothing to guide it and no reward function to maximise doesn't seem to bear any resemblance to reality.
The only difference between a reward function that tells a robot 'you need to stack these objects but I m not going to tell you where in 3D space the objects are or where they need to go to stacked or the shapes/forces involved' and an animal that is born with a reward function that says 'you need to find food and shelter but I m not going to tell you how to collect the food or where to find shelter' is the level of abstraction. Fundamentally they appear the same.
You are pulling a sleight of hand when you suggest 'in the manner of animals who respond to the world without already having all the information about it' - there is a vast difference between an abstract reward function (which humans and animals also have) and 'having all the information about [the world]'.
Similarly, I think most ML people recognize that NN classifiers are just learning to look for groups of features, yet that doesn't really count as an analysis because what we want to understand is why it arrives at the features it does.
>The magic of ML is a sleight-of-hand trick -- we dont really need to know how its averaging of our data does anything useful -- it almost never does.
I strongly disagree, we do need to know how the 'averaging' does what it does so we can improve our models further. A lot of big steps in NN architectures have come in part from applying theories and insights regarding the properties of the training process, so a deeper understanding of the process may allow us to make better models, ones that have better accuracy as well as ones that train faster with less data.
>Rather, it is our "experimental design" which produces the usefulness of the system. ML algorithms are just interpolations and averages through data prepared to produce useful averages by (literally millenia) of human ingenuity.
>It takes actual intelligence to do this because the world isnt data, and almost any measurement one cares to make (with eyes, even) produces endless ambiguities and coincidences that you have to "be in the world" to resolve; and resolution is a dynamic process which you "have to be here for".
I think most of the industry agrees that current ML models are sort of like being able to make the icing but not the cake (i.e AGI), so I'm not really sure what you're trying to say. Of course the models need a general intelligence to filter general data down to a specific problem and set things up for the model to learn?
I think you are close to truth. This would explain why even the largest language models can't generalize beyound the training set.
At the same time, I disagree that analysis is out of proportion. It might be some clever averaging, but it does useful and interesting things. Take a look at Google: some clever averaging can get you a long way. It would be great to understand how it works and how can we go beyond it.
I do believe we need a paradigm shift, but it does not come out of nothing.
ML systems (eg., NN) remember averages (, compressions) of historical data. They are useful, wrt the problem, iif (1) the problem's target function exists; (2) the data is relevant, unambiguous, well-carved; and if (3) these properties will hold regardless of likely permutations to the problem's framing.
Systems are given data with these properties by significant amounts of experimental design, work, and effort by people. Absent these properties, data is useless.
Producing data with these properties requires intelligence, and no machine systems exist which can do it.
My issue with research into ML on the whole, is that it *assumes* these properties and then explains how the systems work. I understand why this is interesting from a formal perspective... but it fails to note that this situation is almost never how ML is used.There is no function from Image->Animal, ie., biologists arent just idiots who could have just looked at some pixel patterns. Pixel patterns are radically ambigious wrt to `Animal`, and so even an infinite sampling of (Image, Animal) is not enough for ML.
... so what on earth are ML systems doing?
This is a bigger research question: to characterise how ML performs when this assumed setup fails. And you know, that research almost doesnt exist. This is an industry led by partisans to its success.
What do you think would happen if research actually talked about the dynamics of ML systems performance when (1) the target doesnt exist; (2) data isnt relevant & unambigious; (3) the problem framing will permute most times its deployed....
Suddenly we'd have an explaination of why 2016 wasnt the year self-driving cars were delivered. And indeed, likewise, of why even 2036 wont be.
There is also an information theoretic lens about compression, which is probably very close to what you are thinking about, but I haven't studied it yet.
Regarding Image -> Animal. An image of an animal is a projection of the animal onto a 2D plane, plus lots of noise. So there is some dependance between an image of an animal and the animal. Biologists can get a lot of information looking at a photo of an animal. In some sense they are always looking at two images from their eyes.
But the problem you are talking about is indeed serious, and far from solved. You can't understand the real world from 2D images with the current approaches. Ideally we want neural networks to build a 3D (or even 4D, with time?) model of reality. Instead we find them trying to guess labels based on patterns. May favourite example is the tiger-dog [1]. Still, there is evidence NNs are doing some clever things [2]. My guess is that the problem is that we just haven't found a way to formulate the task for the solution we want. In the current formulation it's easiest for the model to minimize the loss by sticking to patterns, so why do something else?
There is a lot of research on more applied ML that asks the questions you are asking. It's just that this paper is another attempt at a theoretical explanation.
I agree on the self-driving cars. We can't have truly self-driving cars until a model can generalize, which none can't at the moment. The core question is: if we had a "dumb" model that does clever averaging and successfully covers 99% cases, such that the car is dumb in special cases, but smarter than most human drivers in usual cases, would it justify deploying the cars? If this was the case, dumb ML might be enough for self-driving. It's definitely enough for self-driving in walled garden conditions, so there is some evidence that with enough data we can brute force our way to a tolerable solution.
[1] https://www.dropbox.com/s/ucvflwwrm8idnp6/photo_2022-03-29_2... [2] https://distill.pub/2020/circuits/
That’s one of the main reasons they’re so impressive, they _are_ able to do this, to a limited extent.
When researchers dig in, they find that the neural network is learning wrong things. Word matching between answer and question, learning to model the annotator who asked a lot of questions because his Q&A answers are predictable, and stuff like this.
There was a great review of the problem, but I can't find it, so I will have to link to this article [1], which gives an overview of issues with current NLP models.
[1] https://thegradient.pub/frontiers-of-generalization-in-natur...
Why do you say this, they do. I can teach gpt about new objects I have made up and it’s physical properties and it can understand them. That seems a clear example of generalizing beyond training set, or do you not think so?
Let's test GPT-2: https://huggingface.co/gpt2?text=One+apple+is+1%2C+two+apple...
Prompt: "One apple is 1, two apples are 2, three apples are" Model output: "One apple is 1, two apples are 2, three apples are 4, four apples are 5, six apples are 7, seven apples are 8, nine apples are 10, ten apples are 11 (for apples being the perfect length of life)."
Even if you use a special dataset to each it to count, it won't be able to count beyound the examples in the training set. So it's spewing plausible-sounding gibberish at you (i.e. approximating the training set distribution)
It doesn't generalize. Not in the sense that it can't give you a phrase that didn't exist in the training set. It can. But it can't give you a new kind of phrase, of a "kind" that didn't exist in the training set.
However, it just moves the conceptual line between data/feature engineering and modeling so as to make the data/feature engineering encompass nearly all of the process.
By this definition of ML, one might just say that clever ML is a really clever way to engineer useful features, after which we "merely" average them.
It feels like semantics.
Namely, that the muscle tissue and the motor cortext express a latent representation of riding which is formed under the animal's self-regulative goals of "stability" and "getting to some location" etc.
From this POV, one can model any aspect of reality with this sort of language. I used to be annoyed by this, but less so now. Annoyed because it's pretty hopelessly useless describe any complex physical system this way. It only makes sense if your relevant "feature spaces" are discrete and computationally tractable... i dont think our muscles are good candidates. (Nor likewise, is almost anything).
Nevertheless, you are right that "ML" on a domain whose dimensions are infinite, and in which slices through those dimensions are infinite, and whose models are chaotic -- then ML with an infinity of time to run would produce an animal. And indeed, an intelligent system.
One has to remember here that no one is doing this. What theyre doing is taking a highly regulated non-chatoic, tractable, measured and largely unambigious slice through these spaces --- sampling them --- and taking an average.
Who gave you the knife to take this slice? Was it your cognition, was it the world?
No, neither, it was your body -- largely; and its ability to regulate your imagination; and to guide action.
Formulating reality as-if its patterns can be determined statistically leads to absurd levels of non-computability. Every possible partitioning of the world, in every possible arrangment, moving in every possible way -- what discrete model of this is there?
There isn't one. And this isnt semantic. The challenge of building an intelligent system is a (bio-)engineering one: we require a material which grows intelligently, whose internal chaos is useful. Not a dumb little calculator which comes in to average our efforts after the fact.
In terms of plains and birds analogy, it is like trying to build airplain without understanding basics of aerodynamics.
Sounds like a magic view of the mind to me.
It's suspicious that this is never said about the function of Liver or Kidneys, only about the function of the Brain.
Maybe the brain is protecting itself, like if you ask a cow about steaks.
The way we can tell if a stick is bent, or not, in a fluid is to remove the stick.
Animals arent magic, theyre just actually present in the world.
The converse is true: if the world's structure could be uncovered by data analysis, then it would be something like The Matrix; and the whole history of science would be falsified. It turns out the hardwork of experiment was never required, one could just blindly measure anything in any way, and somehow, knowledge would be produced.
Is this not what astronomers do? Sure they also have inputs from experiments made on Earth, but the actual investigation of "the stars" is reliant solely on data analysis.
What is the structure of the world if not the correlations in some measurement data?
if I only had eyesight i could not build a reward function ?
Does this mean AI could do this if they had other sensors like weight gauges in the servos?
That's not the case. You're right that if I find a predictive compressions of faces, say F1...n then they arent literal "rememberings". And they seem to be able to participate in a decision process (eg., classification) which doesnt seem to target pixel patterns.
However I think this is kind of an illusion. What `F1..n` are, are ambiguous pixel-space projections of the abstraction which isnt present in this projection. When I have the concept "this type of face" I can reason with it beyond similarity in pixel-space.
When we form representations we arent restricted to reasoning with them in only one space (eg., how faces look as pixels). We (perhaps superstitiously) impart to machine "representations" an actual depth which they lack.
They are templates derived from the spaces they live in, eg., pixel-space; and have only the properties that space affords (eg., pixel-geometry). Reasoning beyond that space, and those properties, doesnt work. People think it does. This is the illusion.
Templates derived from this data, that we provide, function like actual representations because we simplify the world for the machine -- and prepare its environment so that its pixel-space templates are good enough.
> When I have the concept "this type of face" I can reason with it beyond similarity in pixel-space.
I think there are at least two possible things that might going on here:
1. we're "trained" on non-pixel data (to use the same framing) and so it seems obvious that we would reason with a concept like "this type of face" in a non-pixel space.
2. the experience of "reasoning with it" is an illusion, and is merely the subjective experience that we have when our brains do stuff with whatever their underlying representation is. That is, we may have no real knowledge of what space our own "face model" is built on, what it represents, what properties it considers.
When you say latent representational structure not present in the data, am I correct in thinking you mean:
argmin theta: Loss = dist(data, model(data))
where model(data) = layerL( ... layer3 ( layer2 ... layer1(data) ))
is actually obscuring some conditioning factor human_understanding(observed data)
which actually goes into all the layers (by their choice of design, initialization), distance functions, optimization steps, data cleaning, splits, etc.?And furthermore, also that
P(model simply memorizes observations + human provided inductive cues | model finds structure)
>>
P(model does something beyond memorization of observations + human cues | model finds structure)
? What would be your test to determine this? For instance, how would you measure the information content (under some pragmatic-enough encoding that could be realizable and built today) of the memorization + human cues, vs memorization + human cues + the extra bit that the model concludes? Not a gotcha question, curious about your answer.Though, I have to say something about the first bit. Suppose you were comparing the safety and probability of catastrophic failure of some of the earliest buildings made in human civilization compared to something made in 2022. And suppose you conditioned that probability on the sum total of human knowledge at the time. The same laws of physics apply, but different amounts of knowledge went into producing each artifact.
Can we say that the latent structure (human theory of engineering) in the modern building (model) reveals more about the ground truth of the world (laws of physical reality) than is inside of the observations data set (does it collapse or not) than the old model? I think we can. And I don't feel that embarrassed to say that deep learning is just a part of the wider landscape of human experience.
You may be interested in this article that proposes Rip van Winkle's Razor: if you apply a state of the art method to an old dataset, for a fair comparison, you need to measure and take into account the increase in tooling that has become available since the time the benchmark was first released: http://www.offconvex.org/2021/04/07/ripvanwinkle/
What we require is a "bridge" from any particular feature space to the target. A compression of a feature space doesn't produce this bridge. When we look at a photo, its ink-space arragement can be bridged to its depicted situation via our ability to brigde.
We see in the ink, a world. We do this via concepts which bridge. We get those by being in the world.
We can "roughly accept" limited forms of inference which simply operate within a feature space, ie., we can be fooled by photos "made on photoshop" which appear to depict a situation which never really existed.
A machine operates in "inkspace" and we rig it only ever to produce "human-bridgable" arragements of ink. The machine itself doesnt draw a situation -- as with an artist painting a room. A machine isnt in the room.
It is, as-if it were in the room, and as if it had painted it. This illusion is created by us, we rig the system to average historical paintings of rooms, and only ever show the apes-at-home a good picture. They think, looking at it, that the machine has painted something.
One formulation of this, I suppose, is to add "| HumanUnderstanding(Y-as-labelled, Y-the-actual-target)" to everything
Human always feel that we have free will to design. It's likely a mistake in our intelligence unless the universe is infinitely dimensional where we can process the energy flow in any way we want.
I don't think there's ever an expectation that the data is "truth" but that we have to contextualize it and adjust it. Humans adapted to those through different mechanisms than NN but the goal is still fundamentally the same: to predict something with as much accuracy as possible despite the infinite noise of the data that is the world.
When I "predict" what will happen when a glass falls, I'm not giving you any statistical estimates. I'm running a mental simulation of the world in its relevant parts and using this to predict what will happen.
The heart of basically almost all knowledge of the world is actually counterfactual (ie., requiring simulation), it's always "if this happens (in the simulation), this will happen (in the simulation)".
To acquire this ability to predict one has to understand, ie., to have the right concepts, reason with them and so on. When a person "has the concept `7`" they can reason thus: "6 eggs would be fewer", "7 is an odd number", "7 is a whole quantity", "with 7 less of 10, i'd have 3" etc.
Ie., `7` is available to play a fundamental role in simulating scenarios and reasoning with them.
When a NN produces a mapping from {Images} -> {Labels} such that the squiggle `7` produces the label `"7"` it doesnt do so via prediction in the meaningful sense of the world. Rather it has found a means of averaging sqiggles, and compares one squiggle to its averages and reports what the historical similar squiggles were labelled.
This is a game which is only useful because we, who can reason with `7` profoundly about the world (etc.), have produced datasets which express our knowldge of the world in ways that dont require it. Ie., we present to the machine something whose average is useful.
The machine is not trying to, nor does it, nor can it, predict. It has no knoweldge at all. It is just a correspondance table we have provided.
I just input this into GPT-3. Its responses are in italics, this is first try no rewriting or retrying anything:
This is a test of understanding of the concept of "the number 7".
Question: Is 7 odd? Answer: Yes, 7 is an odd number.
Question: Is 6 eggs fewer than 7 eggs? Answer: Yes, 6 eggs is fewer than 7 eggs.
Question: With 7 less of 10, what would I have? Answer: I would have 3.
Question: Is 7 a whole quantity? Answer: Yes, 7 is a whole quantity.
This is mostly a joke because I think I understand where you are coming from (and that you are hypothesising that gpt3's responses are an elaborate trick of sorts). But I don't believe AI has to take the same route as human intelligence, and I don't think we really understand what a concept is or how it behaves from a signal/data perspective, but I think that may be inconsequential for creating general AI.
Also people are can be really stupid sometimes and also have failures, and the concepts that people hold can be incorrect or flawed etc. So it may be useful also to compare human failures with AI failures, rather than just AI failures with human successes.
Is anyone interested in a HN journal club?
But a lot of people think of it as a fancy processing plant which can take sewage and make diamonds. Really, it takes carefully prepared gemstones and crushes them into a shiny powder.
I've wondered from that crowd (the productive crowd) if they get any value from papers like these, if reading them ever gives any insight. I don't seem to ever glean very much from them, whereas just reading the formerly mentioned papers and thinking for myself and experimenting seems to give me the intuition I personally need.
I'm starting to feel there's a whole secondary field within ML of people who publish 50+ page math-heavy theory only that yields no actual results nor value in achieving those results, but maybe I'm wrong. I'll ask around at the conferences this year. I'd be willing to read papers like these if it turned out it'd help me but as time is limited, I feel I'm likely better off reading more papers that show results and their architectures (which usually have a bit of light speculating/intuiting mixed in as well) than reading this.
Also, no offence meant to the writers of the paper who might read this. If you have any thoughts on this line of inquiry as well I'd be interested to hear them. Maybe there's a lot of practical value I'm missing out on by not taking the time to read and understand papers like these.
Indirect value: there are many facets to every field of maths/science/philosophy and each facet makes progress at a different pace. This type of paper doesn’t have any impact on my day-to-day thinking but I don’t doubt that this approach will eventually lead to better methods and understanding of deep learning. Unfortunately that understanding could take 50 years for all we know.
In the meantime, progress in applications of deep learning are outpacing progress in theory by several orders of magnitude. The original GAN paper by Ian Goodfellow was published in 2014. Just 8 years later we have ML models that can generating convincing images from text prompts, arguably beyond what 99.9% of humans are capable of. Theory has no chance when engineering is moving so rapidly.
It's necessarily high-level, so you still need to learn about specific approaches to get practical things done.
And based on that clarity, they were able to then go on and make immediately productive contributions?
When you pick up a SoTA algorithm and try to apply it into a particular problem, ... it does not work or does not work well enough.
You must modify or fix it. Combine it with other approaches. Be able to know what algorithms to pick. Without knowing how the thing works, what the internal dynamics is, what are the bottlenecks and limitations you get nowhere. Trying to fix problems by blindly tweaking parameters is not going to work.
You don't have to be able to analyze and do research on internals by yourself, but you must understand the papers and be able to get the idea. Just like engineer doing signal processing must know lot about Fourier transform, wavelets, Laplace transforms even if they forget the details and forget some equations.
While this serves to characterize the training process, the authors see the goal of the training procedure to converge to a target function f(x), with known values for x. This is of course not the substantive goal of the DL/ML researcher or practitioner (where the target function is unknown, and the goal is to learn the joint distribution and hopefully not fit the latent f(x) function exactly).
On the one hand, uncovering how a NN would behave with different lengths and widths for a fixed set of data seems an important step, and although I haven't read far enough to see any interesting results yet, I am sure the authors have much in store.
On the other hand, I feel like most questions of practical relevance - like generalization, model choice given data, causality, statistical properties of the entire design process and so on - all require us to think about the data generating process, rather than only the weight initialization process.
I think want they want to imply is "Each layer is a semantically meaningful representation, changed from the previous layer" which I don't think is a verifiable claim (as what is semantically meaningful isn't an objective claim)
I don't know if it is mathematically proven, but you can easily see it yourself when making an image classifier with one hidden layer. It has some really good evidence for an assumption, at this point I would call it at least empirical evidence.