A Defense With No Central Command
The vertebrate immune system has no organ that looks at the whole body and decides what to attack. Detection is spread over billions of cells, each carrying receptors that bind to a narrow range of molecular shapes, and each acting on local information. Somehow the result is a system that recognizes pathogens it has never met, remembers them for decades, and mostly leaves the body’s own tissue alone.
To computer scientists around 1990, that sounded like a list of design goals for intrusion detection and adaptive search. Artificial immune systems (AIS) is the name for the family of algorithms that grew out of that resemblance.
The field never produced a single algorithm. It produced several, each copied from a different piece of immunology, and they succeeded and failed for different reasons.
What Immunology Had to Offer
Four ideas from biology did most of the work. The first is negative selection. Young T cells mature in the thymus, and those whose receptors bind strongly to the body’s own proteins are destroyed before they are released. What survives is a population of detectors that, by construction, ignores self.
The second is clonal selection, formalized by Frank Macfarlane Burnet in the late 1950s. When a B cell’s receptor binds an antigen, that cell multiplies. Its offspring mutate their receptor genes at a very high rate (somatic hypermutation), and the variants that bind better are favored. The third is Niels Jerne’s 1974 network theory, which proposed that antibodies recognize and regulate each other, not only foreign material. The fourth, and the most recent, is the danger theory that Polly Matzinger proposed in 1994: the immune system reacts to signs of damage, such as cells dying in an uncontrolled way, more than to foreignness itself.
Negative Selection
The first and best known AIS algorithm came from Stephanie Forrest, Alan Perelson, Lawrence Allen and Rajesh Cherukuri in «Self-Nonself Discrimination in a Computer,» presented at the IEEE Symposium on Research in Security and Privacy in 1994. The problem was detecting unauthorized changes to files, the kind a computer virus makes.
The method copies the thymus. Self is a set of binary strings taken from the protected data. Candidate detectors are random strings of the same length. Each candidate is compared against every self string using a partial matching rule: two strings match if they agree in at least r contiguous positions. Any candidate that matches self is discarded, a step the authors called censoring. The survivors are kept as detectors. Later, if a detector matches a string from the monitored data, something has changed.
The design was appealing. Each site could hold its own random detector set, so learning one site’s detectors told an attacker nothing about another’s, and the system never needed examples of attacks, only of normal data. The paper’s own analysis of how many detectors were needed already hinted at the cost: generating them by random sampling and rejection becomes expensive quickly as the self set grows.
Case: A Sense of Self for Unix Processes
Forrest, Steven Hofmeyr, Anil Somayaji and Thomas Longstaff then asked a sharper question in «A Sense of Self for Unix Processes» (IEEE Symposium on Security and Privacy, 1996). What should count as «self» for a running program? Their answer was the short sequences of system calls it makes. A privileged program such as sendmail opens, reads, writes and forks in patterns that are fairly stable from day to day.
They recorded the sequences produced during normal operation, for windows of a few calls (they reported results for lengths 5, 6 and 11), and built a database of normal behavior for each program. During monitoring, sequences missing from the database were flagged. The method detected several known intrusions against sendmail and lpr.
This system did not generate random detectors at all. It stored self directly and flagged departures from it. The immunological framing produced the important question (what is a program’s self?) and the answer turned out to be a simple lookup of observed behavior. Anomaly detection on system call traces later became a standard topic in host intrusion detection, usually with no immune vocabulary attached.
The Scaling Wall
Negative selection was tested at larger scale in the following years, and the results were discouraging. Steven Hofmeyr and Forrest built LISYS, a network intrusion detection system described in «Architecture for an Artificial Immune System» (Evolutionary Computation, 2000), which monitored TCP connections on a local network with distributed detectors. It worked in that setting. Jungwon Kim and Peter Bentley at University College London then tried negative selection on richer network traffic data and reported severe scaling problems: with realistic numbers of features describing each connection, generating enough detectors by random sampling was infeasible.
Thomas Stibor, Philipp Mohr, Jonathan Timmis and Claudia Eckert made the critique more general in «Is Negative Selection Appropriate for Anomaly Detection?» (GECCO 2005). They examined both binary (Hamming) and real-valued versions of the algorithm. In Hamming space, the r-contiguous matching rule creates regions of nonself that no detector can ever cover, called holes, and the number of detectors needed grows badly with the problem size. In the real-valued case, they compared negative selection with a plain classifier built from self samples and with a one-class support vector machine. The one-class SVM needed only normal examples to perform well, while the negative selection approach needed both normal and anomalous examples to reach high accuracy, which removes the main reason for using it.
Stibor’s later doctoral thesis concluded that negative selection is not appropriate for anomaly detection, particularly next to established statistical methods. Few subfields publish such a clear negative result about their founding algorithm.
Clonal Selection as an Optimizer
The clonal selection principle had a more comfortable life. Leandro de Castro and Fernando Von Zuben published CLONALG in «Learning and Optimization Using the Clonal Selection Principle» (IEEE Transactions on Evolutionary Computation, 2002). The algorithm keeps a population of candidate solutions, called antibodies, and measures each one’s affinity, which is just its fitness. The best antibodies are cloned, with more clones for higher affinity. Each clone is mutated at a rate inversely related to its affinity, so good solutions change little and poor ones change a lot. The best mutants replace their parents, and a few of the worst members are replaced by random new ones at each generation.
As an optimizer, this is close to an evolution strategy with no crossover and fitness-dependent mutation. What CLONALG does well is keep several separate groups of good solutions alive at once, because each antibody and its clones form a local search that does not compete directly with the others. The paper tested it on pattern recognition, multimodal function optimization and the traveling salesman problem.
Antibodies That Recognize Each Other
Jerne’s network theory led to a different kind of algorithm. J. Doyne Farmer, Norman Packard and Alan Perelson published «The Immune System, Adaptation, and Machine Learning» in Physica D in 1986, one of the earliest papers to treat the immune system as a learning system. They compared a model of interacting antibodies with John Holland’s classifier systems.
The idea that elements of the repertoire suppress each other became useful later in data analysis. De Castro and Von Zuben’s aiNet (2001) places a population of antibodies over a data set, lets them clone and mutate toward the data points they recognize, and then removes antibodies that are too similar to one another. What remains is a compressed set of prototypes that can then be clustered. An optimization version, opt-aiNet, by de Castro and Timmis (2002), used the same suppression step to keep a population spread over multiple optima and to let its size change during the run. Suppression here does the job that niching does in evolutionary algorithms: it keeps a population from collapsing onto one point.
Danger Signals and Dendritic Cells
The danger theory reached computing through Uwe Aickelin and Steve Cayzer in 2002, and became an algorithm when Julie Greensmith, Aickelin and Cayzer introduced the dendritic cell algorithm (DCA) at the ICARIS conference in 2005. Dendritic cells sample material from tissue while sensing signals around them: uncontrolled cell death counts as danger, controlled cell death as safe. When a cell has collected enough signal it migrates, and that context decides whether the response to what it carried is aggressive or tolerant.
In the DCA, a population of artificial cells samples items (for example, process identifiers) together with input signals computed from system measurements. Each cell sums its signals with fixed weights, and when it migrates, the items it carried are labeled according to whether danger or safe context dominated.
In 2009, Stibor, Robert Oates, Graham Kendall and Jonathan Garibaldi published «Geometrical Insights into the Dendritic Cell Algorithm» at GECCO. By writing the signal processing step as a dot product, they showed that it is a collection of linear classifiers, and they concluded that its applicability to more complex problems is highly limited. Later work by the DCA’s own authors accepted that the classification stage is equivalent to a statically weighted linear classifier, and turned to studying how the algorithm handles signals that arrive over time.
Closing Thought
Emma Hart and Jon Timmis looked back on the field in «Application Areas of AIS: The Past, the Present and the Future» (Applied Soft Computing, 2008) and asked whether applying AIS had been worth it. They did not dismiss the successful applications, but they argued that the field still had to find the kinds of problems where an immune approach offers something other methods do not, and they proposed features such problems might share.
That diagnosis matches the history. The parts of AIS that lasted were questions, not algorithms. Asking what «self» means for a running program gave host intrusion detection one of its standard methods. Asking how a population can avoid collapsing onto one answer gave optimizers a suppression step. When the algorithms copied biology closely and then competed on accuracy, a one-class SVM or a linear classifier was usually waiting at the end of the analysis. A biological metaphor seems to pay off most when it points at a part of the problem nobody had named yet.
By: Max Johnson B.
Deja una respuesta