Remix.run Logo
▲ Zanfa 3 hours ago

Additions and multiplications give you gradients for back propagation, I’m not sure what the XOR equivalent would be.

I believe binary networks use quantization-aware training for exactly that reason as well.

▲sigmoid10 3 hours ago | parent | next [-]

On top of that, you can trivially construct an XOR gate with just 2 neurons in the hidden layer. Neural networks are already proven universal approximation schemes and they are differentiable, meaning you can train using gradient descent. These two facts are what gave rise to modern AI, not some half-motivated architecture or building block. Complexity is what you need, and gradient descent is what you use to tame it. There are probably still quite a few possible improvements to sections of the overall process, but the biggest revolution will probably come from making hardware more aligned with these ideas rather than making AI more aligned with traditional hardware.

▲adrian_b an hour ago | parent | prev [-]

"XOR" is actually an incorrect name for addition modulo 2. For 3 or more inputs, true "XOR" and addition modulo 2 give different results ("exclusive or" means that 1 and only 1 of the operands is true, "addition modulo 2" means that an odd number of operands are true). No computer implements true "XOR", all implement addition modulo 2.

Addition modulo 2 is special, because it is identical with subtraction modulo 2. This means that computer "XOR" has 2 possible interpretations, as addition modulo 2 and as subtraction modulo 2.

Because addition modulo 2 is special, some of the algorithms that work with additions in bigger fields also work modulo 2, but other algorithms are no longer applicable.