"So,
basically, you show me yours and I'll show you mine."
Zelda had summed up
our professional relationship in typical Zelda fashion. My sailboat,
the Cognoscente, was moored to my floating home, and we were preparing
to cast off. I should say I was preparing it to cast off. Zelda
was face down on the wooden hull of the boat, her backside bare
but for bikini briefs sporting tiny stars and stripes. She had
been rapturously reading the newspaper article about the black
mass, commenting about the delicious wickedness of it all while
I played dumb about my involvement. Finally she had set the paper
aside to discuss our partnership.
"Right,"
I said. "You teach me Dexter's theories and try to get me
a meeting with him, and I'll teach you how to build a thumbrule
system. Although in the heat of our discussion the other night
you forgot to tell me why you're so interested."
"I have my reasons,"
she said, enigmatic creature that she was. "As for meeting
with Dexter, he's extremely pissed at you, but I'll do my best
to butter him up. Like I said, he's a political animal, which
means he'll deign to offer you an audience if it somehow benefits
him." She leaned toward me. "Your turn," she said.
"Tell me about Sherlock-in-a Box."
I sipped my Starbucks
and threw a crumb at a Canadian goose. I hadn't seen Tristan and
Isolde since their feast of a few nights ago. "I've skimmed
through nine of Conan Doyle's short stories and one of his novels
and have picked out quite a few of Holmes' higher level sleuthing
strategies."
The boat's engine
purred gently in neutral, and I gave the instruments one last
check. Then I picked up my laptop from the deck and plopped down
beside Zelda so that we were lying head to head. I clicked the
computer awake and read from a representative sample of maxims.
"Well, of course there's the famous line, 'When you have
eliminated the impossible, whatever remains, however improbable,
must be the truth.'"
"Improbable?
Let's see if I understand it." She threaded her fingers through
her hair, gazing out into the water. "You have to gather
a bunch of facts, not knowing which are clues and which are meaningless.
Then when you've finished your hunting and gathering, you throw
out the facts or theories that are impossible. What's left over
is meaningful."
"Something like
that. Of course the major assumption is that you've collected
all the facts. In a mystery novel it's key that the author supplies
the reader with everything he needs. In real life the problem
is that you don't know whether you've got all the facts you need.
You don't know what you don't know, as you would probably put
it."
She studied a fingernail
and said, "Yes I probably would. So what other thumbrules
have you unearthed?"
"Here's one from
The Boscombe Valley Mystery: 'There is nothing more deceptive
than an obvious fact.'" I popped an ice cube in my mouth
and then knelt beside her. I hummed my lips across her back.
"Oooh, I like
it," she said. "Tell me more."
"You want more?"
I asked. I placed the cube in my hand and continued the caress.
I whispered into the silky fuzz of her ear. "How about, 'The
more grotesque an incident is, the more carefully it deserves
to be examined.'" I nibbled on her earring and then her ear.
She moaned theatrically.
"Talk dirty to me, detective," she said.
I continued the quote,
"'And the very point which appears to complicate a case is,
when duly considered and scientifically handled, the one which
is most likely to elucidate it.'" Another low moan. "From
Hound of the Baskervilles," I added softly.
I thought about the
black mass ritual. The ritual was indeed grotesque. I had spent
much of the previous night reading about devil worship and feeding
the facts into Sherlock.
But while grotesque,
the ritual had definite meaning within its own context. It took
the symbols of the Church and reversed them, as Father Zebediah
had instructed Miriam. What did Holmes mean, the more grotesque
it is, the more it needs to be examined? Could there be something
special about the penis stuck on the end of the statue? My research
of Satanic cults had talked about defiling virgins, burying people
alive, sacrificing animals and even babies, but there was nary
a mention of gluing a phallus to a saint. What meaning was there
in this? What had we missed?
Of course, Holmes
had also counseled in A Study in Scarlet, "It is a mistake
to confound strangeness with mystery." The reference to strangeness
made me think of Gerard Rollins. The man was definitely paranoid,
neurotic, and had a very big bone to pick with Miriam. But the
black mass was aimed against the church, not against Miriam. Miriam
was right. There was no apparent motive to connect Gerard to the
ritual destruction.
Still, I couldn't
get his strange words out of my mind. "You were gone for
six years. And not back here a week before you came to me, all
smiles and questions." There seemed to be a fatal attraction
to Miriam behind his venom, a simultaneous tug of love and hate.
The ice cube had melted,
and so, temporarily, had my interest in Zelda's ear and neck.
After a few more minutes of neglect she turned over on one side
and propped herself up with an elbow. With an edge in her voice,
she said, "What's the matter, Watson? I've got a body of
evidence over here I'd like scientifically handled."
"Will you excuse
me for a minute, Zelda, I just had a thought." I jumped down
from the boat onto the deck. Zelda plopped back down on her stomach
in a semi-sulk.
I sat at the light
iron chair on my deck and plugged my laptop into one of the dozen
phone connections that I had installed in various areas of the
house. My laptop was instantly connected by modem, magic, and
the information highway to every university library in the state,
every public library in the country, major database indexes, and
thousands of web sites. A nice advantage over Holmes was that
I could do some background without getting blisters on my feet.
Ray proceeds to ignore
Zelda, as he does too often throughout their relationship. But his
focus is on feeding the mystery-solving heuristics of the fictional
Holmes into the silicon Sherlock. Along the way he runs into several
problems. For one thing, Sherlock and Sherlock-in-a-Box live at
turns of different centuries. Sherlock Holmes, fictional detective,
comes across as chauvinistic in our politically correct environment.
Over lunch at the rectory, Ray meets his adversaries head on..
We sat in silence
for several seconds, heads bowed. Then Nathan was given the cue
to serve salad and the talk began to flow. Dexter broached the
subject of our duel and explained the idea for those who were
unacquainted with it. "Ray is suggesting that if you throw
together all of Sherlock Holmes' maxims..."
"Thumbrules,"
corrected Zelda.
"Right, thumbrules,"
said Dexter. "If you throw these all together into Sherlock-in-a-Box,
the program should be able to solve not only Arthur Conan Doyle
mysteries, but those written by other authors as well. Including
me," he added. "How about giving the group an example,
Ray?"
"Sure,"
I said. "There's one from A Scandal in Bohemia. Quite an
interesting story. One of the few in which Holmes doesn't get
his man."
"That's especially
true," said Zelda, smiling at me, "because his adversary
was a woman. Irene Adler, wasn't it?"
I smiled back as many
around the table chuckled. "Yes, it was. Thank you for the
correction."
"Any time."
Her eyes twinkled mischief, which was strangely reassuring. At
least they weren't twinkling malice. I hadn't spoken to her since
her excursion on my sailboat yesterday.
"Anyway, there's
a thumbrule that had to do with fire. Irene Adler has hidden an
important photograph that Sherlock Holmes needs to find. So he
sets a fire in her drawing room." I retrieved my thumbworn
copy of Conan Doyle from my laptop case, but found myself able
to recite from memory. "'When a woman thinks that her house
is on fire, her instinct is at once to rush to the thing which
she values most. It is a perfectly overpowering impulse...'
"You have to
remember that Sherlock Holmes was a little chauvinistic,"
I continued. "The new thumbrule generalizes both the gender
and the type of emergency. 'If in an emergency a person rushes
to an object, then he or she values that object most.' Now, if
you throw in some facts like 'there is a fire' and 'a fire is
an emergency' and 'a woman rushes to a painting,' Sherlock can
reason that the painting is what the woman values most."
"Very interesting,
Ray," said Dexter. "But perhaps you've made the thumbrule
too generic. Women are more sentimental creatures than men, after
all. A man, I think, would run to put out the fire."
"Oh, come on,
Julius," Zelda said. "You're threatening to sound more
chauvinistic than Sherlock."
"I wouldn't change
it," said Father Zebediah. "After all this time it's
still a fact that women are more emotional, men are more logical.
Like the book says, women are from Venus..."
"Yeah, yeah,"
said Zelda. "And men have a penis."
"I think what
Zelda is trying to say is that I have to modernize Holmes' gender
bias and turn-of-the-century worldview to be able to take on a
modern mystery," I said.
"I don't disagree,"
said Dexter. "But you may have your work cut out for you.
There's another Holmes story that reveals his keen insight into
a woman's heart. The Case of Mistaken Identity or something."
Dexter must have been
doing his homework. "Yes," I said. "A Case of Identity.
It deals with a bad love affair. Holmes and Watson are watching
a woman standing on the sidewalk outside their office. She's trying
to decide whether or not to approach them." Finding the passage,
I began to read.
Oscillation
upon the pavement always means an affaire de coeur. She would
like advice, but is not sure that the matter is not too delicate
for communication. And yet even here we may discriminate. When
a woman has been seriously wronged by a man she no longer oscillates...
Here we may take it that there is a love matter, but that the
maiden is not so much angry as perplexed, or grieved.
Laughs and playful
groans sounded all around the table. "A brilliant deduction!"
said Zelda. "The damsel no longer oscillates, and therefore
is perplexed, and cares naught that the matter is too delicate
for communication, nor that she has a pimple on her delicate white
behind. What a pile of male chauvinist pig manure."
Finally, Sherlock-in-a-Box begins to show real progress. But the silicon
Sherlock, like the fictional detective, needs data. The program is
run during a funeral, with Ray and Miriam sitting above the mourners
in the balcony of the University Cathedral.
The funeral progressed
through the High Mass. Miriam followed it intently for awhile,
but then shook her head sadly and turned to me as I continued
to play with the computer. "Show me how it works."
I tapped on a few
keys until the Sidney Paget picture of the brooding detective
puffing on his pipe appeared on the screen.
"You might be
a little disappointed," I said. "I ran Sherlock several
times this morning. He asks a few questions that I can't answer
and then grinds to a halt." I shifted the computer on my
lap and typed, "Who performed the cult ritual?"
"His first hypothesis
is that figuring out the numbers in the boxes will identify the
cultists. When he can't work that out, he stops and asks us for
the answer."
"And we can't
tell him because we don't know."
"Correct. He
poses other questions, but eventually he fails. We can't get any
further until we figure those numbers out, or Sherlock does."
On the screen, Sherlock
Holmes continued to puff on his pipe. Behind the detective's unruffled
exterior, I knew Sherlock was jumping in and out of his thumbrules,
backward chaining until he came to a dead end, meaning he had
insufficient data. And insufficient data meant he had to ask a
question.
"Any second now,"
I said. Finally the graphic of Sherlock Holmes disappeared, replaced
by a question. But it wasn't the one I expected. It read, What
is distance from west portal to maze?
I looked at Miriam
in surprise. "I entered some facts about the maze while we've
been up here. Sherlock must have connected it with our mystery."
Miriam seemed to tremble
and looked unsteady. The funeral was taking its toll.
"Maybe we should
leave," I said. "We can do this later. I'll measure
the distance from the doors to the maze after the funeral is over."
Miriam hugged her
chest and took a deep breath, as though willing herself to be
calm. "No need to measure it," she said. "It's
one hundred twenty five feet."
---
section removed as Miriam explains how with "sacred geometry"
all distances are derived from a starting length)---
I was genuinely impressed.
As well as having an aesthetic feel for beauty, Miriam was obviously
mathematically inclined. I realized that the two were in balance
in this building. But I wondered why Sherlock would care about
the distance to the maze. I dutifully typed in the number that
Miriam had given me.
Sherlock digested
the response. "Look what he's asking now," I said, angling
the screen toward her. What is shape of maze?
Does maze have
half-circles on circumference?
Half-circles on the
circumference. I recognized this phrase. I had entered it into
Sherlock to describe the sketch we had found.
I hefted the binoculars
again to examine the maze. Its inner circle had six smaller half-circles
connected to its circumference, reminiscent of the petals of a
flower. The flower illuminates the time and the place. A
chill quivered through me. I entered "Yes." The program
responded with, What number half-circles has maze?
Six. The same number
as was on the sketch. I temporarily suspended Sherlock-in-a-Box,
and brought up the picture of the Numbers of the Rose sketch on
the computer.
There was indeed a
resemblance between the circles on the sketch and on the maze.
"It looks to me," I said to Miriam, "that we were
wrong to think that the figure on the sketch was a rose. It's
actually the center of the maze."
I checked to see if
she had made the same connection. Her face had gone pale and she
looked as though she were going to faint. I quickly set the computer
down. "Miriam, are you okay?" I touched her shoulder.
"Do you want to leave?"
She pushed my hand
away. Slowly, methodically, she began to tap a closed fist against
her chest. I was afraid she was having trouble breathing. Then
I understood the gesture. She was praying.
"Give Sherlock
his answer," she said.
"Are you sure,
Miriam? Maybe we should..."
I typed in the answer.
"Six."
Does rose window
have vertical shaft connected to circle?
I looked out to the
distance of the western entrance to the stained glass window.
I typed in "No."
Does maze have
vertical shaft connected to circle?
I looked through the
field glasses at the maze. "I don't see any vertical shaft
coming from the inner circle."
"That's because
of our perspective," Miriam said softly. She took the binoculars
and held them to her eyes. "If you follow the path of the
maze from the opposite end, it joins the circle just like it shows
in the picture." She set the glasses down and looked at me.
"From ground level, no one would connect the pattern in the
maze to the pattern in the sketch because of the perspective.
And you didn't recognize it from here because you were looking
at it upside down."
The use of the word
"you" instead of "we" wasn't lost on me. Miriam
had already deciphered the sketch, probably when I had shared
Jon Matthias' comparison of the boxes to walking a winding path.
"It has to be looked at from the other direction, from a
height," she continued.
"You mean it
has to be looked at from the rose window?"
Miriam brought a handkerchief
to her puffed eyes. I was beginning to realize that there was
more to her grief than the death of an old friend.
Eventually
Sherlock-in-a-Box matures into a reasoning machine that the real Sherlock
would be proud of. (If you're interested in the role of Artificial
Intelligence and Expert Systems in this progression of Sherlock, click
here.) Ray has entered all of the sleuthing heuristics from the
Conan Doyle works, and the machine emulates the master, except for
one thing: the program can't deal with red herring.
Brain surgery on a thumbrule system isn't all that risky or difficult.
You simply dissect the knowledge base to examine the thumbrules
and facts. You check to make sure you haven't missed anything
critical. Then you retrace the chain of reason to test the thinking
process. If you arrive at the correct answer, then you stop. If
you don't, then you tinker.
I had to tinker. Yes,
Sherlock-in-a-Box had arrived at one correct answer: [spoiler
content removed]
So what went wrong?
A thorough check showed that my thumbrules were okay. They were
internally consistent and logically connected. I decided that
my work to incorporate the deductive reasoning of Sherlock Holmes
into Sherlock-in-a-Box was a success.
The problem lay elsewhere.
Sherlock was indeed smart. When stumped, he tried another tack,
based on a different thumbrule. If he still couldn't reach a conclusion,
it was because he lacked facts. Fed enough facts, he would eventually
arrive at an answer. Once he found the answer, he stopped.
That was the problem.
He stopped at the first answer, because to him there was only
one answer. But in the real world, different people came to different
conclusions, depending on their belief system, which made them
gauge the facts differently. Clues ranged from truth to half-truth
to bald-faced lie. Dexter had put his finger on it. To a computer
system, a fact was a fact. There was no range or degree of "truth";
black was black, not white or gray.
My duel with Dexter
was a few short days away, scheduled for Friday evening. In order
to deal with the red herring that Dexter was sure to throw my
way, I had to guide Sherlock to operate in a world of gray. Late
into the nights that followed Zebediah's death, I worked hard
to manipulate the mind of my idiot savant. Once again, Sherlock
Holmes himself led me to the answer.
----------------------------
I spent all of Monday,
June third, on the floor of my living room amidst a pile of Doyle's
books. At one point I placed Regina's picture next to me; someone
to chat with when I needed a break from talking to Sherlock. But
I was less inclined than usual to ask her opinion.
Sherlock Holmes had
some thumbrules to offer about red herring. "Circumstantial
evidence is a very tricky thing," the fictional detective
explained in The Boscombe Valley Mystery. "It may seem to
point straight to one thing but if you shift your own point of
view a little, you may find it pointing in an equally uncompromising
manner to something entirely different." There it was again.
Point of view. Which was colored by your belief system. The thumbrule
was good, but there was still something missing, and I was beginning
to feel desperate.
Tuesday morning found
me asleep on the floor when Jon Matthias knocked on my door. "Wake
up, Ray," he yelled through the screen door. "I come
bearing gifts."
"Gifts?"
I groggily sat up. Matthias let himself in and plopped down beside
me, balancing a paper bag from which he produced a box of Krispy
Kreme donuts. He seemed chipper and alert, while I struggled to
overcome my sleep deprivation.
"I need some
help," I told him. "I've got a little problem that I
can't seem to work out."
It took much more
than a minute to explain the way Sherlock worked - and didn't
work. It took another hour to debate the mathematics behind why
Sherlock thought only in black and white. Another half hour to
discuss the sleuthing heuristics that I had found in Conan Doyle's
books of novels and short stories, which were still scattered
all over the carpet. The last passage that I quoted, from The
Hound of the Baskervilles, finally struck the chord.
"Holmes tells
Watson that he looks for "the region where we balance probabilities
and choose the most likely."
Jon, who had been
a fountain of ideas to this point, was silent. He grunted and
reached into the bag for the last donut. Finally he spoke.
"Probability
statistics," he said.
"Probability
statistics?" I asked.
"Yes. That's
the answer. Add a weighting factor to the thumbrules. Some rules
are better than others in certain situations. Put a weight on
them when you enter them into Sherlock. Or, if you want to get
fancy, add belief system thumbrules to decide what weight to give
them under what conditions. That way Sherlock can examine two
possible solutions, weigh them against each other, and choose
between them."
The intensity of our
conversation escalated. When the donuts were gone, we babbled
in excitement as we walked to the store, bought more donuts, and
returned home. At midnight, when Matthias finally left, we were
halfway there.
When Zelda visited
me early the next morning, I was all the way there.
And he
was, finally. Ray has succeeded in truly using deductive logic and
Sherlock Holmes' own problem-solving rules of thumb to create a
sleuthing software program. Ray himself is like Sherlock in a lot
of ways, and his sleuthing machine tends to accentuate his own extremely
rational approach. Does it work? You'll have to read the book to
find out!
Back
to Top
|