321 points · by angrygoat · 6y ago · 178 comments
Luckily, it doesn't seem that this approach can be sensibly extended to generate entire scenes, or multiple entire-body photos from different angles. Believability breaks down tremendously in less constrained datasets- see https://www.thiscatdoesnotexist.com for example.
An exciting possibility that is opened by these generative models is synthetic data. Train (well) a generative model on private data, then share the generated syntetic data without privacy violation concerns.
Of course, this opens the way to data laundering - profiting from ilegally obtained data that you're not supposed to have. Possibly by laundering through several jurisdictions, where each local step is legal. What will be the Dutch sandwich of data laundering ? The cyber dystopian novels of the 90s have nothing on this.
That site is straight up nightmare fuel:
https://i.imgur.com/0lg9eNK.jpg
https://i.imgur.com/AL96Pvv.png
https://i.imgur.com/6s91BaD.png
Funnily enough, your "nightmare fuel" screenshots mostly don't look that nightmarish to me... I might mistake some of them for real cats at a passing glance. (Not the first one; that one looks like a root vegetable.) I probably shouldn't get a job as a cat inspector.
EDIT: Ok this is one of the most horrific things I've seen this year. https://ibb.co/Np6KTYq
Edit: one such startup is https://opus.ai/
Just noticed traffic coming from ycombinator and was almost worried as we're not ready to come out just yet (~2 months away).
Thanks for the mention though (and the clicks)
phew
We hope to run an experiment with https://www.gwern.net/Danbooru2019 and our TFRC TPUs very soon to test the question of how well S2 can scale up...
Her eyes were melting into black and white streaks curling down over her sagging cheeks; her smile was perfectly white, and just a little too long.
I refreshed on instinct, and haven't seen anything like it since.
To my mind there is a massive need for us in the software world to pause and think about the ethics of all of this. Engineers more broadly have well developed ethical codes, we should too.
As of now anyone and their dog can practice software development and I'm not sure what a nebulous "ethical code" would imply for them.
"To become licensed, engineers must complete a four-year college degree, work under a Professional Engineer for at least four years, pass two intensive competency exams and earn a license from their state's licensure board. Then, to retain their licenses, PEs must continually maintain and improve their skills throughout their careers."
Most PEs that I have worked with are very diligent. You don't get yahoos going that far. Generally, they are top-notch engineers. Think '10X' engineers, but for oil wells and churches. I mean, look at any large structure on Wikipedia, most of the time you'll find the engineer's name in the side placard, not just the firm's name. PEs are serious, dedicated, and smart people. I mean, their stamp is on those documents and they go to jail when the bridge fails.
So, for software, if you have an exam of the PE's caliber, you essentially guarantee '10X' engineers. The workforce is more highly paid, yes, but it is of a much higher quality. Bugs get solved faster, stand-ups don't last 30 minutes, the wiki is updated by everyone, etc. Employers know that their candidates really are good stuff, less whiteboards or take-homes are needed. Also, possibly when something messes up, the engineer is the one responsible, not the company. So offloading the insurance to the employees is not the worst thing for a company.
Honestly, it would not be a bad system and I think would be a much calmer and better one.
https://ncees.org/engineering/pe/software/
i'm seeing some sources that say it was discontinued after 2019 due to lack of interest, and the main "PE" page no longer links to the software PE exam.
It's a bit shocking for me to know a mechanical, electrical, or civil design in, say, a power plant may require a Professional Engineer to officially stamp it but any ol' software engineer can write code on that system and fire it up. My understanding is that NCEES lists a controls systems license but I have yet to meet a single person with it or hear of a project that required it.
To a certain extent, I wonder if software development rigor/oversight is in an adolescence similar to what it must have been like for mechanical systems during the early parts of the industrial revolution.
I feel like a “formalised ethical code” would result in more clever approaches of avoiding it. We don’t need to look far to find the examples (looking at ya ad tech)
We need increased awareness of ethics but we don't need more government involvement or any other form of coercion. Governments are already far less ethical then pretty much any other organisation or institution.
Morals and ethics are about people. Laws and regulation are about how those morals and ethics are reduced to practice.
Consider https://www.gnu.org/philosophy/the-root-of-this-problem.html and https://www.gnu.org/philosophy/freedom-or-copyright.html as recent entries.
It covers most of the widely debated issues in software today, including spam, malware, DRM, invasion of privacy, undue influence by one participant in the ecosystem, copyright infringement, and bait-and-switch terms of service. It even addresses the question of writing software that could be misused.
It isn't widely accepted because a lot of programmers don't like it. They don't like it because they make money by violating it.
For "real" engineers, is it fair to say their ethical questions are more easily constrained than those in software? I assume it usually reduces to "should I accept a lower-than-average safety margin to save money on a part/structure that might fail and hurt people?" Maybe "should I make this vehicle accommodate extremely tall people?" or "can a child hurt themselves with this device?"
Honestly lawyers feel like the closest analogue to software engineers.
For capital "E" Engineers (i.e., those with a State license), I would say yes. They are required to abide by specific ethics and some states require regular ethics training. If they certifying a design, they are putting their name/license/livelihood on the line that it meets a minimum standard. This standard is usually defined by specific codes.
The problem I often see in software is that many codes (if they even exist) are looked at as a "nice to have" not a "must have", unless they are contractually obligated. If I show a code-base doesn't adhere to a specific industry standard, the reaction is often "meh". This is in contrast to other engineering disciplines who tend to begrudgingly acknowledge they have to re-design to meet such a standard.
The issue with some of your examples is that much of engineering work happens under an "industrial exemption" meaning they don't have to be a licensed engineer.
https://www.computer.org/education/code-of-ethics
Copyright 1999. I was taught ethics in my college work, so clearly everyone else just ignores it like they do for the various other fields where there is an ethics code. People suck.
I live in the UK and was considering going through the British Computer Society certification process years ago, but dropped it, because while I do care about the ethical side etc. the additional amount of effort it'd take to document skills I already had was not worth it when prospective employers in the fields I've worked in just did not care.
https://www.youtube.com/watch?v=tnviGWO0wbU
It has a "machine learning" based projection mode where you can project a single photo of a face on the head of a character mesh and it will create somewhat believable set of 3D features from the photograph on the model. It was fun to take a couple of the generated faces from this site and apply them to the models.
I imagine you could do a lot with just those two things if you had the talent of the artist in the video I posted above. You could create fully rigged and clothed characters for games in a fraction of the time it would take to make them entirely from scratch, and for much less expense and cleanup (I would have thought) than full body scanning.
Really Cool! But also slightly weird.
I've come across people in life that I would have sworn were twins. I'm curious how combinatorically low the number of facial features need to be before people resemble one another.
Later in life I traveled to Germany and just felt ... comfortable. I didn't speak the language or anything, wasn't talking to a lot of people, I simply saw all these faces that I felt I knew...
It was a very sudden change as I had already been to England, France, Italy and etc where things felt foreign and different. Then blamo, Germany and here are all these people I recognize / half recognize.
My favorite part of the trip, though, was getting complimented on my English by other friendly but clueless tourists who asked me for directions and the like. I told them thank you, my parents were very insistent that I practice my English from a young age. Technically the truth! :D
https://www.chasejarvis.com/blog/me-myself-and-i-francois-br...
You will find that people who have such similar faces also tend to think and act similarly also. Not a coincidence.
A similar one called FindClone has recently appeared, though I haven't tried it.
Like some kind of dejavu?
docker run --gpus all -it anibali/pytorch:cuda-10.1 bash
# copy images to container with `docker cp`
pip install stylegan2_pytorch
stylegan2_pytorch --data ./images
[0] https://github.com/lucidrains/stylegan2-pytorchWhen generating a new person (or whatever it is that does not exist) can you know that it isn’t like any of the images that went into the training data set?
How likely is it for it to actually exist after all?
Even assuming only 16 bits of randomness for each parameter (to keep them small enough, so you don't get too wild, because the center of 0 is a pretty homogenized face), 16^9000 is a lot of permuations of faces.
They will, of course, borrow from all of the 70k faces on Flickr that power StyleGAN, in varying degrees.
Well, this is the question. How do you know that you can make that assumption? Also even though you have ~9000 parameters they could be highly dependent.
Is it not possible, or just incredibly unlikely?
I also wonder how similar to an original person it needs to be before you would believe it's them anyway.
It only took me a while to notice that this is an actual human face in the background, just photographed from a peculiar angle and bearing a peculiar expression - not a neural network artifact.
The correct image was also on the left side all 5 times, which feels a little suspicious (although obviously not super unlikely).
However, since the model only does faces centered in an image, you're restricted to different headshots: make them smile or frown, or wearing sunglasses, or different hair color, or animate lip flaps, yes, but not 'doing different things in different places', unless you can figure out some way to insert a headshot into a bigger photo.
https://news.ycombinator.com/item?id=19144280
(872 points, 242 comments)
The results are much better than when originally posted in HN.
It has produced some extraordinarily disturbing art, especially for those of us who were her subjects. Some of the images are so wild and out there, it really is an adventure into ones own psyche. I see so much in the generated images that creates an intense emotional response, and its very difficult to differentiate between the lines of the artist and the lines of the code, at least in a way that is easily discernible. Her art as the seed definitely amplifies things - the emotions of eyes, the despair of cheeks and lips - in a way that the generative programming enhances, 1000x ..
Very interesting stuff, and I'm looking forward to her exhibit of this work - especially the live demonstrations.
The persons whose images the net was trained with also might have, certainly if the network was trained with only a few images.
Another (darker) possibility is to generate copyrighted images. Once you have (say) a trillion photos, it will be hard to generate a new one that doesn't look (in essence) like one you already have.
Even more interestingly, you can interpolate between faces very smoothly. (For instance, I was able to give some face off the street a drag makeover, by interpolating that face plus or minus the face of a drag queen minus that performer's face out of drag: https://leebutterman.com/assets/lsb5-plus-trixie-minus-brian... )
But it can be tricky to encode faces if they look out of the ordinary, where "ordinary" is the 70k faces on Flickr that trained StyleGAN.
It's interesting to see so high quality on image generation using neural networks, while text generation using gpt2, which seems a lot easier at first, is glorified nonsense.
There is, this time, much less craziness with hair sprouting from the wrong places.
Assuming that that sample is representative of all the training data, it must be that the algorithm is 'choosing' not to produce images of dark skinned people. Perhaps because it isn't very good at them and 'knows' this? I wonder if there are other features it's deliberately avoiding?
An algorithm would not have this kind of insight. (This is just a GAN trained on face data.) To say that an algorithm like this is "deliberately" doing anything is a misunderstanding.
Most generators like this that I've seen, like GPT-2, require you to provide a "seed" of some sort, such as a sentence fragment. They then build off of this seed. I don't know if this is implemented that way, but if so, perhaps the developer provided a set of seed data that leads to this result. There may also be a sort of "averaging" involved (see another commenter's note about the women having similar features), and depending on both the training data and the seed, this may result in a preference towards certain features.
Edit: it's StyleGAN.
I got the feeling this could turn out the same as people using fake email addresses to later discover that the domain in fact exists (that's why you should always use example.com).
In reality, there are already real-world doppelgangers, where a typical observer would confuse two (unrelated) individuals. I'm guessing that could happen with a synthetic image too, but it's probably not any worse than a real-world matching error. (The bigger concern is the related one of deepfakes, which don't need any kind of synthesis, they just act directly on the real person's image.)
It would be awesome to have that for a project that I'm thinking of.
These algorithms are tools and at their worst they are powerful weapons - much more dangerous than some nuclear bomb that wipes out a few hundred square miles.
I used to be able to tell the fakes by the ears, but that seems to have been fixed.
They are still a little bit weird but I remember it being much worse
It would be neat to randomly generate faces until it generates a "doppelganger" of yourself.
Imagine seeing your lookalike in here.
You could set up a script that just randomly picked one out of 50 images of my closest family and no one would know the difference from going to it.
So it’s only impressive is you take it for granted that it’s doing what is claimed.
It’s impressive if you assume it’s impressive.
What I’m saying is simply that if they want to claim it’s impressive you should be able to judge that based on the displayed result itself. Just include the nearest match and it’s simple as hell for everyone to judge if it actually did something cool or not.
The right and left side of these faces are too similar. This is not the case with real people.
There's no imagination involved.