Can computers only do what we tell them to?

  • Thread starter droog
  • Start date
  • Tags
    Computers
In summary: For example, if we write a program and we know all the inputs then surely we ought to be able to predict the outputs so long as we know all initial states (including the seed in any pseudo random generator as well as the generator taps).Therefore, it seems that the unpredictability of the output is not due to some inherent limitation of the computer, but rather is the result of the complexity of the program. [This is a very important point - the unpredictability of the output is not due to some inherent limitation of the computer, but rather is the result of the complexity of the program.]...I bet there's a dozen threads here regarding determinism and no resolution in sight.
  • #1
droog
23
0
Is it true to say "computers only do what we tell them to"? If we write any program and we know all the inputs then surely we ought to be able to predict the outputs so long as we know all initial states (including the seed in any pseudo random generator as well as the generator taps).

If we introduce a real random element (like the input devices based on thermal noise) then it's pretty obvious that programs could be written that didn't produce predictable outputs e.g. PRINT get_random_from_hardware()

...I want to know if there's an algorithmic equivalent to this.

(mods: I couldn't decide between computers or maths so I plumped for philosophy to ask this. please move if its a problem here.)
 
Computer science news on Phys.org
  • #2
An algorithm can't invent randomness. A similar thing concerns GUID's. How does an algorithm come up with a globally unique identifier? It doesn't, it uses the MAC address on your network card and that contains the global uniqueness. These things come from outside.

This leads to the intuition that the universe can't have a true source of randomness, because that randomness would need to be from outside (or that it just happened to be random).
 
Last edited:
  • #3
Hmm, it seems that not even the mind can be random. If it could be considered a computer.
 
  • #4
I knew it would be a philosophical question ;) Admitting randomness in the form of thermal noise is only pushing the problem back (albeit a virtually infinite way) if we consider the universe as a whole to be deterministic. I bet there's a dozen threads here regarding determinism and no resolution in sight.

But for my purposese, a computer connected to a thermal noise source will do. Surely, For All Practical Purposes that's how we can think of the mind as well.

It's just that some people say it's obvious that computers will never be able to think for themselves becuase they can only do what their programmers tell them to do. Why a programmer can't tell a computer to "think for itself" is escaping me at the moment.
 
  • #5
...it depends on what you mean by "Can computers only do what we tell them to"?
Can a 2-4 year old child only do what we tell them to do? What is the difference between a child and AI? Is there some commonality amongst them?

What are the properties of "thinking for yourself"?
 
  • #6
You could use a Schrodinger's Cat type box as a seed for randomness. That would be internal. There is surely a compact, digital electronic way of tapping into quantum uncertainty.

There's an invention for you that'll make you millions!
 
  • #7
Computer = Life: Do what the creators tell them to.

Subject: Computer = Life: Do what the creators tell them to.

Thank you, Prof. Droog and Prof. Bannon, for your fundamental philosophical comments on the destiny of mankind and the purpose of its existence.

droog said:
Is it true to say "computers only do what we tell them to"? …PRINT get_random_from_hardware()
...I want to know if there's an algorithmic equivalent to this.
(mods: I couldn't decide between computers or maths so I plumped for philosophy to ask this. please move if its a problem here.)
Bannon said:
Hmm, it seems that not even the mind can be random. If it could be considered a computer.
The obvious algorithmic equivalent to this is the origin of life developed from non-living materials, if we believe in evolution. If we believe in creation or self-creation, we can see from your comments a very important, if not the most important, conclusion for our existence: The design specification (what we tell them to do) of our creation (computer), particularly, of our self-creation reveals the purpose of our existence and the meaning of our lives (do what they are designed to do; from know thyself to be thyself). [Chien Yi Lee from Self-creation of the living system.]
 
  • #8
So the meaning of our lives is determined by our design? Well then, I guess the meaning of my life is to eat, sleep and...
 
  • #9
But for my purposese, a computer connected to a thermal noise source will do.

Why aren't you satisfied with using the 16 digit system clock as a seed for a random number generater? Surely the time measured in miliseconds is as random as thermal noise, although the two are not wholly unconnected.
 
  • #10
The phrase "emergent properties" used in logic and sometime mathematics might be useful here. We can have a completely determinant logical or mathematical system, so that every theory is "contained" in the axioms and yet get results that surprise us.

A computer can (or robot- questions like this used to be asked about robots), in fact, only do what we tell them to do. But if the basic programming is complicated enough, a computer (or robot) can do things that we did not intend.
 
  • #11
HallsofIvy is correct in saying this. You might, for instance, use a pseudo-random noise generator to drive the process of genome mutation in a genetic algorithm. The overall parameters of the program might be known, but the results may still be a surprise. If the fitness factor is sufficiently general (survive at any cost, say), and the model sufficiently rich, the outcome may be quite unpredictable.
 
  • #12
Verty... An algorithm can take a number of random-ish seeds (say the bottom bit of keyboard click interval measurements) and produce a result that is probabilistically likely to be unique.
 
  • #13
But that is still a completely deterministic system. At the most basic level, the results only surprise us because we haven't analyzed the system well enough. With enough analysis, we could predict the exact results.

Even thermal noise as a seed is simply a very complex yet determiministic inout.
 
  • #14
droog said:
Is it true to say "computers only do what we tell them to"?
In principle yes, but only for an ideal, and thus non-physical, computer.
There is a small but finite probability that a physical computer will fail to provide the expected result.
 
  • #15
Doesn't one of the tenets of computability theory claim that a system can only be completely modeled by a system more powerful than itself?

What I'm saying is that, deterministic or not, some systems are complex enough that analysis becomes if not actually impossible, then prohibitively expensive.

Chaotic systems, for example. A model of some chaotic system (say, the weather) may well be deterministic, but in order to 'predict' the behaviour of the system, you must either run *it*, or something able to comprehend it in its entirety.

It may be possible in principle, but in principle, you could move the Earth with a sufficiently large lever.
 
  • #16
You can make an analogy with the trap-door functions used to implement public/private key encryption. It's quite certain that your trap-door function is entirely deterministic, but it's *hard* to reverse. And trap-door functions are designed to be fast enough (and thence simple enough) to be used, for example, in key-exchange protocols operating across networks.
 
  • #17
also it depends on what you define as a computer? IF its an ordinary desktop ...probably not given that its only inputs are possible your camera/mic/keybaord/mouse. For a server/cluster/array it will depend on what the inputs were.

IN biopsych, the inputs to the system are an extrmeely concept for child development (the whole concept of the richer the environment -- the more stimuli -- the more a child will take in and be flexible to)

So if you give a computer such inputs and some basic code design(large vector space of small functions) to handle the input...there's no teling what it can do...
 
  • #18
I think that it's more like "we only let computers do what we tell them to do". We can have a computer act fairly randomly by having it interact with its environment in some form, possibly chaotic, and we might say that then the computer is doing what it wants.
From an external viewpoint a computer does what it wants. It's a self contained unit and its internal mechanisms decide what it does next, of course in conjunction with its environment which may or may not include a human and a keyboard, much like us.
 

1. Can computers think for themselves?

No, computers can only follow instructions and perform tasks that they are programmed to do. They do not have the ability to think or make decisions on their own.

2. Are computers capable of learning on their own?

Computers can be programmed to learn and adapt to new information, but they do not have the ability to learn on their own without being explicitly programmed to do so.

3. Is it possible for computers to make mistakes?

Yes, computers can make mistakes if there are errors in the code or if they receive incorrect information. They can also make mistakes if they encounter a situation that they were not programmed to handle.

4. Can computers have emotions or feelings?

No, computers do not have emotions or feelings as they are not living beings. They can simulate emotions through programmed responses, but they do not experience emotions in the same way humans do.

5. Is it true that computers can do anything we want them to?

While computers can perform a wide range of tasks, they are limited by their programming and hardware capabilities. They cannot do tasks that they are not programmed or physically able to do.

Similar threads

  • Computing and Technology
Replies
4
Views
1K
Replies
9
Views
1K
  • Quantum Interpretations and Foundations
6
Replies
204
Views
7K
  • Computing and Technology
Replies
11
Views
2K
  • Programming and Computer Science
Replies
29
Views
3K
  • Programming and Computer Science
Replies
32
Views
3K
Replies
2
Views
2K
Replies
10
Views
2K
Replies
88
Views
7K
  • Quantum Physics
Replies
11
Views
2K
Back
Top