News for hackers. Stuff that matters.
Re:DreamFusion: Text-to-3D using 2D Diffusion by modeless on Thursday September 29, 2022 @04:58PM (#33027130)
The most incredible thing here is that this demonstrates a level of 3D understanding that I didn't believe existed in 2D image models yet. All of the 3D information in the output was inferred from the training set, which is exclusively uncurated and unsorted 2D still images. No 3D models, no camera parameters, no depth maps. No information about picture content other than a text label (scraped from the web and often incorrect!).

From a pile of random undifferentiated images the model has learned the detailed 3D structure and plausible poses and variants of thousands (millions?) of everyday objects. And all we needed to get that 3D information out of the model was the right sampling procedure.

Re:DreamFusion: Text-to-3D using 2D Diffusion by GistNoesis on Thursday September 29, 2022 @06:44PM (#33028329)
As far as I understand from a quick read of the paper, the 2D diffusion doesn't have a 3D understanding. It probably have some sort of local neighborhood understanding, aka small geometric transformation of objects map close to each other in the diffusion space (That's why like with latent spaces you can "interpolate" (https://replicate.com/andreasjansson/stable-diffusion-animat...) in the diffusion space).

But that's not really surprising because when you have enough data, even simple clustering methods group objects like faces by the direction they are looking to. With enough views even a simple L2 distance in pixel space allow t-SNE to do that.

They are injecting the 3D constraints via the NERF and an optimization process to add the consistency between the frames.

It's a deep dream process that optimize by alternating updates for 3D consistency, and updates for text-to-2Dimage correspondence. It's searching for a solution that satisfy these two constraints at the same time.

Even though they only need to run a single diffusion step to get the update direction, this optimization process is quite long : 1h30 (but they are not using things like instant Nerf (or even simple voxel grids) ).

But this will allow for creation of a dataset of 3D objects with corresponding text, which will then allow to train a diffusion model that will have a 3D understanding and will be able to generate 3D objects directly with a single diffusion process.

Re:DreamFusion: Text-to-3D using 2D Diffusion by modeless on Thursday September 29, 2022 @08:35PM (#33029290)
The model clearly has an understanding of the 3D structure of objects. If it didn't, using it to generate 3D models wouldn't work. The knowledge that the leg bone is connected to the knee bone, etc, isn't coming from NeRF, it's all in the "2D" model. Sure, maybe you could distill that knowledge into a different model architecture that is somehow natively 3D in order to improve the efficiency of sampling. But that's more or less just an optimization. What's interesting is the fact that the knowledge is in there already, learned without 3D input data.

Humans don't get natively 3D training data either. We don't have depth sensors or any other natively 3D senses. Our eyes only ever see 2D images and we learn 3D structure from that, so I guess these 2D image models are doing something analagous. Except they don't even have the benefit of stereo images!

Re:DreamFusion: Text-to-3D using 2D Diffusion by poolio on Thursday September 29, 2022 @10:26PM (#33030149)
I think you're both right! It is incredible that the 2D model knows enough about the visual world to produce many objects from all angles, but the 3D model is essential for gluing these views together, and in some ways can fill in the gaps the 2D model doesn't know about. Imagine just taking a huge collection of photographs of an object. While there is enough information in those photos to reconstruct the 3D object, I wouldn't personally call that collection of images "an understanding of 3D." In our case, the diffusion model is the collection of photos and the NeRF model + optimization procedure is what figures out how all those photos can be related to a shared underlying 3D representation. - ben p (author)
Re:DreamFusion: Text-to-3D using 2D Diffusion by psychoslave on Friday September 30, 2022 @04:08AM (#33032276)
>The model clearly has an understanding of the 3D structure of objects.

And the submarine clearly can swim! :D

The model encompasses 3D information, but a model is not a thinking entity able to understand anything. Well, it might be argued that saying that the "model understands" is a metaphor, and used as such OK, fine. But that’s it. Analogies rarely scale well.

As for humans, have you ever heard of proprioception? If that is not "native 3D sensors", I have no idea of what a 3D sense might be.

Re:DreamFusion: Text-to-3D using 2D Diffusion by pvillano on Sunday October 02, 2022 @11:01AM (#33056436)
https://www.reddit.com/r/Damnthatsinteresting/comments/xrxez...

A machine with 3d understanding from 2d samples predates computers

Re:DreamFusion: Text-to-3D using 2D Diffusion by coolspot on Thursday September 29, 2022 @09:49PM (#33029893)
> Our eyes only ever see 2D images and we learn 3D structure from that

I think that would be an oversimplification. We do have some 3D information from focus and eye convergence.

Re:DreamFusion: Text-to-3D using 2D Diffusion by deltasevennine on Friday September 30, 2022 @12:28AM (#33030945)
its not an over simplification. The extra information from convergence is negligible... our eyes derive virtually identical information when looking at flat 2D pictures of 3D scenes. Evidence of this is everywhere in pictures.
Re:DreamFusion: Text-to-3D using 2D Diffusion by F2hP18Foam on Friday September 30, 2022 @04:09AM (#33032284)
I'm sure people born with one eye are perfectly able to understand the concept of 3D
Re:DreamFusion: Text-to-3D using 2D Diffusion by deltasevennine on Friday September 30, 2022 @07:56AM (#33033691)
Dunno if you fully read my comment. But we're in agreement.
Re:DreamFusion: Text-to-3D using 2D Diffusion by F2hP18Foam on Sunday October 02, 2022 @10:37AM (#33056206)
You're right, we are in agreement.
Re:DreamFusion: Text-to-3D using 2D Diffusion by sandgiant on Friday September 30, 2022 @03:22AM (#33031964)
I think this is a misunderstanding of how these models work. The model does not understand anything at all. It's computing correlations. I could spend all day computing correlation without ever understanding what the correlations correspond to in the physical world. The correlations could still amount to a useful description of some physical phenomenon, but their interpretation requires much more than just the ability to compute correlations in some limited space.

If we elevate "correlations" to mean "understanding", we're quickly going to run out of words.

Re:DreamFusion: Text-to-3D using 2D Diffusion by cornel_io on Friday September 30, 2022 @06:43AM (#33033213)
Your brain merely computes correlations. Does that make it any less intelligent?

At some point we have to accept that when you layer simple ops on top of simple ops enough times you get complex behavior.

Re:DreamFusion: Text-to-3D using 2D Diffusion by ShamelessC on Thursday September 29, 2022 @10:12PM (#33030064)
The model is trained on discretized photons (pixels). Doing so may have encouraged the model to learn features related to depth.
Re:DreamFusion: Text-to-3D using 2D Diffusion by bmpoole on Thursday September 29, 2022 @06:21PM (#33028103)
Co-author here - we were also surprised :) The breadth of knowledge of the visual world embedded in these 2D models and what they unlock is astounding.
Re:DreamFusion: Text-to-3D using 2D Diffusion by Vt71fcAqt7 on Thursday September 29, 2022 @06:38PM (#33028276)
Any word about how Nerf -> marching cubes works? I thought that was still an open problem. Is that another discovery in this research paper?
Re:DreamFusion: Text-to-3D using 2D Diffusion by poolio on Thursday September 29, 2022 @07:28PM (#33028765)
just seems to work when the 3D model is simple and smooth
Re:DreamFusion: Text-to-3D using 2D Diffusion by arkis22 on Thursday September 29, 2022 @07:33PM (#33028803)
the breadth of knowledge of the visual word embedded in these lines and what they unlock is astounding

-the point

Re:DreamFusion: Text-to-3D using 2D Diffusion by adamredwoods on Thursday September 29, 2022 @05:22PM (#33027392)
So I wonder if unusual angles that normally do not get photographed will be distorted? For example, underneath a table looking up.
Re:DreamFusion: Text-to-3D using 2D Diffusion by jacobr1 on Thursday September 29, 2022 @05:59PM (#33027864)
They reapply noise to the potentially distorted image and then predict the de-noised version like the originally rendered first frame. So the image is at least internally consistent for the frame (to the extend the the system generates consistency whatsoever).

The example with a squirrel wearing a hoodie demonstrates an interesting edge case, the "front" of the squirrel (with hoodie over the head) show a normal hooded face as expected, but when you rotate to the "back" you get another face where the hoodie is low over the eyes. Each looks fine in isolation, but in aggregate it seems like we have a two-faced squirrel.

Re:DreamFusion: Text-to-3D using 2D Diffusion by poolio on Thursday September 29, 2022 @06:22PM (#33028124)
Yes, this is often a problem. We use view-dependent prompts (e.g. "cat wearing sunglasses, back view") but the pretrained 2D model often does not do a good job of interpreting non-canonical views and will put sunglasses on the back of the cats head (as well as the front).
Re:DreamFusion: Text-to-3D using 2D Diffusion by salawat on Thursday September 29, 2022 @06:45PM (#33028346)
>cat wearing sunglasses, back view")

Bad prompt, missing implied antecedent/ambiguous subject...

You may want:

Back view of a cat which is wearing sunglasses, back view of a cat, but the view is wearing sunglasses, etc... I actually tried using projective terms from drafting books, and didn't get great results. Nor anatomicals either.

Re:DreamFusion: Text-to-3D using 2D Diffusion by thrown_22 on Thursday September 29, 2022 @07:20PM (#33028691)
>Back view of a cat which is wearing sunglasses, back view of a cat, but the view is wearing sunglasses, etc... I actually tried using projective terms from drafting books, and didn't get great results. Nor anatomicals either.

In short: natural language is not good enough and you need a DSL. If only the last 60 years of language research had warned us of this.

Up next: English sentences are ambiguous and need context information to parse correctly. Machine learning community in shambles.

Re:DreamFusion: Text-to-3D using 2D Diffusion by salawat on Friday September 30, 2022 @02:40PM (#33038861)
I mean... It kinda did. Sarcasm aside.

The trouble is all those darn uninitiated and trying to create a generalized oracle to map their inspecific ramblings to what they mean to free them of having to actually communicate properly...

Actually, funnily enough, this has cross section with philosophy in a way most programmers scoff at; but communication is frigging hard, and worse, detecting when someone is trying to get something across, but just needs a nudge in the right direction to be able to find the language to explain it is really damn hard.

I run into it every time I get a haircut. I have no idea how to speak their language, so it's always "Uh... A little off the top and rounded at the back, I guess?"

Re:DreamFusion: Text-to-3D using 2D Diffusion by bmpoole on Thursday September 29, 2022 @07:30PM (#33028773)
yep our fixed strategy for view-dependent prompting is silly and there is tons of room for improvement!
Re:DreamFusion: Text-to-3D using 2D Diffusion by LordDragonfang on Thursday September 29, 2022 @06:38PM (#33028275)
Some of the "mesh exports" used as examples on the page actually show this, to some extent. Look specifically at the plush corgi's belly and the weird geometry on the underside of the lemur's book, and to a lesser extent the underside of the bedsheet-ghost.
Re:DreamFusion: Text-to-3D using 2D Diffusion by yarg on Thursday September 29, 2022 @05:59PM (#33027866)
It'll be delusions and guesses, rather than distortions.

It'll just make up some colours and geometries that don't contradict anything it already knows from the defined perspectives.

Or leave it empty.

Re:DreamFusion: Text-to-3D using 2D Diffusion by anentropic on Friday September 30, 2022 @05:30AM (#33032800)
You can see that in some of these examples e.g. "plush toy of a corgi nurse"
Re:DreamFusion: Text-to-3D using 2D Diffusion by skinner_ on Friday September 30, 2022 @06:06PM (#33041415)
Yes, this is amazing. The reason I am a bit less surprised is that I've been playing with textual inversion in the last few days. Just from six photos of me, it can create portraits showing me from any direction. That means it has a very good 3D model of my face, and that information is fully contained in the model plus the CLIP embedding obtained by textual inversion.