Computer Solution of Calculus Word Problems

TL;DR

This paper introduces CARPS (CAlculus Rate Problem Solver), a program designed to tackle calculus word problems, specifically those involving rates. CARPS improves upon previous systems like STUDENT by employing a more flexible "structure"-based internal model, allowing it to better understand relationships between objects and gather information incrementally. This approach enables CARPS to handle more complex problem structures and a wider range of linguistic nuances than its predecessors.

What Problem Does This Paper Address?

Solving word problems, especially those requiring calculus, has long been a challenge for artificial intelligence. Previous systems, like Bobrow's STUDENT, were effective for algebraic word problems but struggled with the more complex linguistic structures and the need to represent relationships between objects that are common in calculus problems. Specifically, these systems often treated each sentence as an independent unit, making it difficult to integrate information spread across multiple sentences or to represent nuanced relationships like "the altitude of the filter." The paper aims to bridge this gap by developing a system that can more robustly parse and understand the semantic relationships within calculus word problems, particularly those involving rates of change.

Methods

CARPS employs a multi-stage approach to solve calculus word problems:

  • Word Tagging: The initial stage involves tagging words with their part of speech and identifying keywords that indicate the problem type (e.g., "distance," "volume") or specific concepts.
  • Sentence Decomposition: Sentences are broken down into simpler "kernel" sentences. This is achieved through pattern matching, often using a specialized language called CONVERT, which is embedded within LISP.
  • Structure-Based Internal Model: This is CARPS's core innovation. Instead of directly translating sentences into equations, CARPS builds an internal "structure" for each object described in the problem. These structures are tree-like, with the object's name as the root and its properties (like altitude, radius, velocity) as branches. This allows for:
  • Object Recognition: Identifying when different phrases refer to the same object (e.g., "conical pile" and "pile of sand").
  • Piecemeal Information Gathering: Integrating information about an object from multiple sentences.
  • Knowledge-Based Parsing: Using stored knowledge about objects (e.g., cones have altitudes) to interpret ambiguous phrases.
  • Equation Formation: Once the internal model is built, CARPS generates the necessary equations, including those derived from the problem's question and any implicit relationships.
  • Solution: The final stage involves solving these equations, which can include differentiation and simplification.

CARPS is implemented in LISP, with significant portions written in CONVERT for pattern matching. It also leverages algebraic simplification and differentiation routines.

Datasets

The paper states that CARPS has solved 14 calculus problems, most of which were taken from standard calculus texts, sometimes with slight modifications. Appendix A lists these problems, providing details on any changes made. No new benchmark datasets were introduced; the focus was on existing textbook problems.

Key Insights and Ideas

  • Structures as a Powerful Internal Model: The use of "structures" (tree-like representations of objects and their properties) is CARPS's key advantage. This allows for a more flexible and robust understanding of problem semantics compared to direct sentence-to-equation translation.
  • Handling Ambiguity and Incremental Information: Structures enable CARPS to recognize that different phrases can refer to the same object and to build up knowledge about an object over multiple sentences, a common characteristic of calculus word problems.
  • Leveraging Domain Knowledge: CARPS can use its knowledge about object types (e.g., a cone has an altitude) to resolve ambiguities in the input sentences, demonstrating a rudimentary form of "common sense" reasoning.
  • Sophisticated Equation Generation: CARPS can generate equations not just from direct statements but also from implicit relationships and the problem's question, and it has multiple methods for solving these equations.

Key Results

CARPS successfully solved 14 calculus word problems. For the example problem presented (a ship's distance from a point), CARPS took 41 seconds of machine time. The paper highlights CARPS's ability to handle problems that would have been difficult for previous systems due to their linguistic complexity and the need to integrate information across sentences.

Limitations and Future Work

The authors acknowledge several limitations:

  • Dependence on Keywords: CARPS still relies on keywords to determine the problem type and solution method, limiting its generality. An ideal system would infer relationships and methods from the problem's structure.
  • Limited English Syntax Understanding: While improved, CARPS's grammatical analysis is not fully comprehensive. It struggles with certain complex sentence structures.
  • Lack of "Common Sense" Knowledge: The paper points out that CARPS lacks the "common sense" reasoning that humans use to infer missing information (e.g., the direction of a ladder's movement). This is a significant hurdle for truly understanding natural language.
  • Limited Parsing Strategy: The current parsing strategy attempts rules sequentially. A more advanced approach would be an incremental, left-to-right parse.

Future work could involve developing more sophisticated parsing techniques, expanding the system's knowledge base to include more "common sense" facts, and creating more flexible methods for identifying problem types and solution strategies without relying solely on keywords.

Summary updated

BibTeX
@inproceedings{1969computer,
  title = {{Computer Solution of Calculus Word Problems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1969},
}
Figure