Skip to main content
QUICK REVIEW

[Paper Review] Software engineering and the SP Theory of Intelligence

J. Gerard Wolff|arXiv (Cornell University)|Aug 18, 2017
Computability, Logic, AI AlgorithmsComputer Science20 references10 citations
TL;DR

This paper proposes a novel software engineering paradigm rooted in the SP Theory of Intelligence, which uses a unified framework of information compression via SP-patterns to replace traditional programming, compilation, and data formats. By treating all computation as pattern-based compression, the approach enables automatic programming, eliminates distinctions between code and data, and reduces technical debt, verification needs, and the proliferation of programming languages and file types.

ABSTRACT

This paper describes a novel approach to software engineering derived from the "SP Theory of Intelligence" and its realisation in the "SP Computer Model". Despite superficial appearances, it is shown that many of the key ideas in software engineering have counterparts in the structure and workings of the SP system. Potential benefits of this new approach to software engineering include: the automation or semi-automation of software development, with support for programming of the SP system where necessary; allowing programmers to concentrate on 'world-oriented' parallelism, without worries about parallelism to speed up processing; support for the long-term goal of programming the SP system via written or spoken natural language; reducing or eliminating the distinction between 'design' and 'implementation'; reducing or eliminating operations like compiling or interpretation; reducing or eliminating the need for verification of software; reducing the need for validation of software; no formal distinction between program and database; the potential for substantial reductions in the number of types of data file and the number of computer languages; benefits for version control; and reducing technical debt.

Motivation & Objective

  • To address the growing complexity and inefficiency in modern software engineering caused by excessive diversity in programming languages, data formats, and development processes.
  • To eliminate the artificial separation between design and implementation by unifying software development under a single, compressive framework.
  • To reduce or eliminate the need for compilation, interpretation, verification, and validation through a natural, human-like computing model.
  • To enable natural language programming and long-term automation of software development via the SP Computer Model.
  • To minimize technical debt and improve software maintainability by unifying data and program representations.

Proposed method

  • Representing all software and data as SP-patterns—structured, compressive patterns that encode knowledge and computation.
  • Using the SP system's principle of multiple-alignment to perform inference, learning, and computation through information compression.
  • Replacing traditional programming languages with a single, universal language based on SP-patterns, enabling natural language input for software development.
  • Replacing compilation and interpretation by directly executing SP-patterns through the SP Machine, a proposed industrial-strength realization of the SP system.
  • Unifying program and database by treating both as collections of SP-patterns, eliminating the need for separate data models.
  • Leveraging the SP system’s demonstrated versatility in modeling human cognition, perception, and learning to support scalable, general-purpose software engineering.

Experimental results

Research questions

  • RQ1Can software engineering be reimagined as a unified process based on information compression, eliminating the need for separate compilation, interpretation, and verification?
  • RQ2To what extent can natural language input be used to generate and execute software directly via the SP system?
  • RQ3How might the elimination of traditional programming constructs (e.g., functions, conditionals) be achieved while preserving computational expressiveness?
  • RQ4Can the SP system’s ability to represent diverse knowledge types serve as a universal substrate for all software and data formats?
  • RQ5What are the implications of unifying program and data in a single SP-pattern-based representation for version control and technical debt?

Key findings

  • The SP system can represent all forms of knowledge and computation through a single, unified mechanism of SP-patterns, enabling a universal substrate for software and data.
  • Traditional programming constructs such as functions, conditionals, and parameters can be re-expressed as SP-patterns, demonstrating equivalence without requiring procedural execution.
  • The approach eliminates the need for compilation and interpretation by directly processing SP-patterns on the SP Machine, reducing system complexity.
  • Verification and validation of software can be significantly reduced or eliminated, as correctness emerges naturally from the information-compression principle of the SP system.
  • The distinction between program and database dissolves, as both are represented as collections of SP-patterns, simplifying data management and version control.
  • The potential exists to reduce the number of programming languages and data file types to one universal format, drastically reducing technical debt and development overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.