A Language Based Problem-Solver

S. RamaniIJCAI 1971

In the late 1960s and early 1970s, the artificial intelligence community faced a significant divide. On one side, researchers attempted to map natural language into rigid formal logic; on the other, they sought more flexible, "human-like" approaches. In his 1970 paper, S. Ramani from the Tata Institute of Fundamental Research presented a compelling alternative: a problem-solver that treats language not merely as an interface, but as the core medium for reasoning, learning, and analogy.

The Brittleness of Formal Logic

Early AI systems often suffered from a "brittleness" problem. To enable a computer to understand a sentence, researchers typically had to manually construct massive, complex grammars or write specific algorithms to map every possible sentence into a formal logical calculus, such as first-order predicate calculus. These systems were notoriously difficult to maintain; adding a new type of question often required debugging the entire grammar.

Ramani argued that human intelligence does not function through constant formal parsing. Instead, humans recognize similarities between a new problem and one they have encountered previously. His goal was to build an "open-ended" system that could be "told" how to solve new classes of problems simply by being provided with examples, rather than requiring extensive reprogramming.

System Architecture: The Paradigmatic Processor

The core of Ramani’s system is the Paradigmatic Processor. Unlike systems governed by rigid rules, this processor operates on "paradigms"—worked examples that serve as flexible templates for problem-solving.

Figure 1: The block diagram of the system, illustrating the interaction between the Paradigmatic Processor, the store for schematized paradigms, and the sentential database.

As shown in the architecture above, the system manages two primary types of storage: a store for schematized paradigms and a sentential database containing facts. The processor uses these to transform inputs into responses through three main stages:

  1. Paradigms as Input: Users provide paradigms consisting of a Context (facts), an Input (a question), and an Output (the answer or a series of steps).
  2. Schematization: The system automatically converts these paradigms into "schemas" (templates). It identifies which parts of the sentences are constant and which are variables. For example, if it processes "The weight of the ship is 2000 tons," it learns a structure where "ship" and "2000" are placeholders.
  3. Extrapolation: When faced with a new stimulus, the system searches its store of schemas for the best match. It uses a "match index" to find the most structurally similar example and then "interpolates" the new data into the solution template.

Analogy-Directed Behavior

The most striking insight of the paper is that analogy is a more scalable learning mechanism than formal syntax-directed parsing. By matching patterns rather than enforcing strict grammatical rules, the system becomes incrementally smarter with every example provided.

Figure 4: An illustration of structural matching between a new question (Q) and a known schema (S), demonstrating how the system identifies analogous components across different problem domains.

This structural matching allows the system to handle "surface transformations," recognizing that different ways of phrasing a question might require the same underlying solution schema. Furthermore, the system supports Nested Computation. If a response requires a calculation, the system generates an "internal stimulus"—essentially talking to itself. This internal sentence triggers another round of schema matching, allowing the system to break complex problems into a hierarchy of simpler sub-problems.

Results and Legacy

The system successfully demonstrated its capabilities in several domains, most notably in solving multi-step calorimetry problems (e.g., calculating final temperatures when mixing substances of different masses and temperatures). It could identify relevant facts from its sentential database and generate a sequence of internal commands to reach a solution.

While the system had limitations—such as treating words as atomic units and possessing crude arithmetic capabilities—it foreshadowed modern few-shot learning in Large Language Models (LLMs). By using natural-language-like strings for its internal "scratchpad," Ramani created a reasoning process that was both transparent and easily modifiable by a human teacher, representing an early and sophisticated attempt at flexible, example-driven AI.

Summary updated

BibTeX
@inproceedings{ramani1971language,
  author = {S. Ramani},
  title = {{A Language Based Problem-Solver}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1971},
}
Figure