From Statistical Process Control through MASF and SETDS to the Area of Normal Functioning
While working on my upcoming book, Everything Is Normal… Until It Isn't, I have been revisiting the origins of my research on statistical anomaly detection. Some of these recollections have revealed interesting connections between my two professional lives — mechanical engineering and information technology.
How It All Started in 1999
A few months after joining Capital One in 1999, I was still learning SAS, the statistical programming environment we were using to develop our capacity planning capabilities.
One day, my manager, Kevin McLaughlin, invited me into his office and showed me a small SAS program he had developed. It generated statistical control charts using a technique called Multivariate Adaptive Statistical Filtering (MASF).
Kevin pointed me to a paper published at the 1995 Computer Measurement Group (CMG) conference by Jeffrey P. Buzen and Annie W. Shum, entitled MASF — Multivariate Adaptive Statistical Filtering.
He suggested that I develop something based on this technique that could be used in our production environment.
That was the beginning of what eventually became my Statistical Exception and Trend Detection System (SETDS).
The original idea was not mine. My contribution was to develop it further, introduce additional analytical methods, and turn it into an automated system capable of analyzing large volumes of computer performance data.
Among these additions was the concept of Exception Value (EV), which measures not simply whether an anomaly has occurred, but also its magnitude accumulated over time.
Kevin and I coauthored our first CMG paper in 2001. My subsequent paper in 2002 received a CMG Best Paper Award.
During those early CMG conferences, I also had the pleasure of personally meeting Jeffrey Buzen and Annie Shum.
From Plus and Minus to Integrals
There was an amusing episode during the preparation of our first paper.
Having come from an academic engineering background, I naturally used integral calculus to describe the Exception Value concept.
Kevin suggested that I replace the integrals with simple arithmetic operations — addition and subtraction — to make the paper more accessible to CMG's predominantly practitioner-oriented audience.
He was probably right.
The integrals eventually returned in my 2008 paper, Exception Based Modeling and Forecasting, although I still kept them in the appendix.
Perhaps in my upcoming book, after all these years, they will finally make it into the main text!
Rediscovering My Mechanical Engineering Background
What particularly attracted me to MASF was that its underlying philosophy was already familiar to me.
During my university education and subsequent academic career in mechanical engineering and robotics, I had studied Statistical Process Control (SPC), originally developed for industrial quality management.
The pioneering work of Walter Shewhart and the subsequent contributions of W. Edwards Deming helped establish statistical methods as essential instruments of manufacturing quality control.
MASF brought this philosophy into the world of computer systems, adapting statistical analysis to recurring workload patterns and changing operating conditions.
Looking back, my professional transition from mechanical engineering to IT was, in some respects, less radical than it initially appeared.
I was applying familiar engineering principles to a different kind of system.
Selective Assembly: When Abnormal Components Work Normally
There is another interesting manufacturing technique that I remember from my mechanical engineering education: selective assembly.
Imagine a shaft that must fit into a cylindrical hole in a bearing or bushing.
Both components are manufactured with unavoidable dimensional variations. What ultimately matters for their interaction, however, is not just their individual dimensions but also the clearance between them.
A slightly oversized shaft may work perfectly well with a correspondingly oversized hole.
Similarly, two undersized components may form a perfectly acceptable assembly.
Conversely, two individually typical components may produce an unacceptable clearance when assembled together.
Consider the following hypothetical example, with all dimensions expressed in millimeters:
| Shaft diameter | Hole diameter | Clearance | Functional result |
|---|---|---|---|
| 10.00 | 10.04 | 0.04 | Acceptable |
| 10.02 | 10.03 | 0.01 | Unacceptable |
| 10.05 | 10.09 | 0.04 | Acceptable |
Suppose the desired clearance is between 0.03 and 0.05 mm. The last combination produces exactly the same clearance as the first, despite both components having unusually large dimensions.
Of course, all other mandatory engineering specifications must still be satisfied.
The idea behind selective assembly is to match components according to their combined functional characteristics rather than treating every individual dimensional deviation as a reason for rejection.
An Area of Normal Functioning Perspective
Today, I find this classical manufacturing technique particularly interesting in the context of my Area of Normal Functioning (ANF) research.
If we represent the shaft and hole diameters as two dimensions of a system's state space, the acceptable combinations form a diagonal band rather than a rectangular region defined by independent limits.
The functional condition can be expressed simply:
Minimum clearance ≤ Hole diameter − Shaft diameter ≤ Maximum clearance
This leads to two important observations:
The statistical normality of every individual component does not guarantee the normal functioning of the entire system.
The statistical abnormality of individual components does not necessarily prevent the entire system from functioning normally.
I propose exploring this phenomenon within the ANF framework under the working term Compensatory Normality.
It is important, however, to distinguish between statistical normality, engineering specifications, and functional acceptability. They represent different criteria and do not necessarily define identical regions in a system's state space.
Selective assembly is a well-established manufacturing technique. What interests me now is its potential interpretation within a more general framework of system normality.
Beyond Mechanical Engineering
Similar phenomena may occur in many other domains:
In IT systems, workload redistribution can compensate for an overloaded resource.
In biological systems, physiological mechanisms can compensate for certain deviations.
In human organizations, the strengths of one team member may compensate for the limitations of another.
In multi-agent AI systems, agents with complementary capabilities may collectively accomplish tasks that none could perform adequately alone.
In each case, the overall functionality may depend more on the relationships between components than on their individual statistical normality.
This suggests that the Area of Normal Functioning of a complex system cannot always be constructed simply by combining the individual areas of normality of its components.
We must also consider their interactions, dependencies, and compensatory mechanisms.
Closing the Circle
My original research on the Area of Normal Functioning began in robotics in the 1980s.
In 1999, another research direction emerged through SPC and MASF, eventually leading to SETDS, Exception Value, IT-Control Charts, and exception-based modeling and forecasting.
Today, these two research directions are coming together.
And, somewhat unexpectedly, an old mechanical engineering technique — selective assembly — may help illustrate an important principle for understanding the normal functioning of modern complex systems.
Sometimes, two anomalies can indeed make a normal system.
The challenge is knowing when — and why.
References
Buzen, J. P., and Shum, A. W. MASF — Multivariate Adaptive Statistical Filtering. CMG, 1995, pp. 1–10.
Trubin, I., and McLaughlin, K. An Exception Detection System Based on the Statistical Process Control Concept. CMG, 2001, pp. 683–688.
Trubin, I. Global and Application Levels Exception Detection System, Based on MASF Technique. CMG, 2002. Best Paper Award.
Trubin, I. Exception Based Modeling and Forecasting. CMG, 2008.
Whitney, D. E. Variation in Assemblies. MIT OpenCourseWare, 2004.
This article is part of my ongoing research for the upcoming book, Everything Is Normal… Until It Isn't.

No comments:
Post a Comment