Paper Pitch Problem

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

AI Magazine Volume 14 Number 3 (1993) (© AAAI)

Articles

PITCH EXPERT
A Problem-Solving System for Kraft Mills

Allan Kowalski, Diana Bouchard, Lawrence Allen, Yves Larin,


and Oliver Vadas

■ PITCH EXPERT was developed to make expertise PITCH EXPERT is the largest deployed knowl-
available to mill-site engineers to solve pitch edge-based system anywhere in the pulp and
problems in kraft pulp mills. These problems paper industry. The system can now be used
have been estimated to cause losses to the Cana- directly by modem by mill process engineers.
dian pulp and paper industry in excess of $80
Although previous publications (Kowalski
million each year. The design of the system took
and Gauvin 1992a, 1992b; Kowalski and
into account not only the complexity of the pro-
cess interactions and the need for accuracy and
Lebensold 1989) have reported on the promise
completeness of recommendations but also the and potential of PITCH EXPERT , the past 18
ongoing need for training mill personnel and the months have seen this promise fulfilled, and
requirement that the system be maintainable and the proof of its positive impact, obtained from
expandable without the constant involvement of this initial 2-year period of industrial use, con-
the developers. PITCH EXPERT is now accessible by stitutes a main area of focus for this article. In
modem, and the savings achieved through use of addition, a retrospective analysis of the under-
the system covered the development costs within lying reasons for success is provided in more
six months of release. depth than was previously possible. Many fac-
tors contributing to the success of the project

P
ITCH EXPERT is a large knowledge-based could be assessed only after the system had
system that analyzes and diagnoses been used for a significant length of time
problems in kraft pulp mills that are (more than a year). This article highlights these
related to pitch deposition and pitch dirt. By factors with (1) a quantification of actual sav-
making scientific expertise directly available ings, rather than mere projections of expected
to mill engineers, the system augments their results; (2) a determination of which parts of
problem-solving capability and relieves the the system design proved to be most useful or
human expert of much of the burden of rou- even crucial to its success and why; (3) an anal-
tine problem solving and training. The devel- ysis of how useful and beneficial the aspects of
opment and delivery of this system also the design related to system maintenance and
served as a case study to determine the useful- update were over an extended period of time;
ness and relevance of knowledge-based tech- and (4) an examination of the magnitude of
nology in solving real problems in the pulp the benefits that were derived from the addi-
and paper industry. tion of extra capabilities to the system beyond
PITCH EXPERT is now serving as a significant those that normally form part of a knowledge
productivity aid to industry. At the time of base (that is, conflicting information identifi-
writing, there were already 36 mills, repre- cation, compact explanation capabilities,
senting over 20 companies, registered as extensive metaknowledge).
active users. Current estimates (see Perfor- The successful development and delivery of
mance) are that these mills will save approxi- PITCH EXPERT were largely the result of certain
mately $22 million a year by using PITCH important design decisions. In particular, the
EXPERT. Its performance has been documented structures and mechanisms used to build the
in an initial 12-month study as well as by system were specialized and customized to fit
records of more recent use. To our knowledge, the specific needs of a system operating in the

Copyright © 1993, AAAI. 0738-4602-1993 / $2.00 FALL 1993 81


Articles

… kraft mill real-life pulp-mill environment. Moreover, include the plugging of screens and cleaners,
the system was designed from the beginning deposits on the pulp machine, sticking prob-
pitch problems to be maintained on an ongoing basis with- lems on press rolls, and excessive resin.
are estimated out the involvement of senior knowledge
Economic Significance
engineers.
to cost, on It is difficult to place an exact figure on the
average, Kraft Pulp Mills cost of pitch problems, even for a given mill.
However, kraft mill pitch problems are esti-
several In the manufacture of paper, wood is first mated to cost, on average, several million
million pulped to separate its fibers. One of the pre- dollars each year for each mill in North
dollars each dominant pulp processes is done in a kraft America; in Canada alone, this figure trans-
pulp mill and consists of cooking wood chips lates to $80 million a year.
year for each at elevated temperature and pressure in the Components of the cost include sale of off-
mill in North presence of certain chemicals (alkali and grade pulp contaminated with pitch dirt, pre-
sulfide), washing the resultant brown pulp, mature replacement of machine clothing,
America … bleaching to make the pulp white, and drying time lost for cleanups, and the cost of addi-
the pulp for shipment to a paper mill. tives to control the problem. The additives
can include detergents and solvents for clean-
Pitch ing surfaces, pitch dispersants for stabilizing
Pitch, or wood resin, is the material in wood the resin in suspension, and talc for detacki-
that is insoluble in water but soluble in fying the deposits. Even if a mill is successful-
organic solvents. It usually makes up 14 per- ly controlling pitch with the use of these
cent of the weight of wood after the bark is additives, substantial savings can often be
removed and is often a sticky material. With achieved if the addition rate can be reduced.
this gluelike material passing continually
through a kraft mill, it is not surprising that Technology of Pitch Control
under some circumstances, a certain amount Many factors are important in determining
deposits on the surfaces of the process equip- whether a kraft pulp mill has pitch problems.
ment. These factors include species and storage time
In addition to the pitch, other depositable of the wood being processed, degree of bark
materials can be present, such as hard-water removal, purity and concentration of the
soaps and defoamer components. In addi- cooking liquor, thoroughness of pulp wash-
tion, other materials have a tendency to ing, use of foam-control agents, process pH,
become entrained in deposits and increase water hardness, temperature of the process,
their rate of growth. These materials include and the use of additives for pitch control.
calcium carbonate from poor white-liquor In solving pitch problems, chemical analy-
clarification, carbon particles from fly ash or sis of pitch deposits is often an important
green-liquor dregs, bark particles, and sand key. Numerous analytic chemical methods
introduced with wood chips. Although they can determine the composition of the
contain many materials besides wood resin, deposits. In a troubleshooting situation, this
the deposits are still usually referred to as analysis leads to a better knowledge of what
pitch deposits. is depositing and usually points to a course of
action to solve the problem. Mill personnel
Kraft Mill Pitch Problems can also perform a number of diagnostic tests
Kraft mill pitch problems can take a number on the pulp suspension to obtain useful
of forms. In the most frequently encountered information for determining how to solve a
problem, pitch is partially liberated from the pitch problem at a mill.
wood during pulping and tends to codeposit
with other materials on the surfaces of the Why Knowledge-Based Technology
process equipment. These deposits grow in Was Required
thickness until they reach a size at which All this information must be considered
they break away from their surfaces of attach- when attempting to diagnose a pitch problem
ment. When they break away, the chunks of in a kraft pulp mill. Furthermore, the infor-
deposit are carried with the pulp and are bro- mation and the conclusions drawn from it
ken up by the pulp agitators and pump carry various degrees of certainty, reliability,
impellers. The result is small dirt particles in and subjectivity. Missing, incomplete, and
the final product that can result in the sale of even inaccurate data are also a fact of life in
the pulp at a discounted price or even the pulp mills, as is the use of ambiguous and
loss of a customer. Other pitch problems synonymous terminology. The expert must

82 AI MAGAZINE
Articles

consider all these factors when determining dent that such a measure will have a positive … one reality
further questions and making recommenda- effect on mill production. This confidence
tions. A conventional programming language can be gained only if this same mill manager of life in a
would clearly be incapable of describing this is able to obtain a logical justification for the kraft mill is
situation adequately. action from the system. Furthermore, our
Furthermore, the questioning strategy that experience has shown that such a justification that over the
one must follow in diagnosing pitch prob- must be short and concise, so that the user years, there is
lems is dynamic in nature. One must consider can grasp the essential reasoning without get-
all the information to date before determin- ting lost in a multitude of rules and facts.
a constant
ing which question is the most appropriate Second, PITCH EXPERT was to be used as a influx of new
one to be asked next. This situation is espe- training tool. In this respect, allowing the engineers and
cially true because a given piece of informa- users to ask the system questions—such as
tion (such as species of wood, seasoning time, why is this question important, what do you technical staff
pH values) might be relevant to several possi- mean, how do I find the answers to this ques- members.
ble causes of pitch deposition (Kowalski and tion, and why do you make this recommen-
Gauvin 1992a, 1992b). dation or conclusion—is extremely impor- Thus, there is
The mechanism for handling the question- tant. Also, offering this same user the ability a constant
ing logic of the system had to be flexible to specify the level of detail with which the
enough to allow for the easy addition of more answer is displayed further enhanced this use
need for
sophisticated features at a future date, with- of the system. training.
out the need to redesign a part of the system.
Such features could include an answer-retrac- The Need for Training
tion capability (Reiter and de Kleer 1987) as of Mill Personnel
well as a mixed-initiative mode of use that The experience of the domain exper t,
would allow the user to enter information Lawrence Allen, in solving kraft mill pitch
immediately rather than wait for the appro- problems now spans over 20 years. Although
priate question (Kowalski and Gauvin 1992a; there are still some grey areas in our under-
Kowalski and Lebensold 1989). standing of the various interacting phenome-
PITCH EXPERT was designed to meet all these na of pitch deposition and dirt formation,
functional requirements and satisfy the previ- experience suggests that we have sufficient
ously mentioned constraints. However, it was practical knowledge to provide expertise for
equally important for the system to be easily solving most pitch problems in kraft mills.
maintainable and updatable so that as new Because of this existing knowledge and the
methods of pitch control are discovered, the complexity of pitch problems, a considerable
expertise could quickly and efficiently be amount of consulting time has been spent
incorporated into the system. In this way, helping mill personnel with pitch problems.
state-of-the-art expertise could always be At the mills, over time, certain personnel
accessible to mills across the country. Similar- learn through reading, consulting sessions,
ly, PITCH EXPERT could be kept up to date with and experience about how to avoid pitch
regard to changes in kraft bleaching technolo- problems. Nevertheless, one reality of life in a
gy. This requirement was carefully considered kraft mill is that over the years, there is a con-
from the initial design to the final imple- stant influx of new engineers and technical
mented version, and in retrospect, the high staff members. Thus, there is a constant need
priority accorded this issue largely contribut- for training. No textbooks currently deal with
ed to the system’s success (Kowalski and this subject.
Muise 1990).
Finally, one additional requirement necessi-
tated building the system as a knowledge
Implementation
base. PITCH EXPERT had to be able to explain PITCH EXPERT was implemented using the ART
itself clearly and concisely in relation to every (automated reasoning tool) expert system
aspect of user interaction, including questions development tool on top of the Lisp program-
it might pose and conclusions and recom- ming language. The hardware platform was a
mendations it might provide. This require- SPARCSTATION 1 with 32 megabytes (MB) of ran-
ment was important for two reasons. dom-access memory and 500 MB of hard-disk
First, before a mill manager will authorize storage. The system contains approximately
the implementation of a recommendation 1200 rules and 3000 schemata. In addition,
that might result in a significant expenditure about 200 functions and demons (procedures
(such as adding or increasing the feed rate of attached to knowledge structures) are present
a chemical additive), he or she must be confi- in the system.

FALL 1993 83
Articles

July 1992 PITCH EXPERT was built over slightly more


Access via than four years, from March 1988 to July
Modem 1992, when the completed system was trans-
ferred to the Pulp and Paper Research Insti-
April 1992 tute of Canada (Paprican). Figure 1 is a time
System line of important dates in the evolution of
available the PITCH EXPERT project. During this time,
to mills
some 21 person-years of effort were expended
on the project (15 for scientific and manage-
June 1991 rial personnel plus 6 for support staff). This
Initial Mill
Trials time represents the lion’s share (85 percent)
of the approximately $2.5 million project
cost ($900,000 million direct cost). The
April 1991 remaining expenditures were mainly for pro-
System installed ject-related equipment and software.
at Paprican
A smaller ongoing effort is also foreseen for
system maintenance. This project is expected
to represent about 1-1/2 person-years for each
January 1989 of the next few years at an anticipated cost of
First Prototype
about $140,000 a year. Figure 2 shows the
division of PITCH EXPERT into its four main rea-
March 1988 soning modules: the domain module, the
Start of the NTK module, the evidential reasoner, and the
Project
library module. Each module incorporates
one or more specific reasoning strategies and
uses a set of specialized knowledge represen-
tation structures.

1988 1989 1990 1991 1992 1993 The NTK Module


An expert’s knowledge includes not only facts
and reasoning but also the questions to ask
and their order and circumstances. The goal
Figure 1. Important Dates in the PITCH EXPERT Project. is to get to the best and most complete
understanding of the problem as possible (to
make good recommendations) asking the
MAJOR COMPONENTS OF PITCH EXPERT

Evidential Reasoner
Ntk-module Library

O NTK-network F exp
F create-conclusions

R NTK-processor F i/o

F std F create-recommendations

S summary.art
Domain Knowledge

LEGEND R inner-matrix problem-kb


O
S - schemata
F - functions R outer-matrix
R - rules
O-pseudo-objects O recommendations-kb
S plant-model

Figure 2. Major Components of PITCH EXPERT.

84 AI MAGAZINE
Articles

(defschema ntk-126 KEY


IS-A: ntk-question
TEXT: ntk-question
HAS-BEEN-ASKED:
CAN-BE-ASKED: ntk-fact
ANSWER-CONSTRAINT-TYPE:
ANSWER:
ntk-rule
SAVED-ANSWER:
COMES-FROM:
C F comes-from
LEADS TO:
WHAT-DO-YOU-MEAN:
HOW-DO-I-FIND-OUT:
NTK-36
WHY-ARE-YOU-ASKING:
Do you add
tall oil in the
Figure 3. Typical NTK Question Description. digester?

fewest possible questions (to avoid wasting RULE


time and effort). To complicate matters fur- IF you add tall oil C F
ther, the answers to earlier questions can THEN assert tall oil has
change the relevance or importance of later been added
ones.
NTK stands for “need to know” and refers NTKF-3601
to the function of this module: to determine added
and implement dynamically the best ques- tall-oil
tioning strategies to obtain information from almost-certain
the user, as needed, for the reasoning.
The NTK module is composed of an NTK RULE
network and an NTK processor. The module IF C F
consists of several hundred nodes connected tall oil has been added
by a set of specialized relations to form a com- THEN
plex network (the NTK network). Each node can ask its acid no.
represents either a question (NTK), a fact that
is inferred directly from the answer to a ques-
NTK-126
tion (NTKF), or a normalized fact (that is, a rel-
What is the acid
ative value) that is inferred through a demon
number of the
from an NTKF (NTKIF). A typical question
tall oil?
description is shown in figure 3.
These nodes are connected by multiple links
to form a bidirectional network. In turn, these RULE
links combine to form two separate threads of IF
acid no. is known C F
reasoning running through the network. The
first thread involves comes-from links, which THEN
trace back the questioning path or paths that assert its value
can produce a given piece of information (that
is, fact). The second thread, which operates in
the opposing direction, can be composed of NTKIF-12604
several types of links depending on the nature acid number of
of the two nodes linked together. More tall oil is ? value
specifically, a particular link can specify which
answer is required to produce a given fact,
which fact is required to make a given ques- Figure 4. Operation of Reasoning in the NTK Network.
tion relevant, or which fact and value set is
required to produce a normalized value.
The NTK processor accepts a request from
the diagnostic module to search out a given
piece of information and then navigates
through the NTK network trying to find the
information. Figures 4 and 5 illustrate the

FALL 1993 85
Articles

KEY
ntk-fact
comes from/
leads to relation

D deamon NTKF-12601
acid number of
assertion of one of tall oil is ?value
possible NTKIF's

ASSERTS ONE
OF FACTS D comes-from
BELOW

NTKIF-12602 NTKIF-12603 NTKIF-12604 NTKIF-12605


quality of tall quality of tall quality of tall quality of tall
oil is very good oil is good oil is bad oil is very bad

Figure 5. Operation of a Typical Demon.

operation of the NTK network. In the two years that have passed since PITCH
This separation of questioning logic and EXPERT was delivered, the NTK network has
control into a distinct module (Hughes 1987) undergone almost continuous modification,
and the use of a network of object-type struc- aimed at improving the questioning strategies
tures (as opposed to the implementation of of the system. These modifications have been
the logic completely in the form of rules) has performed exclusively by the Paprican mainte-
greatly simplified the task of maintenance nance team (as opposed to the senior knowl-
and development (Kowalski and Lebensold edge engineers), always using the NTK dia-
1989). As new questions were acquired from grams and method; this maintenance
the expert, they were added to the system approach has proven itself to be straightfor-
with relatively little work; all we wer e
ward and simple. Clearly, it is one of the
required to learn was the appropriate position
aspects of system design that is responsible for
of the question in the NTK network, the rele-
the continuous and smooth improvement in
vant facts that could be derived from answers
the system’s performance since its delivery.
to the question, and the relevant connections
The nodes of the NTK network also offer
between these facts and other facts already
existing in the network. an ideal centralized repository for informa-
Questioning paths or strategies can also be tion on the status of each question (that is,
changed easily because these changes need to has it been asked, can it be asked, if asked
be reflected in only one part of the system what was the answer, and so on). Without
(the NTK network). This easy mode of modifi- these structures, it would be necessary to
cation was especially important for PITCH have a set of complex and difficult-to-manage
EXPERT because many questions and the rele- rules to determine when and if it was neces-
vant information derived from their answers sary and meaningful to ask a given question.
play an important role in more than one Furthermore, these NTK nodes provide an
cause of pitch deposition. As a result, the easy attachment point for various kinds of
answers to questions related to one cause of deep knowledge and even metaknowledge,
pitch problems can dynamically affect the for example, online help facilities (what do
questioning path for a second cause. you mean, why are you asking, how do I find

86 AI MAGAZINE
Articles

Symptoms
incomplete cooking Chemical analysis Pulp mill model
excessive use of defoamer metal soaps locations
presence of contaminants resin substances
use of resinous species dispersed resin equipment
improper wood seasoning resin in bark processes
poor debarking observables
defoamer
poor brownstock washing recommendations
calcium carbonate
poor white liquor clarification
contaminants problems
improper use of additives
carbon particles tests
metal soap deposition
inappropriate use of defoamer

Figure 6. The Modules Containing PITCH EXPERT’S Domain Knowledge.

the answer, what are acceptable answers, and domain knowledge relating to pitch prob-
so on). These help facilities have been found lems. It consists of two major components:
to add greatly to the system’s ease of use, thus the mill model and the diagnostic module.
gaining the confidence of the pulp-mill per- Mill Model As shown in figure 6, the mill
sonnel. They have also made it possible to use model consists of five semantic networks, each
PITCH EXPERT as a training tool, which is impor- of which describes a typical kraft pulp mill
tant because of high turnover in the mills. from a particular perspective (locations, sub-
This training capability is seen by the users stances, equipment, processes, and observ-
(that is, mill personnel) as a feature of great ables). These five networks are connected, as
importance and is one of the reasons for its appropriate, at various points. Together they
enthusiastic acceptance. Our analysis of the provide a model of the pulp mill with both a
use of the system in its first two years shows a lateral and a hierarchical frame of reference
common trend among initial users to make that is critical to the proper and efficient func-
heavy use of this feature. In fact, many first- tioning of the rules in the diagnostic module.
time users have run a complete session of well In addition, three semantic networks relating
over 100 questions asking why for each one. to problems, tests, and recommendations are
Such an exercise has allowed them to gain a used in the overall reasoning process.
deeper understanding of the true complexities The eight networks combined form a mod-
of pitch-deposition problems. el consisting of over 2000 nodes (implement-
The NTK network also allows PITCH EXPERT ed as schemata) and over a dozen relations,
great flexibility in handling incomplete infor- most of them customized and complex. Fig-
mation. When a question is answered with ure 7 shows a small portion of one of these
unknown, alternate questioning paths are networks, describing the locations in a pulp
already explicitly laid out in the NTK network mill. Although not a model-based system as
and can quickly and efficiently be activated. formally defined (Winston and Shell 1990; de
Other potential features that can be imple- Kleer and Williams 1989), the mill model pro-
mented easily and efficiently using this vides some of the same advantages (de Kleer
approach include (1) multilingual operation 1991) by supporting and supplementing the
and more advanced help and explanation diagnostic heuristics of the system.
capabilities; (2) answer-retraction capability, Although the use of such a structure allows
where the truth maintenance issue is not the option of customizing the models to
affected, but the ability of the system to read- match any particular mill exactly, our experi-
just the questioning strategy automatically ence to date has shown the need for such a fit
and dynamically would be of great help; and to be less than urgent. The generic model of
(3) mixed-initiative mode capability. The the mill has served well in approximating the
installation of such a capability would be sim- configuration of the actual mills that have
plified greatly by the already-existing model of used the system. It remains to be seen if the
the relationship of each question-answer set to customization option becomes more impor-
all its immediately related facts and questions. tant as use of the system grows, and kraft pro-
cess operations change.
Domain Module Diagnostic Module The diagnostic module
The domain module contains the actual implements the diagnostic reasoning strate-

FALL 1993 87
Articles

LOCATION IS-A
PART-OF
EQUIPMENT LOCATED-IN
NEXT-DOWNSTREAM

UNBLEACHED
LOCATION

BROWNSTOCK BROWNSTOCK
COOKING WASHING SCREEN ROOM
AREA AREA AREA

DIGESTER
BROWNSTOCK
SCREENS
KNOTTERS

BLOWTANK
FIRST UNBLEACHED
BROWNSTOCK CLEANER
WASHER
BROWNSTOCK
TANK

MIDDLE
BROWNSTOCK
WASHER BROWNSTOCK
WASHED DECKER
STOCKCHEST
LIQUOR
PUMP BROWNSTOCK
WASHERS
LAST
BROWNSTOCK
WASHER

Figure 7. Portion of the Pulp-Mill Model.

gies related to pitch problems. As shown in egy (and is comparable to message passing for
figure 6, it consists of 19 components, each encapsulated objects).
of which addresses one particular aspect of Third, inferred facts are created from the
pitch diagnosis, either symptoms of pitch diagnostic rules when the conditions of the
problems or chemical analyses performed to rules are satisfied by NTK facts and previously
diagnose pitch problems. Each component inferred facts; they serve, in turn, to satisfy
uses five types of structure to produce its other diagnostic rules (creating the inference
diagnoses: chains of the system).
First, NTK facts, which were described in Fourth, evidence structures are created by the
the preceding section, are mentioned here diagnostic rules. They represent conclusions
only because they serve to satisfy the condi- about the likelihood of a particular cause of
tions of diagnostic rules. pitch deposition based on the certainty and
Second, metaasserts are commands that reliability of one source of information. Natu-
send a message, when appropriate, to the rally, for any given cause of pitch problems,
NTK module, instructing it to track down a there might be several sources of informa-
particular piece of information that is needed tion, each of which produces a separate piece
for the diagnosis. Note that the sending of of evidence. When all the available informa-
this message is the only involvement of the tion has produced all the relevant pieces of
diagnostic module with the questioning strat- evidence, the evidential reasoner (see next

88 AI MAGAZINE
Articles

FROM NTK TO EVIDENTIAL REASONER


MODULE

EVIDENCE-OF
EXCESSIVE DEFOAMER USAGE
NTK-FACT SOURCE : WOOD SPECIES
WEIGHT : 4
WOOD SPECIES CERTAINTY : LIKELY
IS ASPEN

INFERRED FACT
DIAGNOSTIC SERIOUS FOAMING DIAGNOSTIC
RULE PROBLEMS ARE LIKELY RULE

INFERRED FACT
INFERRED FACT
INCOMPLETE
SEASONING IS EXCESSIVE DEFOAMER
ALMOST-CERTAIN FEED RATE IS LIKELY

FROM OTHER RULE SETS TO OTHER RULE SETS

Figure 8. A Chain of Inference Leading to a Conclusion.

subsection) collates, sorts, and prioritizes reasoning, using the species of wood and
them to reach its final conclusions. information about its seasoning, is unaffected
Fifth, rules are standard, diagnostic if-then by any new lines of reasoning using other
rules that use facts (both NTK and inferred) to information. In this way, maintenance
create other inferred facts as well as pieces of requirements related to the addition of new
evidence. lines of reasoning are kept to a minimum.
Figure 8 shows a portion of the rule set per- Figure 9 diagrams a second line of reason-
taining to the problem of excessive defoamer ing from the same rule set, which uses infor-
use. This example shows how the various mation from the NTK module related to the
knowledge representation structures and feed rate and the location at which defoamer
modules of PITCH EXPERT work together in a was added, as specified by the user, to pro-
coordinated fashion. duce an inferred fact and an instance of evi-
A message is sent to the NTK module indi- dence with the appropriate parameters.
cating the need to know the species of wood
being used. If the species is aspen, and it has Evidential Reasoner Module
been inferred in another rule set that the Because of the functional requirements of the
wood is incompletely seasoned, then it will system (see Why Knowledge-Based Technolo-
be inferred that serious foaming problems are gy Was Required), it was clear early on in the
likely to occur. If so, a second rule will infer design of P I T C H E X P E R T that a standard
that it is likely that excessive amounts of approach to dealing with uncertainties, such
defoamer are being used. This same rule also as the certainty factors of MYCIN or the imple-
creates an instance of evidence specifying the mentation of the Dempster-Schafer theorem,
appropriate weight and certainty. Both of the would have been inadequate (Buchanan and
inferred facts created in this rule set can be Shortliffe 1985). Instead, a customized evi-
used to satisfy rules in other rule sets. The dence-handling strategy was developed.
instance of evidence (along with all other Figure 10 shows a typical piece of evidence,
instances of evidence) is processed at the which consists of a specification of an associ-
appropriate time by the evidential reasoner. ated cause of excessive pitch deposition, the
This example clearly shows how this line of source of the information (the specific piece

FALL 1993 89
Articles

FROM NTK
MODULE

TO EVIDENTIAL REASONER

NTK-FACT

DEFOAMER EVIDENCE-OF
USED IN
UNBLEACHED EXCESSIVE DEFOAMER USAGE
LOCATION SOURCE : FEED RATE
WEIGHT : 1
CERTAINTY : LIKELY

DIAGNOSTIC
RULE

NTK-FACT INFERRED FACT

DEFOAMER EXCESSIVE DEFOAMER


FEED RATE FEED RATE IS LIKELY
HIGH

TO OTHER RULE SETS

FROM NTK MODULE

Figure 9. A Second Chain of Inference Leading to a Similar Conclusion.

This approach is important because it keeps


Schema 2311.5.3 the rules simple and easy to maintain. New
lines of reasoning can easily be added, creat-
(instance of excessive-defoamer-usage ) ing new pieces of evidence, without the need
(source defoamer-feed-rate ) to modify existing lines of reasoning. Since
(weight 1 ) delivery, many new lines of reasoning have
(certainty unlikely ) been added in this manner, without any
resulting errors in the existing lines of reason-
ing. The absence of errors is the result of sep-
arate handling, collation, and analysis by the
Figure 10. Instance of Evidence. evidential reasoner of the collection of evi-
dence (as is explained later).
or pieces of information obtained from the Second, it allows a flexible and concise sys-
user that led to the conclusion of the evi- tem of explanations and justifications (Millet
dence), a weight representing the reliability 1989) to be offered to the user (as explained lat-
of the source of information from which the er). This ability to present explanations has
evidence was derived, and a value specifying been recognized as a critical component in
the certainty associated with the conclusion. more recently built knowledge-based systems
Each instance of this evidence structure (Cawsey 1991; Suthers, Woolfe, and Cornell
serves as a central storage place for informa- 1992) and was a key factor in gaining the confi-
tion pertaining to one particular line of rea- dence of mill personnel. A large majority of the
soning. This compact storage of information sessions run by the mills make heavy use of
offers three advantages: this facility. Interestingly enough, the users
First, it allows the system to treat the con- have shown little interest in the facility for
clusions of each line of reasoning separately. backtracking beyond these concise explana-

90 AI MAGAZINE
Articles

tions to view the specific facts and rules com-


posing the chain of logic for a given conclu- has deduced that the following has occurred with the cer-
PITCH EXPERT
sion. tainty shown below
Third, the creation of a collection of evi-
dence for each possible cause of pitch deposi- very strong
tion has made possible the development of a inconsistent suspended solids concentration
customized approach to the issues of uncer- poor baking
tainty, reliability, and even accuracy of the
information. By explicitly separating out the strong
process of combining conclusions from differ- poor white-liquor clarification
ent sources of information, PITCH EXPERT can
perform a sophisticated analysis and compari- very weak
son of all the individual pieces of evidence. excessive defoamer use ← very important conflict here
This approach greatly enhances its ability to
arrive at highly accurate final conclusions and PITCH EXPERThas deduced that the following has not occurred with the
also flag critical input inconsistencies. certainty shown below
The evidential reasoner gathers up all the
instances of evidence, then sorts, collates, and very strong
analyzes them, finally presenting them to the metal soap deposition in the pulp machine area
user in a variety of ways. The r easoner
includes a network of nonencapsulated standard
objects that represent the set of problems that poor brownstock washing
can lead to pitch deposition, a network of
nonencapsulated objects that represent the
set of possible recommendations for solving Figure 11. Typical List of Prioritized Conclusions.
problems leading to excessive pitch deposi-
easy to offer the user the chance to peruse in
tion, and a set of nodes representing the vari-
more detail any conclusion or line of reason-
ous tests that can be performed on either
ing. Such a flexible presentation style has
pitch deposits or pulp and the problems these
convincingly proven its worth because virtu-
tests shed light on.
ally all real sessions with the system result in
The evidential reasoner sorts evidence by
several problems being identified, with sever-
problem. Evidence is then divided on the
al degrees of certainty. It has been observed
basis of whether it supports the existence of a that users often like to peruse many of the
problem (positive evidence) or refutes it (neg- conclusions and recommendations in more
ative evidence). Then the evidence both for detail, often coming back to look at certain
and against is summed up, taking into information repeatedly.
account the certainty and reliability of each As shown in figure 11, the user is first
source of information in a manner specific to offered a concise list of all the conclusions
each problem, to produce final positive and drawn by the system, prioritized by strength
negative weights. These two weights are then of supporting evidence: The problems most
combined to produce a final conclusion for likely to be causing the excessive pitch depo-
the particular problem. In addition, if both sition are listed first, and those least likely are
the positive evidence and the negative evi- listed last. In addition, any conclusion for
dence are strong, then the system flags this which a serious conflict of information exists
inconsistency as important, informs the user is tagged with a warning message.
that inaccurate information has been provid- At this point, the user can request a more
ed, and advises the user to recheck the rele- detailed explanation of any or all of these
vant information. This feature has proven to conclusions. This feature is especially useful
be essential for dealing with the real-life inac- in obtaining a better understanding of why
curacies that exist in the mills. important conflicts exist. An example is
The summary conclusions (indicating that shown in figure 12. In this example, two
one or more problems have been found) acti- pieces of evidence relating to the problem of
vate the appropriate nodes in the problem excessive defoamer use have been created by
network, which, in turn, activates the appro- the system. Each piece of evidence is derived
priate nodes in the recommendation network, from a particular source that is considered
as well as the chemical test network (indicat- reliable, specifically “test results” and the
ing what should be done about the “defoamer feed rate.”
problem(s)), at which point the relevant out- The result of chemical tests performed on
put is displayed. Such an approach makes it the deposit show it to contain 29.8-percent

FALL 1993 91
Articles

EXPERT to identify this situation as physically


User input=> Why Excessive-defoamer-usage impossible, indicating that at least one of the
This was based on the following information: lines of reasoning stems from incorrect data
input to the system. Having identified such a
Very Reliable conflict, PITCH EXPERT can now relay a warning
Test-Results, specifically the 29.8% defoamer in the dry to the user to recheck the information.
deposits, indicates that it is almost certain that it has occurred. Such inaccurate data could have been caused
by many factors, but their presence in any giv-
Very Reliable en session is a realistic possibility given the
Defoamer-feed-rate, specifically the 0.2 Kg/ton, indicates that it number of complex processes that are running
is almost-impossible that it has occurred. simultaneously in a pulp mill and the variable
quality of available process information.
Based on this information PITCH EXPERT can conclude that it has If the user so desires, an even more detailed
occurred with a very-strong confidence but based on this information step-by-step backtrace of the chain of reason-
PITCH EXPERT can also conclude that it has not occurred with a very- ing is available as well, with the relevant rules
strong confidence. and facts at each step in the reasoning pro-
cess shown in full detail. A similar display
can be obtained for the recommendations, as
shown in figure 13.
Figure 12. Typical Explanation of Conflicting Evidence.
Library Module
The library module contains a collection of
PITCH EXPERTmakes the following recommendations with the indicated Lisp functions and ART demons that perform
levels of importance tasks such as normalizing measurements, test-
ing value constraints, and collating and ana-
very strong recommendations lyzing pieces of evidence. These functions
and demons ensured a custom fit between
Improve the efficiency of the brownstock washers. This will lower the the system and the knowledge and greatly
concentrations of dispersed wood resin-dissolved soaps-defoamer-cal- enhanced the system’s performance.
cium carbonate particles and other depositable materials.
This was recommended for correcting the following problem(s):
poor-brownstocking-washing
Maintenance
metal-soap-deposition-in-brownstock screen-room As mentioned earlier, the design of PITCH
EXPERT explicitly addressed the issue of ease of
***hit return to continue or why for more details*** maintenance. Although PITCH EXPERT is now in
full operation, changes continue to be made
why to the knowledge and rule bases, to both
make the knowledge representation more
choose one of the following problems: complete and accurate and cover new contin-
gencies. These changes mainly affect the NTK
1 poor-brownstock-washing module, rules, and functions, with occasional
2 metal-soap-deposition-in-brownstock-screen-room minor changes to the mill model.
3 next recommendation Most of the changes now being made
involve the addition of new knowledge to
improve or extend system performance (Allen
and Kowalski 1992). In some cases, the new
Figure 13. Typical Recommendations Display.
knowledge is meant to fill a specific gap in
the knowledge base; in other cases, it is a
defoamer. Such a high content of defoamer matter of adding knowledge as it becomes
in the deposit indicates that almost certainly available. In other words, as research
an excessive amount of defoamer must have identifies new information that is relevant to
been added to the pulp during production. solving pitch problems in kraft pulp mills, it
However, the feed rate of the defoamer (0.2 is incorporated into PITCH EXPERT. In this way,
kilograms a ton) is considered extremely low, the system is kept up to date, and obsoles-
leading to the conclusion that it is almost cence is avoided. At this time, the mainte-
impossible that an excessive amount of nance is performed on an incremental scale,
defoamer was used. and there are no immediate plans to add
These two lines of reasoning conflict large amounts of new knowledge to the sys-
strongly with one another and lead PITCH tem.

92 AI MAGAZINE
Articles

Specialized Knowledge Structures Knowledge Representations


Specialized structures have played a major A second strategy that has facilitated both
role in ensuring the maintainability of the development and maintenance is the use of
system. Foremost among these structures are three coordinated pools of knowledge: a
the NTK structures (see NTK Module), the evi- database, a collection of graphic blueprints,
dence construct (see Evidential Reasoner and the ART source code. Each pool contains
Module), and customized relations such as the exact same information but in a form that
that described in the following example. offers particular benefits.
Example of Customized Relations and In the database, each instance of knowl-
Maintenance: The specialized next-down- edge is stored as a record. These records can
stream relation is used extensively in PITCH be accessed by queries and sorts based on var-
EXPERT to build the model of pulp-mill loca-
ious indexes to identify, for example, all the
places where a fact, fact element, or class of
tions (see Mill Model). This relation, made
facts appears. This approach makes it possible
possible by the sophisticated relation-building
to change or augment the knowledge base
capabilities of the ART shell, describes the rela-
quickly and without errors or omissions.
tive position of two locations in a mill in
The graphic blueprints contain the same
terms of pulp or water flow between them.
knowledge as the database but in a form that
The resulting directionally linked chains can visually highlights links between knowledge
be used to make locational comparisons, even structures such as rules, questions, and evi-
between different levels of abstraction. This dence. Both the domain expert and the sys-
factor also proved to be critical in the success tem developers have found it useful to be able
of the system for three reasons: to look at the diagrams and grasp the essence
First, the relation allowed easy insertion of of the logic without having to wade through
new or additional locations just by modifying masses of source code and system commands.
a few links. No other rules or functions need- Each blueprint can contain a large amount of
ed to be changed. In this way, the pulp-mill information of various types, ranging from
model could be constantly and easily refined. natural language versions of the rules to spe-
Second, because the relation is transitive cialized metaknowledge commands. Different
(through a more general downstream rela- people can focus on the information of cur-
tion), diagnostic rules can use it to compare rent interest to them, yet all work with a sin-
locations to determine which is downstream gle diagram, which helps to ensure consisten-
of the other. For example, consider the loca- cy from concept to design to implementation
tion of a pitch deposit and the location at and, finally, through testing, debugging, and
which talc was added. If the talc was added maintenance.
downstream of the deposit, it is unlikely that The code itself serves both as the ART imple-
the talc contributed to the problem (because mentation of the system and as a repository
the talc is unlikely to swim upstream). If, of knowledge. Code for each rule, schema,
however, the talc was added upstream of the and function includes a history of when each
deposit, it is possible that the talc addition was created and modified, who created it, and
influenced the deposition problem. If the talc why. Furthermore, each function and demon
contains extensive documentation in a stan-
was added directly upstream of the deposit,
dard form, explaining its purpose and
then it is probable that the addition of talc
approach and all parameters used.
influenced the deposition problem.
Because the knowledge in PITCH EXPERT
Third, the relation allows comparison of
exists in three forms (diagrams, databases,
locations at different levels of specificity. For
and code) that are not automatically integrat-
example, the first brownstock washer is ed, procedures were established to make sure
downstream of the cooking area as a whole that consistency was maintained among these
because it is downstream of each component three repositories of knowledge. Each
of the cooking area. This sort of concept is instance of each structure (except for the
simple for human beings but can be extreme- rules) must be entered into the database. Each
ly difficult and complex to represent effective- instance of each structure, including the
ly in a computer program. The ability to rules, must of course be coded in ART. To cre-
incorporate this knowledge into a single cus- ate the blueprints, printouts of individual
tomized relation speaks volumes about the structures from the database or the source
utility of powerful knowledge base shells, and code files are physically pasted onto the dia-
the relevance of such a feature to ease of grams and manually linked together. Further
maintenance is self-evident. checking includes, for example, obtaining a

FALL 1993 93
Articles

printout from the database of which facts incomplete session for later retrieval.
exist as input (left-hand side of a rule) and Missing information is handled with two
which as output (right-hand side of a rule) keywords, later and unknown. Later is used
and checking this printout against the dia- when an answer is expected to be obtainable
grams. All this checking virtually assures that but is not available right now and unknown
the blueprints represent the actual state of when no better answer can ever be expected.
both the database and the code. When answers become available for questions
The success of this approach is attested to by originally answered by later, the session can
the significant improvements in accuracy and be retrieved and rerun, and these questions
completeness (as outlined in Performance) are asked again.
that have been achieved by changes made by Each answer, as it is processed, can create
Paprican personnel with minimal supervision NTKFs and, indirectly, NTKIFs. In turn, the
by the senior designers. Considering the day- NTKFs and NTKIFs activate more NTKs, or
to-day use that is still being made of this main- they can lead domain rules to fire, creating
tenance system to maintain and upgrade the inferred facts or pieces of evidence. In either
knowledge base, its importance to the success case, the chain of rules eventually leads to
As the of the project cannot be overstated. the creation of a collection of evidence to be
This maintenance mechanism has with- evaluated by the evidential reasoner.
system was stood the test of real-life use and still serves At any point in a PITCH EXPERT session, the
fine tuned today as the control and self-checking mech- conclusions and recommendations that are
anism that has allowed an ongoing dynamic supported by the evidence asserted to this
with each environment to be created in which constant point can be viewed on the user’s screen by
new mill test modification of the knowledge serves as one use of the recc keyword. These conclusions
run, the of the system’s attractions rather than a and recommendations are, of course, not
detraction. Response from the users has final and change during a session to reflect
system’s shown that the ability to have state-of-the art new information as it becomes available.
performance expertise always available is a strong source of Three kinds of help are available for ques-
motivation to use it. tions and can be accessed with keywords.
was The perception and development of PITCH What provides a reworded version of the
continuously EXPERT as an ongoing evolving system, rather question in case the original was unclear.
than a static entity, was a key factor in its suc- How gives further detail on how to obtain the
improved. cess. The provision of such a maintenance information required to answer the question.
At the time capability, in whatever form proves workable, Why expands on why it is important to ask
should be given serious consideration in the this question in the context of pitch control.
of this development of any major industrial knowl- Because a typical session can take an hour
writing, it edge base. or more, a facility has been provided (with
stands at 90- the save and restart keywords) to save the cur-
rent session at any point to be picked up
percent Use of PITCH EXPERT again at a later time. A common use of this
accurate and PITCH EXPERT resides on a SPARC workstation at feature would be to store a session in which
Paprican and is accessed by modem. The sys- later answers were given to one or more ques-
93-percent tem operates in a question-and-answer mode, tions, with a view toward retrieving and con-
complete. posing questions to the user one at a time tinuing the session when answers to these
and accepting typed answers until it has all questions became available.
the information it needs. At important deci- When PITCH EXPERT has an answer to all the
sion points during a run, PITCH EXPERT also dis- questions it judges necessary to its reasoning,
plays numbered menus of available options. it completes its reasoning process and then
Each answer is checked for acceptability as offers to display on the screen the conclu-
soon as it is entered. The criterion can take sions it has reached and the recommenda-
the form of a list of specific acceptable tions it has made. Conclusions and recom-
answers, a class specification, or a requirement mendations are shown one by one, in order
that the answer be a number. If an unaccept- of priority, each with its supporting evidence
able answer is entered, PITCH EXPERT displays a in order of reliability.
message and then asks the question again. Recommendations are displayed in a simi-
Any question can also be answered with lar manner. By typing why in response to a
one of PITCH EXPERT ’s keywords. These key- recommendation display, the user can obtain
words activate special features such as online a summary of the reasoning leading to this
help, access to intermediate conclusions and recommendation.
recommendations, and the saving of an PITCH EXPERT can produce a summary report

94 AI MAGAZINE
Articles

of the session just completed or of any earlier sons stemming for the most part from severe
completed session. This report includes all constraints on resources.
conclusions reached, recommendations The three completed evaluations show a
made, and conflicts noted. The report is dis- combined annual savings of almost $1.9 mil-
played on the screen and incorporated into lion, for the most part because of an overall
the transcript of the session. reduction in the amount of pitch-contaminat-
ed pulp produced as well as a decrease in the
quantities of additives used. This figure is
Performance especially impressive in light of the fact that it
There are two fundamental measures of represents savings for just three kraft pulp
expert system performance: the quality of the mills. With more than 40 such mills in Cana-
expert reasoning and the benefits (economic da alone, these savings almost equal the $2.24
and other) provided by use of the system. million development cost of PITCH EXPERT to
The most basic requirement of expert sys- date. The 36 mills already using PITCH EXPERT
tem performance is that it reproduce accept- can expect to save $22.4 million a year.
ably well the reasoning of the human expert.
In the case of PITCH EXPERT, its conclusions and Discussion of the Three Completed
recommendations must be accurate (that is, Evaluations
the same ones the human expert would have Given the importance that these savings rep-
come to in the same situation) as well as com- resent, it is worth examining them in greater
plete (nothing the human expert would have detail. In the interest of brevity, we focus on
concluded or recommended is left out). those mills whose evaluations of the effects of
PITCH EXPERT were complete. For reasons of
Initial Mill Trials confidentiality, the company names and loca-
To evaluate the benefits of the system, finan-
The three
tions of the particular mills cannot be
cial and otherwise, a set of initial mill trials specified. They are referred to as mills 1, 2, completed
were conducted from May 1991 to April 1992. and 3. They are, however, real and certainly evaluations
The trial runs were conducted with the coop- typical kraft pulp mills, and the sessions of
eration of 13 kraft pulp mills across Canada PITCH EXPERT that they ran involved real data
show a
(Allen and Kowalski 1992; Turney 1992). representing real pitch problems. The cost combined
During this test period, the sessions were savings are outlined here, and the results are
conducted with the aid of an intermediary at summarized in table 1.
annual
Paprican. This person was responsible for Case Study of Mill 1: Mill 1 has an annual savings of
manning the telephone and acting as the production rate of 170,000 tons of pulp. The
contact between the mills and the system. production of off-target (that is, pitch-con-
almost $1.9
When mill staff members called in, they taminated) pulp represents a loss of $40 a million …
would verbally convey the relevant informa- ton. The defoamer used in this mill costs
tion about their particular mill to the inter- $0.88 a kilogram.
mediary, who, in turn, would enter all the Before running a diagnosis with PITCH
information into the system. The correspond- EXPERT, this mill had 5 percent of the pulp it
ing output would be checked for accuracy produced contaminated with pitch. In addi-
and completeness by Allen and then would tion, it was using 3.8 kilograms of defoamer
be sent out (with corrections if necessary) to for each ton of pulp.
the mill. With the results of each session, After running a full diagnostic session with
modifications were made to the knowledge PITCH EXPERT, entering all the required infor-
base to address any errors or inconsistencies mation and implementing the resulting rec-
that were discovered. ommendations, mill 1 had reduced its off-tar-
The early sessions achieved an accuracy of get pulp to just 1 percent of total production.
60 percent and a completeness of 70 to 80 per- In addition, the rate of defoamer use was
cent. As the system was fine tuned with each reduced to 2.8 kilograms for each ton of pulp.
new mill test run, the system’s performance Therefore, the annual savings from the
was continuously improved. At the time of this reduction in off-target pulp is $272,000. The
writing, it stands at 90-percent accurate and annual savings from the reduced use of
93-percent complete. Further progress is defoamer is $150,000. Thus, the total yearly
expected. All 13 mills were to perform a com- savings is $420,000.
plete evaluation of the benefits of the system. Case Study of Mill 2: Mill 2 has an annual
As of October 1992, three had completed their production rate of 360,000 tons of pulp. The
evaluation, seven more were in progress, and production of off-target pulp represents a loss
three had suspended the study for various rea- of $40 a ton. The defoamer used in this mill

FALL 1993 95
Articles

Mill Number 1 2 3
Off target before 5% 2% N/A
Off target after 1% 0% N/A
Annual production (tons) 170,00 360,00 450,00
Annual estminated savings $420,000 $871,000 $593,600

Table 1. Summary of Case Studies.

costs $1.08 a kilogram. made directly accessible to the mills by


Before running a diagnosis with PITCH modem rather than through a Paprican tech-
EXPERT, mill 2 had 2 percent of the pulp it pro- nician. Mill personnel would then be free to
duced contaminated with pitch. In addition, use the system as a training tool by making
it was using 4.5 kilograms of defoamer for extensive use of the what, how, and why
each ton of pulp. facilities as well as being able to evaluate
After running a full diagnostic session with numerous what-if scenarios.
PITCH EXPERT, entering all the required infor- However, it was decided not to install PITCH
mation, and implementing the resulting rec- EXPERT at individual mill sites. Given the size
ommendations, mill 2 completely eliminated and complexity of the system and the fact
the presence of pitch-contaminated pulp. In that it continues to evolve, it was judged that
addition, the rate of defoamer use was updates would be easier with a single copy
reduced to 3.0 kilograms for each ton of pulp. stored at Paprican. Having a single copy at a
Therefore, the annual savings from the central site also greatly facilitated the restric-
reduction in off-target pulp is $288,000. The tion of access to authorized users. Direct
annual savings from the reduced use of modem access to the system was implement-
defoamer is $583,000. Thus, the total yearly ed in July 1992. What is of particular interest
savings is $871,000. here is that the initiative and enthusiasm for
Case Study of Mill 3: Mill 3 is an excellent modem access came from the mill personnel,
example of how PITCH EXPERT can help a mill highlighting the enthusiasm with which
achieve significant cost savings even when PITCH EXPERT was received by industry.
pitch deposition is already successfully con- Once PITCH EXPERT was made accessible by
trolled. modem, its use grew quickly. Eight months
This mill has an annual production rate of after its release (March 1993), 80 percent of
450,000 tons of pulp. The defoamer used in Canadian kraft pulp mills, representing 90 per-
this mill costs $1.00 for each kilogram. cent of Canadian production capacity and
In this mill, there was no significant pitch over 20 companies, had accessed the system.
deposition at the time of system use. Howev- In fact, to this point, acceptance and use of
er, the rate of defoamer use was 2.7 kilograms PITCH EXPERT by the mills had been limited only
for each ton of pulp, and other additives were by the necessity for mill personnel to receive
being used to prevent possible pitch deposi- introductory training on proper use of the sys-
tion. tem. With limited personnel available for this
After running PITCH EXPERT and implement- task, it has been impossible to provide this
ing the resulting recommendations, mill 3 training to more than one mill at a time.
reduced the defoamer feed rate to 1.5 kilo- Given the rapid growth in the number of
grams for each ton of pulp. users and the limited resources available, it
Therefore, the annual savings from the has not been feasible to perform an exhaus-
reduced use of defoamer is $540,000. The tive analysis of system use beyond the initial
projected annual savings from the reduction 12-month study. Rather, ongoing day-to-day
in use of other additives is $36,000. The pro- observations are made of use patterns. Hav-
jected annual savings from the reduction in ing a centralized system, accessed by modem,
the need for changes in machine clothing is has made this observation possible; studying
$17,600. Thus, the total yearly savings in the the use of a number of copies of the system
mill is $593,600. installed on site at each mill would have been
much more difficult.
Modem Access to PITCH EXPERT Based on these observations, after two
As a result of this evaluation exercise, there years of use, the following patterns have been
was an almost universal agreement among observed:
the mills involved that the system should be First, initial use of the system is usually for

96 AI MAGAZINE
Articles

educational purposes rather than troubleshoot- The session transcripts also serve as a
ing, including heavy use of the help facilities record of the problem-solving process. This
to learn why the system asks its questions and record can be important because pitch prob-
why it makes its recommendations as well as lems in a given mill can be intermittent, and
what-if exercises using hypothetical data. Such a successful solution procedure can be forgot-
use illustrates to the user just how complex ten by the time the problem recurs.
and difficult accurate pitch-problem diagnosis
really is. This period lasts anywhere from sever-
al weeks to several months.
Conclusions
Second, following the initial exploration of The PITCH EXPERT project is a success. The sys-
the system, a more methodical use begins with tem is now used by an ever-growing number
real-life data pertaining to the particular mill. of kraft pulp mills from many companies all
Gathering these data can often take several over Canada. Its possible use by mills in other
weeks, depending on the availability of person- countries is now being considered; some com-
nel at the mill. As more data are entered into panies outside Canada have already expressed
the system, the updated recommendations are interest.
usually produced with stronger certainty and The analysis of system performance shows
are perused in more detail, making heavy use that knowledge-based technology can indeed
of the explanation facilities. have a dramatic impact on productivity and
Third, over the long term, roughly half of costs. The savings realized by mills using
the users access the system at least once a PITCH EXPERT and following its recommenda-
month and half less often. tions clearly justify the expense of develop-
To date, PITCH EXPERT users have all been ment. Although the continued introduction
members of Paprican. As members, they are of this technology into the pulp and paper
considered to have paid for development of industry in the form of other knowledge-
the system with their industrial membership based systems will have to proceed in a
fees. Making PITCH EXPERT available for use by methodical, stepwise manner, it is clear that
nonmember companies is now being consid- the success of PITCH EXPERT has realized the
ered. There has already been strong interest first step toward this goal.
from several countries. Although the fee struc- From the technical standpoint, it is clear
ture has not yet been determined, it is clear that the success of the project was a result of
that if nonmember companies are given access the philosophy of custom fitting the system
to the system, they will be charged for its use. to the knowledge (Bouchard et al. 1991) as
well as the careful attention that was paid to
Other Benefits of PITCH EXPERT the issue of ongoing maintenance. This pro-
A number of less quantifiable but equally real cess involved the selection of a large, sophis-
benefits have also been realized in participat- ticated, and powerful shell (in this case ART)
ing mills. PITCH EXPERT provides training in followed by customization to achieve a per-
pitch-control techniques to mill engineers. fect fit with the needs prescribed by the
Many pulp mills are in less desirable remote domain knowledge.
locations and tend to be staffed by engineers Finally, PITCH EXPERT serves to highlight the
who are inexperienced or new to the industry fact that large and sophisticated expert sys-
and have a high turnover rate. The help and tems can and do provide distributed and up-
explanation facilities are particularly useful to-date expertise in a readily available and
here. During development of the system, the accessible fashion, which translates into
expert commented that when he visits mills, improved productivity and a more competi-
he spends much of his time educating mill tive industry.
personnel as well as investigating pitch prob- The major achievements of the PITCH EXPERT
lems. It is important that PITCH EXPERT be able project can be summarized as follows:
to perform both these functions. First, a large knowledge-based system is
Using PITCH EXPERT also encourages mill per- being regularly used by mill personnel to
sonnel to do more information gathering and solve real industrial problems. Few systems in
testing on a regular basis, thus improving the pulp and paper industry reach this stage
their overall problem-solving capability. The of practical usefulness. Mills already using the
sequence of questions serves to highlight system can be expected to save a total of
information that should be obtained when $22.4 million a year.
solving pitch problems, and the help facilities Second, a sophisticated question-asking
instruct users on what to look for in the mill mechanism (the NTK module) was developed
and how to perform tests and procedures. to enable PITCH EXPERT to obtain the informa-

FALL 1993 97
Articles

tion it needs without asking unnecessary or In Proceedings of the Ninth National Conference
irrelevant questions. on Artificial Intelligence, 842–848. Menlo Park,
Third, a flexible strategy was developed for Calif.: American Association for Artificial Intelli-
combining pieces of evidence of various gence.
strengths and weights to reach conclusions de Kleer, J., and Williams, B. C. 1989. Diagnosis
about the existence and importance of prob- with Behavioral Modes. In Proceedings of the
lems. Eleventh International Joint Conference on
Fourth, a powerful set of customized rela- Artificial Intelligence, 1324–1330. Menlo Park,
tions and knowledge structures was devel- Calif.: International Joint Conferences on Artificial
oped for modeling an industrial process. Intelligence.
Fifth, thanks to its maintenance-oriented
Hughes, S. 1987. Domains, Tasks, and Questions:
design and associated strategy, PITCH EXPERT is
An Approach to Knowledge Analysis. In Proceed-
being successfully maintained with minimal
ings of the Third International Expert Systems
involvement by AI specialists.
Conference, 37–44. Medford, N.J.: Learned Infor-
Acknowledgments mation Inc.

The success of PITCH EXPERT has been the result Kowalski, A., and Gauvin, D. 1992a. P I T C H
of contributions by many people in addition EXPERT —An Engineered Collection of Specialized
to the authors of this article. Christine Knowledge Structures. In Proceedings of the Ninth
Lapointe of Paprican spent many long hours IEEE Conference on Artificial Intelligence for Appli-
conducting the initial sessions with the mills cations, 20–27. Washington, D.C.: IEEE Computer
and reviewing the session log files as well as Society.
testing and debugging the system. Ana Luque Kowalski, A., and Gauvin, D. 1992b. PITCH EXPERT: A
of the Centre de Recherche Informatique de Productivity Improvement Tool for Pulp Produc-
Montreal (CRIM) contributed greatly to the tion. In Proceedings of the Eighth International
coding and testing effort, particularly for the Conference on CAD-CAM: Robotics and Factories of
NTK module. Julian Lebensold of CRIM the Future, 1854–1866. Metz, France: International
helped to get the project under way. John Society for Product Enhancement.
Opala, Jennifer Muise, and Daniel Gauvin of Kowalski, A., and Lebensold, L. 1989. A Diagnostic
CRIM contributed great effort and skill in pro- Aid to Pulp Production. In Applications of Artificial
gramming various parts of the knowledge Intelligence VII, 857–866. Bellingham, Wash.:
base. Joanne Plamondon of Paprican tirelessly International Society for Optical Engineering.
and cheerfully processed countless revisions
Kowalski, A., and Muise, J. 1990. Toward a Self-
of this article, and Virginia Bryce of Paprican
Managing Knowledge Base. In Proceedings of the
did likewise for the user manual. Finally,
Third International Symposium on Artificial Intelli-
many thanks to Renato De Mori for his most
gence, 117–123. Mexico, D.F.: Editorial Limusa.
useful advice on numerous occasions and to
Alun Preece for his helpful review of this arti- Millet, C. 1989. A Study of the Knowledge Required
cle. for Explanation in Expert Systems. In Proceedings
of the Fifth IEEE Conference on Artificial Intelli-
References gence Applications, 83–96. Washington, D.C.: IEEE
Allen, L. H., and Kowalski, A. 1992. PITCH EXPERT Computer Society.
System: A Case Study for a Knowledge-Based Sys- Reiter, R., and de Kleer, J. 1987. Foundations of
tem for Pitch Control in the Pulp and Paper Indus-
Assumption-Based Truth Maintenance Systems. In
try. In Proceedings of the Forest Sector 2000 Con-
Proceedings of the Sixth National Conference on
ference, 98–103. Ottawa, Ontario, Canada:
Industry, Science, and Technology Canada. Artificial Intelligence, 183–188. Menlo Park, Calif.:
American Association for Artificial Intelligence.
Bouchard, D. C.; Kowalski, A.; Larin Y.; and Vadas,
O. 1991. Acquiring and Structuring Expert Knowl- Suthers, D.; Woolfe, B.; and Cornell, M. 1992. Steps
edge. In Proceedings of the Tappi Engineering Con- from Explanation Planning to Model Construction
ference, 81–93. Atlanta, Ga.: Technical Association Dialogues. In Proceedings of the Tenth National
for the Pulp and Paper Industry. Conference on Artificial Intelligence, 24–30. Menlo
Buchanan, B., and Shortliffe, E. 1985. Rule-Based Park, Calif.: American Association for Artificial
Expert Systems. Menlo Park, Calif.: Addison Wesley Intelligence.
Publishing Co.
Turney, P. 1992. PITCH EXPERT: Canadian AI Success
Cawsey, A. 1991. Generating Interactive Explana-
Stories. Canadian Artificial Intelligence 30:14–17.
tions. In Proceedings of the Ninth National Confer-
ence on Artificial Intelligence, 86–91. Menlo Park, Winston, P. H., and Shell, A. R. 1990. Artificial Intel-
Calif.: American Association for Artificial Intelli- ligence at M.I.T.: Expanding Frontiers. Model-Based
gence. Reasoning: Troubleshooting. Cambridge, Mass.: The
de Kleer, J. 1991. Focusing on Probable Diagnoses. MIT Press.

98 AI MAGAZINE
Articles

Allan Kowalski is currently a consul-


tant specializing in knowledge-based
systems at the Centre de Recherche Innovative Applications of Artificial
Informatique de Montreal in Canada.
He received his B.S. and M.S. in com- Intelligence 4
puter science from Concordia Uni-
versity in 1984 and 1988, respective- Proceedings of the IAA1-92 Conference.
ly. His area of interest is the strategies and methods
of development and the long-term maintenance of EDITED BY A. CARLISLE SCOTT & PHILLIP KLAHR.
large, deployed knowledge bases.
“Far from being isolated in the halls of academia, AI is finding its way
Diana Bouchard is an associate sci- into our lives and saving us time and money—usually when we are
entist at the Pulp and Paper Research most unaware of it. This book is a great eve-opener to AI’s possibilities
Institute of Canada. She received her
B.A. in math and philosophy from
through the work of others, largely in global operations.”
McGill University in 1968. She also -Library Journal
received an M.S. in geography and Contents:
an M.S. in computer science from ■ Smart: Support: Management Automated Reasoning Technology for Compaq Customer
McGill University in 1972 and 1979, respectively.
Service / Timothy L. Acornand Sherry H. Walden
Her area of interest is industrial computer applica-
■ A Knowledge-Based System within a Cooperative Processing Environment /
tions, with a special focus on knowledge-based sys-
tems. Dale B. Danilewitz, and Frederick E. Freiheit IV
■ Help Desk: Using AI to Improve Customer Service / Debra Logan and Jeffrey Kenyon

Lawrence H. Allen is the director of ■ Making Sense of Gigabytes: A System for Knowledge-Based Market Analysis /
research in chemical sciences at the Tej Anand and Gary Kahn
Pulp and Paper Research Institute of ■ TPF Dump Analyzer / R. Greg Arbon, Laurie Atkinson, James Chen, and Chris A. Guida
Canada. He received his B.S. in phys-
■ Marvel: A Distributed Real-Time Monitoring and Analysis Application / U. M. Schwuttke,
ical sciences at Carlton University in
A. G. Quan, R. Angelino, C. L. Childs, J. R. Veregge, R. Y. Yeung, and M. B. Rivera
1965 and a Ph.D. in chemistry from
Clarkson University, Potsdam, New ■ Pharos—The Single European Market Adviser /

York, in 1970. Since 1972, his research has focused Ebby Adhami, Michael Thornley, and Malcolm McKenzie
on pitch control for both pulp and paper mills, ■ The Credit Assistant: The Second Leg in the Knowledge Highway for American Express /
making him one of the paper industry’s most James Dzierzanowski and Susan Lawson
sought-after consultants. He is a fellow of the
■ MOCCA: A Set of Instruments to Support Mortgage Credit Granting /
Chemical Institute of Canada and the Technical
Steve Hottiger and Dieter Wenge
Association for the Pulp and Paper Industry.
■ Cresus: An Integrated Expert System for Cash Management / Pete Shell, Gonzalo Quiroga,
Juan A. Hernandez-Rubio, Eduardo Encinas, Jose Garcia, and Javier Berbiela
Yves Larin is an associate technical
specialist at the Pulp and Paper ■ DMCM: A Knowledge-Based Cost-Estimation Tool /

Research Institute of Canada. He Norman Crowfoot, Scott Hatfield, and Mike Swank,
received his B.S. from University of ■ SlurryMinder: A Rational Oil Well Completion Design Module /
Montreal in 1979. He has spent the E. Brent Kelly, Philippe Caillot, Robert Roemer, and Thierry Simien
last three years working in the field
■ An Application of Model-Based Reasoning in Experiment Design /
of knowledge-based systems.
Andrew B. Parker and W. Scott Spangle
■ A Truly Magic Solution / Rita C. Kidd and Robert J. Carlson
Oliver M. Vadas is a senior technical
■ Adjudipro / J. P. Little and Mark Gingrich
specialist at the Pulp and Paper
Research Institute of Canada. He ■ HUB SIAASHING:A Knowledge-Based System for Severe, Temporary Airline Schedule
received a B.S. in electrical engineer- Reduction / Trish Dutton
ing and an M.S. in computer engi- ■ Arachne: Weaving the Telephone Network at NYNEX / Elissa Gilbert, Rangnath Salgame,
neering in 1963 and 1965, respec- Afshin Goodarzi, Yuling Lin, Sanjeev Sardana, and Jim Euchner
tively, from the University of
■ Knowledge-Based Code Inspection with ICICLE /
Technology of Budapest, Hungary. He joined the
Pulp and Paper Research Institute of Canada in L. Brothers, V. Sembugamoorthy, and A. Irgon
1972, where he works on evaluating emerging tech- ■ Automatic Programming for Sequence Control / Hiroyuki Mizutani, Yasuko Nakayama,
nologies for industrial applications. Satoshi Ito, Yasuo Namioka, and Takayuki Matsudaira

Published by The AAAI Press / The MIT Press


ISBN 0-262-69155-8. $30.00
To order, call toll free: 800/356-0343 or 617/625-8724
MasterCard and Visa accepted

FALL 1993 99

You might also like