PyTorch implementation of a "synthetic neuron" inspired by its description:

#1
by reynaldo22 - opened
  • Base X and Y as input vectors
  • Lower counterbase (X_minus) representing the inverse axis / confrontation (X - 1)
  • An integration axis that intersects X and Y forming a conceptual "triangle"
  • An iterative refinement loop: as long as there are "questions" (significant differences) between the current and previous states, the response continues to be refined

How it works (conceptual mapping -> implementation):

  • base_x, base_y: independent linear transformations (nn.Linear modules)
  • counterbase: transformation applied to base_x shifted (x - delta) to generate the "confrontation" effect
  • integration_axis: layer that integrates the transformed signals and produces an integrated state
  • refinement loop: repeats: generate integrated output -> compare with previous output -> if the L2 difference is greater than a threshold (i.e., "There are still reasons why"), generates a new integration until stability or max_iters

You can adapt the sizes, activation functions, and stopping criteria to align with

reynaldo22 pinned discussion

Sign up or log in to comment