5

In detective novels, the point is often that the reader gets enough information to solve the crime themselves. This "puzzle" aspect of detective novels is part of the attraction.

Often the difficulty for humans is to keep track of all the variables - events, items, motivations. An AI would have an easier time keeping track of all the details, but would rely on real-world knowledge to prevent making crazy mistakes. For example, if it was stated that a character took the train, the AI would need to know that this is a method of transportation - that it changes the location property of an agent over time.

Has an AI ever been able to solve a detective mystery?

nbro
  • 39,006
  • 12
  • 98
  • 176
  • I could be wrong, but I really don't think something of this scope is within the capability of current AI. It would involve a lot of things that are still in relatively early stages of research. – Disenchanted Lurker Aug 04 '16 at 09:14
  • @S.L.Barth , if you're looking for something of that sort, I guess it is slightly hard, unless you have a reserve of keywords and stuff that should serve as the pointers to the machine that some data described by the word is required (it seems so; not that I am sure of it); also, the machine must identify relevant data (which can be achieved by training, undoubtedly) and also make sense of the data (that too via training, but undoubtedly biasing may occur later on as the machine is subjected to more puzzles)... I am still at the basics so you can think it over, decide what's relevant & choose – Spectre Nov 09 '21 at 08:26

3 Answers3

4

I might be wrong, but I do not believe that something of the scope you describe would be possible with the current state of technology. It would require a lot of things which are still in relatively early stages of research.

For one, just extracting relevant information from text is a huge task by itself. Doubly so with a novel which contains a large amount of unimportant details.

It might perhaps be easier if the input was presented in the form of some sort of list of important facts. But it would still be rather difficult for the AI to connect them and find a solution.

As an example, let's say that we have these two facts:

  • Alice died of a snake bite.
  • Bob was seen buying a couple of mice recently.

To a human, it seems obvious that the mice were bought to feed a venomous snake. However, it would probably require a tremendous effort to teach an AI to make such connections.

Disclaimer: I don't do text processing myself, so I'm not quite up-to-date on the current state-of-the-art. It's possible that some of these things have already been done in some form. If anyone knows more about the subject, please correct me if I'm wrong.

  • It's not "obvious", but it does only take a few steps of reasoning... What's most definitely not obvious is that the snake was venomous. – Pimgd Aug 04 '16 at 12:26
  • 2
    @Pimgd Maybe I should have said "to a genre savvy human, in the context of a detective novel". After all, in most stories, there's no such thing as coincidence, unless it's meant to be a deliberate red herring. Of course, it would be different if it was a real-life crime. – Disenchanted Lurker Aug 04 '16 at 12:33
2

Generally agree with @Inquisitive Lurker, but I think we also have a wide range of potential abilities/requirements. As with computer chess or Go, where there's a big difference between "beating an honest novice human " and "beating all humans"; there's a big difference between solving a simple kids' mystery and a complex adult novel.

So I don't think there would be any problem writing a program that could solve a problem that is listed as a list of statements, or laid out as a (very young) children's book. However something like an Agatha Christie or John Le Carre's "Tinker Tailor Soldier Spy" (relatively simple solution, but the story is told in a complex manner) are far in the future.

Sometimes an alternative approach might work. For example a neural network could probably solve all Colombo mysteries at the "Who did it?" level without a full "Why?" explanation, after only reading a few Colombo mysteries. The same is true for most kids!

winwaed
  • 143
  • 6
0

Not exactly a detective mystery, but according to a slide dated June 2012 from a NSA PowerPoint presentation (see: Glenn Greenwald’s site), NSA used some kind of Skynet AI technology to analyze and detect suspicious patterns from location and communication data in order to create a watch list of suspected terrorists. This helped to track associated members of Al-Qa’ida as well as the Muslim Brotherhood. And I'm sure their AI solved a lot of mysteries and found some controversial figures.

Source: U.S. Government Designated Prominent Al Jazeera Journalist as a member of AI Qaeda

For more details check: SKYNET: Courier Detection via Machine Learning for courier detection data and charts generated by analyzing GSM metadata using machine learning algorithms. Also Applying Advanced Cloud-based Behavior Analytics.

kenorb
  • 10,423
  • 3
  • 43
  • 91
  • Interesting, but not quite what I'm looking for. In this question, I'm looking at detective novels as a type of puzzle, where there is a single verifiable solution. The approach to these would be automated reasoning, rather than data analysis. – S.L. Barth is on codidact.com Aug 04 '16 at 04:40