News for hackers. Stuff that matters.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by Closi on Wednesday August 18, 2021 @07:48AM (#28219924)
> it seems two visually similar images will also have similar hashes

This is by-design - The whole idea of a perceptual hash is that the more similar the two hashes are, the more similar the two images are, so I don't think it invalidates any claims.

Perceptual hashes are different to a cryptographic hash, where any change in the message would completely change the hash.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by enriquto on Wednesday August 18, 2021 @11:52AM (#28223017)
> The whole idea of a perceptual hash is that the more similar the two hashes are, the more similar the two images are

If that is the case, then the word "hash" is terribly mis-applied here.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by tomesco on Wednesday August 18, 2021 @12:39PM (#28223716)
Hash is applied correctly here. A hash function is "any function that can be used to map data of arbitrary size to fixed-size values." The properties of being a(n) (essentially) unique fingerprint, or of small changes in input causing large changes in output, are properties of cryptographic hashes. Perceptual hashes do not have those properties.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by enriquto on Wednesday August 18, 2021 @03:07PM (#28225772)
Good explanation, thanks. I only knew about cryptographic hashes, or those that are used for hash tables where you absolutely do not want to have collisions. Anyhow, I'm not really comfortable with this usage of the word "hash". It is completely opposite of the meaning I'm used to.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by L33tCrown on Wednesday August 18, 2021 @03:03PM (#28225723)
Maybe the term fingerprint is better
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by kevin_thibedeau on Wednesday August 18, 2021 @11:42AM (#28222845)
It greatly increases the collision space if you only have to get near a bad number.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by SV_BubbleTime on Wednesday August 18, 2021 @11:29AM (#28222568)
> The whole idea of a perceptual hash is that the more similar the two hashes are, the more similar the two images are

This is already proven to be inaccurate. There are adversarial hashes and collisions possible in the system. You don’t have to be very skeptically-minded to think that this is intentional. Links to examples of this already posted in this thread.

You are banking on an ideal scenario of this technology not the reality.

EDIT: Proof on the front page on HN right now https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX/issue...

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by eurasiantiger on Wednesday August 18, 2021 @07:56AM (#28219980)
I think you may have misread my comment: I did not mean that the similarity of hashes invalidates any claims.