Emergence of Machine Language: Towards Symbolic Intelligence with Neural Networks

Yuqi Wang, Xu-Yao Zhang, Cheng-Lin Liu, Zhaoxiang Zhang

Abstract

Modern Artificial Intelligence is largely divided between symbolic logic and connectionist neural networks. While symbolism offers interpretability and reasoning, connectionism excels at processing high-dimensional raw data. This paper explores the emergence of a "machine language"—a discrete, symbolic representation evolved by neural networks through a cooperative multi-agent game. We demonstrate that this emergent language is more interpretable, robust to noise, and capable of better generalization than standard continuous feature vectors.

Introduction: Bridging the Gap

The field of AI currently faces a dichotomy between Symbolism and Connectionism. Symbolism relies on discrete logic and human-readable rules, which are excellent for reasoning but brittle when faced with the complexity of real-world sensory data. Conversely, Connectionism (Deep Learning) utilizes continuous high-dimensional vectors. While highly accurate at pattern recognition, these models often function as "black boxes," lacking transparency and failing under slight environmental perturbations.

Bridging Symbolism and Connectionism through Machine Language

Human intelligence effectively reconciles these two paradigms: our neural architecture processes continuous signals, yet we represent and communicate knowledge through discrete symbolic language. This research aims to mimic this synthesis by enabling machines to evolve their own discrete symbolic language to solve visual tasks.

Methodology: The "Speak, Guess, and Draw" Framework

To facilitate the emergence of machine language, the authors propose a multi-agent framework involving a Speaker (Agent A) and a Listener (Agent B) participating in a cooperative game called Speak, Guess, and Draw (SGD).

The SGD Framework: Perception, Communication, and Cooperation

The game consists of three primary phases:

  1. Perception: The Speaker observes a target image and generates a sequence of discrete symbols (e.g., "@S#&GD...") using a ResNet-50 backbone and an LSTM.
  2. Communication: This symbolic sequence is transmitted to the Listener.
  3. Cooperation: The Listener must use the received symbols to perform two distinct tasks:
  4. Guessing (Discriminative): Identifying the target image from a set of distractors.
  5. Drawing (Generative): Reconstructing a grayscale version of the original image.

This unsupervised process is flexible, allowing for variable-length sequences, and semantic, as the symbols must convey meaningful information for the Listener to succeed. A Consistency Regularization loss ensures that different descriptions of the same object yield consistent interpretations.

Experimental Evaluation

The model's universality was tested across five diverse datasets: MNIST (handwritten digits), Animal (ImageNet subset), Sequence (multi-digit MNIST), Pascal VOC (object categories in scenes), and MS COCO (complex real-world scenes).

Key Results

  • Performance: The agents successfully learned to communicate across all datasets. On MS COCO, the Listener achieved an 85.50% accuracy in the guessing task, significantly higher than the 20% random baseline.
  • Robustness: Discrete symbols act as a bottleneck that filters out pixel-level noise. On MNIST, the machine language model maintained 91.36% accuracy under heavy Gaussian noise, whereas standard continuous models dropped to 84.11%.
  • Generalization: In Out-of-Distribution (OOD) tests (training on digits 0-4, testing on 5-9), the symbolic approach outperformed feature-based models (71.72% vs 63.50%), indicating the learning of abstract concepts rather than mere pattern memorization.

Discussion and Insights

The evolved language exhibits compositionality and interpretability. In the COCO dataset, specific symbol patterns emerged for concepts like "person" or "food" without explicit supervision. Furthermore, the discrete nature of the language allows for "semantic editing." By manually altering specific symbols in a description, researchers could predictably change the Listener's perception (e.g., turning a '0' into a '9'), providing a level of transparency unavailable in standard deep learning models.

Conclusion

While the current machine language captures global semantics, it lacks the complex hierarchical syntax of human grammar. Future work will explore multi-round dialogues and more complex environments to drive the evolution of sophisticated syntax, potentially applying these discrete descriptions to tasks like fine-grained object detection.

Summary updated

BibTeX
@inproceedings{wang2024emergence,
  author = {Yuqi Wang and Xu-Yao Zhang and Cheng-Lin Liu and Zhaoxiang Zhang},
  title = {{Emergence of Machine Language: Towards Symbolic Intelligence with Neural Networks}},
  booktitle = {National},
  year = {2024},
  doi = {10.1093/nsr/nwad317},
}
Figure