News for hackers. Stuff that matters.
Re:Neural Databases by wokwokwok on Saturday October 17, 2020 @04:55AM (#24808589)
I came hoping to find something like neural radiance fields [1] but for generic datasets (ie. latent representations of data that allow you to store the 'data' without storing it explicitly row by row).

...but, this is:

> What if, instead, data and queries can be represented as short natural language sentences, and queries can be answered from these sentences?

Useful for some things, but not useful for most things.

[1] - eg. https://www.matthewtancik.com/nerf

Re:Neural Databases by suifbwish on Saturday October 17, 2020 @08:14AM (#24809402)
Tensorflow 1.15 for python3.. good luck finding that anymore for a Linux repo.

Tensorflow needs to stop breaking their entire codebase every 10 or so minor versions and also make their archived versions for all OS readily available. Do a pip3 install tensorflow==1.15 just for an illustration of what I am talking about.

There are hundreds if not thousands of extensive code TF projects on GitHub that are now almost completely useless because the libraries they require are not readily available. Sure you can use them as a template to translate into TF 2 but as a keeper of an important open source library, tensorflow team has been far less than diligent at making sure projects containing their code do not break as tensorflow pushes out updates.

Re:Neural Databases by unishark on Saturday October 17, 2020 @09:21AM (#24809776)
Have you tried installing it through anaconda? I was using tensorflow 1 (1.14 maybe?) just a few months ago (once I realized tensorflow 2 was running twice as slow for some reason). I think there are some really big projects that still can't use tensorflow 2.

But I certainly agree with the frustration with google breaking everything. If I wanted to use Chainer (or for that matter Keras) I would just use that. I don't need tensorflow to imitate it for me and break the alternative approach I was using.

Re:Neural Databases by MichaelBurge on Saturday October 17, 2020 @11:50AM (#24810858)
Try the "tensorflow/tensorflow:1.15.0-gpu-py3" Docker container. Most Linux distributions support Docker, and Nvidia's been working on supporting GPU access in them.
Re:Neural Databases by suifbwish on Wednesday October 21, 2020 @07:27PM (#24853421)
Oh very nice! Thank you for this. Docker has never been my go to as I use virtualenv for most of my projects but it’s things like this that make me begin using new things.
Re:Neural Databases by ssivark on Saturday October 17, 2020 @12:22PM (#24811079)
Since there are sibling comments wondering what this means, here’s a perspective:

A database (simplest case is an array or a dict) isn’t fundamentally different from a function in its interface. To both of them you submit a query/argument and they return some value. A “function” might “compute” the value after the query is submitted, while the database might “store” a pre-computed value. Especially in physical contexts where there is a natural continuity in the thing being represented (think object density/radiance, as opposed to student names), it makes sense to also have the option to interpolate among records in a database.

Neural networks (being generic learnable function approximators) are a nice framework to straddle this boundary for generic cases.

In the specific example of the Nerf, we use a neural network rather than discrediting space and assigning a value per pixel/voxel. A consequent advantage is that we can have an a data description that is adaptive non-uniform in its information density, unlike a voxel grid.

There’s more to say, but I hope this gives a feel :-)

Re:Neural Databases by sixdimensional on Saturday October 17, 2020 @01:39PM (#24811654)
A shortcut to storing (and possibly also querying) data is to store (or "query" within) the function of that data? Seems to be in-line with what you wrote, and in essence I've always looked at neural networks as a kind of compression into complex functions of encoded data.
Re:Neural Databases by my999 on Saturday October 17, 2020 @12:53PM (#24811292)
> "I came hoping to find something like neural radiance fields [1] but for generic datasets (ie. latent representations of data that allow you to store the 'data' without storing it explicitly row by row)."

In that case the system doesn't have transparency and control. Imagine you are given a fact that "Alice works at Google" and 1 month later you want to remove that and add "Alice works at Facebook". In fully latent representation model of the data, you can not guarantee this.

For similar reasons, you can not guarantee preventing implicit biases in the data. Pre-trained generative models tend to hallucinate facts, for example you have two facts: "Alice works at hospital", "Bob works at hospital", if someone asks what does Alice/Bob do? You don't want your model hallucinates Nurse/Doctor.

Re:Neural Databases by jarym on Saturday October 17, 2020 @05:17AM (#24808711)
Thanks for the nerf link - nice to start a day with something this impressive!
Re:Neural Databases by pama on Saturday October 17, 2020 @09:11AM (#24809709)
Here is the previous discussion of nerf: https://news.ycombinator.com/item?id=22637721
Re:Neural Databases by alpineidyll3 on Saturday October 17, 2020 @01:14PM (#24811461)
Exactly my thinking. I think this is the year of compressing tabular data with differentiable programming tho, instead of the fun flashy incremental woo projects. Certainly it's what I'm up to...
Re:Neural Databases by foota on Saturday October 17, 2020 @06:39AM (#24809035)
Wow, that seems way beyond what I would have expected the state of the art to be. Iiuc they're generating arbitrary perspectives of geometry from one or two photos, right?
Re:Neural Databases by wokwokwok on Saturday October 17, 2020 @07:47AM (#24809291)
Have a look at the google drive files if you click on the data link; it's a lot more than 2 photos.

eg. That dinosaur skeleton is derived from 60 photos. The drumkit comes from ~100.

...so it's not magic, it's very close to what you get from standard photogrammetry. The big part of this is that it isn't representing the scene as block of voxels like some other approaches.

> The biggest practical tradeoffs between these methods are time versus space.

> LLFF produces a large 3D voxel grid for every input image, resulting in enormous storage requirements (over 15GB for one “Realistic Synthetic” scene).

> Our method requires only 5 MB for the network weights (a relative compression of 3000× compared to LLFF), which is even less memory than the input images alone for a single scene from any of our datasets.

Anyway, so... if you could do the same sort of thing with a similar accuracy to non-images for a 'neural representation database', that'd be pretty neat.

Re:Neural Databases by l33tman on Saturday October 17, 2020 @08:25AM (#24809456)
Also I do think the 3d voxel reconstruction approach and the nerf approach solves different goals. I didn't read the original nerf paper thoroughly but AFAIK the network learns to interpolate between the photos in a beautiful, smooth way, but the voxel representation would allow a lot of other reconstructions.
Re:Neural Databases by handol on Saturday October 17, 2020 @04:19PM (#24812936)
If the photos span the camera's full position-orientation vector space, I don't see why you can't put the camera anywhere in the scene.
Re:Neural Databases by BeatLeJuce on Saturday October 17, 2020 @07:35AM (#24809243)
Not one or two, more like one or two hundred. But otherwise: yeah.
Re:Neural Databases by dougabug on Saturday October 17, 2020 @07:49AM (#24809303)
One of the authors said in a talk that it worked with as few as 15 images.
Re:Neural Databases by BeatLeJuce on Saturday October 17, 2020 @07:53AM (#24809323)
So that's an order of magnitude more than what OP suggested and one less than what I suggested. But I still think that 100 is a more realistic estimate to get stellar results.
Re:Neural Databases by goodmachine on Saturday October 17, 2020 @07:54AM (#24809326)
Your generic dataset idea is either crazy-brilliant, or I'm stupid: conceivably both.

Either way, I'm struggling to understand how it might work. Care to say more?

Re:Neural Databases by woadwarrior01 on Saturday October 17, 2020 @08:01AM (#24809355)
The OP probably has something more in mind, but I'd imagine overfitting a small NN on a large dataset to a point of convergence and then shipping the small NN instead of the large dataset.
Re:Neural Databases by throwaway9980 on Saturday October 17, 2020 @12:32PM (#24811143)
Sounds like lossy (acceptable) compression.
Re:Neural Databases by sixdimensional on Saturday October 17, 2020 @01:28PM (#24811578)
I've often wondered if one could store representations of data as regular expressions or something similar. Sounds like what you are looking for is along similar lines - data compression by effectively "compiling" the data into an expression or compact representation?
Re:Neural Databases by msamwald on Saturday October 17, 2020 @01:40PM (#24811659)
Meta-comment:

How is it possible that the original submission has been on the front page for 8+ hours, and all discussion is focused on this completely unrelated link?

Have people stopped reading original submission links in favor of comments so much that the discussion is no longer related to the original submission at all?