The complexity science of software evolution and emergence
Neural Network
Are Neural Networks Turing Complete?
Algorithm
Program
ON THE TURING COMPLETENESS OF MODERN NEURAL NETWORK ARCHITECTURES (ICLR'19 Perez, et al.)
Source Code Generative Agent
Source Code
Source Code
Transformer
Fine-Tunned Agent
Source Code
SE Task
Supervised SE Task
Transformer + Softmax
Enhanced supervised task?
Synthesized Code
Generative Agent
Fine-Tuned Agent
Output
Input
Enhanced synthesized source code?
At a Larger Scale the behavior emerge (Power Law)
Can the generated source code produce a generative agent?
Self-Replication (?)
What if the self-replicated agent (by emergency) generates better behavior (i.e. classification accuracy)?
Enhanced task?
Instead of transmitting typical outputs (source code), now the agents also share learned configurations (meta-data)
Transfer Learning at larger scales
Emerging Complex Programs is feasible under tensor manipulations and simple local rules
Transfer Learning at larger scale
Enhanced Software 2.0 Programs? or Probably Brand-New Programs?
Auto-regressive, adversarial, or autoenconder architectures
Trained Generative Agent
Trained Fine-Tuned Agent
Deep Neural Classifier
Better Performance
Generative Agents are sensitive to initial conditions (hyper-parameters) and inputs
Fine-Tune Strategy 1
Fine-Tune Strategy 2
Worst Performance
No leading agent or "deep neural net" controlling for interactions
Case study 1 [self-replication]: Are self-replicated "programs" (or NN or Software 2.0) somewhat better? What type of properties have? Can the multi-tasker agents perform a brand new task?
Case study 2 [self-organization]: are the generative agents reporting enhanced accuracy after transfer-learning interactions?
Assembled Agent (by transfer learning strategies)
Enhanced synthesized code?
Simple and Local Transfer Rules
Better accuracy? What type of tasks emerged?
Fine-Tuning
Complex Programs or Advanced Software Systems
Case study 3 [evolution]: are the generative agents reporting enhanced accuracy after evolving parameters or structure?
Evolved Generative Agents
Enhanced synthesized code?
Fine-Tuning
Better accuracy? What type of tasks emerged?
Evolutionary Computation
Complex Programs or Advanced Software Systems
We can make source code Generative Agents more sophisticated. If each individual unit includes an independent reasoning unit, then agents can interact with each other by taking individual decisions (e.g., game theory, Q-Function, and reinforcement)
Reasoning Unit
Input Information
Filtered Outcome
Reasoning Units could control for maintenance tasks of each Neural Net. In other words, these nets are ablet to self-maintain the entire architecture (adaptability strategies)
Reasoning Unit
Input Information
Filtered Outcome
Regulation
Each Generative Agent can be considered "intelligent" when a reasoning is included...
Reasoning Unit
Input Information
Inferred Decision
Observation
Intervention
Retrospection
Each Generative Agent can be considered "intelligent" when a reasoning is included...
Reasoning Unit
Input Information
Inferred Decision
Observation
Intervention
Retrospection
Deep Unsupervised Nets
Case study 4 [causal inference]: Is reasoning among agents generating enhanced programs? What type of properties have?
Inferred Decision
Inferred Decision
Inferred Decision