Black box
In science, computing, and engineering, ablack box is a device, system or object which can be viewed in terms of its inputs and outputs (or transfer characteristics), without any knowledge of its internal workings. Its implementation is "opaque" (black). Almost anything might be referred to as a black box: atransistor, an algorithm, or the human brain.
To analyse something, as an open system, with a typical "black box approach", only the behavior of the stimulus/response will be accounted for, to infer the (unknown) box. The usual representation of this black box systemis a data flow diagram centered in the box.
The opposite of a black box is a system where the inner components or logic are available for inspection, which is most commonly referred to as a white box (sometimes also known as a "clear box" or a "glass box").
History
The modern meaning of the term "black box" seems to have entered the English language around 1945. In electronic circuit theory the process of network synthesis from transfer functions, which led to electronic circuits being regarded as "black boxes" characterized by their response to signals applied to theirports, can be traced to Wilhelm Cauer who published his ideas in their most developed form in 1941.[1] Although Cauer did not himself use the term, others who followed him certainly did describe the method as black-box analysis.[2] Vitold Belevitch[3] puts the concept of black-boxes even earlier, attributing the explicit use of two-port networks as black boxes to Franz Breisig in 1921 and argues that 2-terminal components were implicitly treated as black-boxes before that.
In cybernetics, a full treatment was given byRoss Ashby in 1956.[4] A black box was described by Norbert Wiener in 1961 as an unknown system that was to be identified using the techniques of system identification.[5] He saw the first step in self-organization as being to be able to copy the output behavior of a black box. Many other engineers, scientists and epistemologists, asMario Bunge,[6] used and perfected the black box theory in the 1960s.
System theory
The black box is an abstraction representing a class of concrete open system which can be viewed solely in terms of its stimuli inputs andoutput reactions:
The understanding of a black box is based on the "explanatory principle", the hypothesis of acausal relation between the input and theoutput, and:[7]
- input and output being believed to be distinct,
- having observable (and relatable) inputs and outputs,
- being black to the observer (non-openable).
Recording of observed states
An observer makes observations over time. All observations of inputs and outputs of ablack box can be written in a table with the form:
in which, at each of a sequence of times, the states of the box’s various parts, input and output, are recorded. Thus, using an example from Ashby, examining a box that has fallen from a flying saucer might lead to this protocol:[4]
Thus every system, fundamentally, is investigated by the collection of a long protocol, drawn out in time, showing the sequence of input and output states. From this there follows the fundamental deduction that all knowledge obtainable from a Black Box (of given input and output) is such as can be obtained by re-coding the protocol (theobservation table); all that, and nothing more.[4]
If the observer also controls input, the investigation turns into an experiment(illustration), and hypotheses about cause and effect can be tested directly.
When the experimenter is also motivated to control the box, there is an active feedback in the box/observer relation, promoting what incontrol theory is called a feed forwardarchitecture.
Modeling
The modeling process is the construction of a predictive mathematical model, using existing historic data (observation table).
Testing the black box model
A developed black box model is a validated model when black-box testing methods[8]ensures that it is, based solely on observableelements.
With backtesting, inputs for past events (not used in the "modeling effort") are entered into the model to see how well the output matches the known results.
Other theories
Black box theories are things defined only in terms of their function.[9][10] The term black box theory is applied to any field, philosophyand science or otherwise where some inquiry or definition is made into the relations between the appearance of something (exterior/outside), i.e. here specifically the thing's black box state, related to its characteristics and behaviour within (interior/inner).[11][12]
Specifically, the inquiry is focused upon a thing that has no immediately apparent characteristics and therefore has only factors for consideration held within itself hidden from immediate observation. The observer is assumed ignorant in the first instance as the majority of available data is held in an inner situation away from facile investigations. Theblack box element of the definition is shown as being characterised by a system where observable elements enter a perhaps imaginary box with a set of different outputs emerging which are also observable.[13]
Adoption in humanities
In humanities disciplines such as philosophy of mind and behaviorism, one of the uses of black box theory is to describe and understand psychological factors in fields such as marketing when applied to an analysis of consumer behaviour.[14][15][16]
The black box theory of consciousness states that the mind is fully understood once theinputs and outputs are well-defined.[17]
Examples
- In computer programming and software engineering, black box testing is used to check that the output of a program is as expected, given certain inputs.[18] The term "black box" is used because the actual program being executed is not examined.
- In computing in general, a black box program is one where the user cannot see the inner workings (perhaps because it is aclosed source program) or one which has no side effects and the function of which need not be examined, a routine suitable for re-use.
- Also in computing, a black box refers to a piece of equipment provided by a vendor, for the purpose of using that vendor's product. It is often the case that the vendor maintains and supports this equipment, and the company receiving the black box typically is hands-off.
- In neural networking or heuristic algorithms(computer terms generally used to describe 'learning' computers or 'AI simulations'), a black box is used to describe the constantly changing section of the program environment which cannot easily be tested by the programmers. This is also called awhite box in the context that the program code can be seen, but the code is so complex that it is functionally equivalent to a black box.
- In physics, a black box is a system whose internal structure is unknown, or need not be considered for a particular purpose.
- In mathematical modeling, when the primary goal is the most accurate replication of data, regardless of the mathematical model structure, a black-box modeling approach is useful. If the inputs and outputs are known the model can be inferred. Black-box modeling is a trial-and-error method, where parameters of various models are estimated, and the output from those models is compared to the results with the opportunity for further refinement.[19]
- In philosophy and psychology, the school ofbehaviorism sees the human mind as a black box;[20] see other theories.
- In neorealist international relations theory, the sovereign state is generally considered a black box: states are assumed to be unitary, rational, self-interested actors, and the actual decision-making processes of the state are disregarded as being largely irrelevant. Liberal and constructivisttheorists often criticize neorealism for the "black box" model, and refer to much of their work on how states arrive at decisions as "breaking open the black box".
- In cryptography to capture the notion of knowledge obtained by an algorithm through the execution of a cryptographic protocol such as a zero-knowledge proofprotocol. If the output of an algorithm when interacting with the protocol matches that of a simulator given some inputs, it 'need not know' anything more than those inputs.
Black Box theory is, however, even wider in application than these professional studies:
Comments
Post a Comment