image - 反转神经网络的目标

标签 image neural-network classification deep-learning inversion

我目前正在研究神经网络,或更具体地说是图像分类。当我阅读时,我想知道以下内容是否已经完成/可行。如果有人能给我指出一些来源或想法,我将不胜感激!

在传统的神经网络中,您有一个图像训练数据集和网络中神经元的权重。目标是优化权重,使图像的分类对于训练数据来说是准确的,并且新图像尽可能好。

我想知道你是否可以扭转这个: 给定一个神经网络及其神经元的权重,生成一组与网络分离的类别相对应的图像,即该特定网络能够很好分类的图像类型的原型(prototype)。

在我看来,它的工作原理如下(我确信这不是完全可以实现的,但只是为了让大家理解这个想法): 想象一个神经网络,它能够对包含猫、狗标签以及两者都不包含的图像进行分类。 我想要的是“逆”,即一张猫的图像、一张狗的图像和一个距离其他两个类“最远”的图像。 我认为这可以通过生成图像并最小化一个特定类的损失函数,同时最大化所有其他类的损失函数来完成。

这就是 Google Deep Dream 将其“梦想”可视化的方式吗?

我希望我的意思很清楚,如果不清楚,我会回答任何问题。

最佳答案

Is this kind of how Google Deep Dream visualizes what it is "dreaming"?

看起来差不多,至少背后的人是这么解释的:

One way to visualize what goes on [in a neural network layer] is to turn the network upside down and ask it to enhance an input image in such a way as to elicit a particular interpretation. Say you want to know what sort of image would result in “Banana.” Start with an image full of random noise, then gradually tweak the image towards what the neural net considers a banana (see related work [...]). By itself, that doesn’t work very well, but it does if we impose a prior constraint that the image should have similar statistics to natural images, such as neighboring pixels needing to be correlated.

Source - 整篇博文值得一读。

关于image - 反转神经网络的目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34516175/

相关文章:

php - SQL 将所有 .JPG 设置为 .PNG

c - 如何使用 libpng 将 C 代码中的 png 图像解码为原始字节?

css - 背景图像被某些问题覆盖

jquery - 如何使用 jQuery 在 URL 获取上确定像 pinterest 一样的图像大小

matlab - 在对同一数据集进行训练后,您对两个完全相同的神经网络有何评价?

python - MIDI 刻度是固定值还是取决于文件的 BPM?

machine-learning - 将 Weka 分类器转换为分数

machine-learning - NaiveBayes 分类器 : Do I have to concatenate all files of one class?

machine-learning - 神经网络 - 深度自动编码器和堆叠自动编码器之间的区别

java - 网页的二进制分类