Skip to main content

Working towards to creating AI to writing programs for humans

In this blog, I will talk about how to create an AI to write programs for us.  This is a forward looking, exploratory note about how we should take the next step.

Goal:
1) We want software that we will have to write only once.
2) This software will write all future applications.
3) When people want a new application, we simply collect the data for every specific task.
4) Then, through observation, this master program creates a new application for us.


Current Computer Limitations
- Our computer languages are created to support the CPU hardware structure and the memory structure in 1950s.
- Our computer languages have evolved several times over.
   note: they are a functional language, a structural language, object-oriented language and declarative language.
-  They all require humans to write the code in logical and specific ways.

Different Paradigm

Current Situation:
- Humans instructs a computer on rules of processing of input data.
- Then, a computer generates some output.
- The output is in form of text, sound, motion and graphics.

Future Situation:
- Humans should tell a computer what input data we have.
- Humans should tell a computer what output data we want.
- Then, a computer should automatically come up with rules of processing to generate the expected data output.


Future is Here:
- Machine Learning and Deep Learning is about guiding a computer to figure out the rules of processing.

Current AI Limitations:
- Still difficult for an ordinary person to guide a computer with AI Library to figure out the rules of processing on a given input dataset to generate the expected dataset.
- Current AI libraries or tools are still primitive to generate a set of arbitrary rules.
- Current AI libraries or tools are narrow domain specific.
   note: eg) classify a dog vs a cat, identify an object, process spoken or written words, etc.

Next Step:
eg) Differential Programming

Note:
- This computer language was introduced with a hope of addressing the current limiations.
- Its language syntax and semantics are still stuck in back in time of 1950s.


What should be:
- We shouldn't be using a computer language to write an application.
- We should create a master program which will write all applications.
- The master program should observe to collect the data.
- The master program should generate a new application from the input data.
- Then, it should figure out the rules of processing for a new application.


Reference:
- A simple automatica derivative evaluation program. (1964)
- Evaluating Derivatives: ::: Principles & Techniques of Algorithmic Differentiation (2008)
- Automatic Differentiation in Machine Learning: A survey (2017)

Comments

Popular posts from this blog

How to project a camera plane A to a camera plane B

How to Create a holographic display and camcorder In the last part of the series "How to Create a Holographic Display and Camcorder", I talked about what the interest points, descriptors, and features to find the same object in two photos. In this part of the series, I'll talk about how to extract the depth of the object in two photos by calculating the disparity between the photos. In order to that, we need to construct a triangle mesh between correspondences. To construct a mesh, we will use Delaunnay triagulation.  Delaunnay Triagulation - It minimizes angles of all triangles, while the sigma of triangles is maximized. The reason for the triangulation is to do a piece wise affine transformation for each triangle mapped from a projective plane A to a projective plane B. A projective plane A is of a camera projective view at time t, while a projective plane B is of a camera projective view at time t+1. (or, at t-1.  It really doesn't matter)

How to create a holographic camcorder

Since the invention of a camcorder, we haven't seen much of advancement of a video camcorder. Sure, there are few interesting, new features like capturing video in 360 or taking high resolution 4K content. But the content is still in 2D and we still watch it on a 2D display. Have you seen the movie Minority Report (2002)? There is a scene where Tom Cruise is watching a video recording of his lost son in 3D or holographically. Here is a video clip of this scene. I have been waiting for the technological advancement to do this, but it's not here yet. So I decided to build one myself. In order to build a holographic video camcorder, we need two devices. 1) a video recorder - a recorder which captures the video content in 3D or holographically. 2) a video display - a display device which shows the recorded holographic content in 3D or holographically. Do we have a technology to record a video, holographically. Yes, we can now do it, and I'll e

Creating an optical computer

Creating an optical computer  Note on creating an optical computer.  What is Optical Computer? A laptop is a microchip based computer and uses electricity and transisters to compute. An optical computer uses photons to compute.  How does it compare to a typical laptop? A modern desktop computer has about 5 TFLOPS (5 x 10^16 floating calculations per second). With an optical computer, there is no limit in the calcuations per second.   Is an optical computer faster than a quantuam computer?  In 2016, the fastest known quantum computer has 2000 qubits, which is 1000 faster than 512 qubits.  With an optical computer, there is no artificial limitation like 2000 or 500 qubits.   What's the theoretical compute limit on an optical computer?  There is a limit of speed of light. For now, the only artificial limitation is how we design the first prototype.  How much electricity energy does it require?  The first POC should use less than 1000 W/hr.  Has there been any prior inventions or work