From Textbooks to Knowledge: A Case Study in Harvesting Axiomatic Knowledge from Textbooks to Solve Geometry Problems

Mrinmaya Sachan, Avinava Dubey, Eric P. Xing

Introduction

Solving standardized geometry tests represents a "grand challenge" for artificial intelligence, requiring the integration of natural language understanding, computer vision, and formal reasoning. While previous systems like GEOS (Seo et al., 2015) achieved success, they often relied on "brute force" coordinate geometry, mapping predicates to complex numerical constraints. This approach is not only labor-intensive to engineer but also lacks the interpretability of human-like deductive reasoning. Researchers at Carnegie Mellon University have addressed these limitations by developing a system that automatically harvests axiomatic knowledge directly from textbooks.

The Challenge of Subject Knowledge

Traditional AI solvers often bypass the "rules of the game" by using numerical approximations. However, a student solves a geometry problem using theorems, such as the Pythagorean theorem, rather than calculating coordinate slopes. To bridge this gap, an AI must acquire subject knowledge—axiomatic rules—directly from the source: high school textbooks.

Methodology: Harvesting Axioms

The proposed system utilizes a multi-stage pipeline to transform raw textbook content into machine-executable Horn-clause rules.

Axiom Identification and Alignment

Textbooks are visually structured environments. The system employs a Linear-chain Conditional Random Field (CRF) to identify axiom mentions by leveraging "typographical features." These include colored bounding boxes, specific labels (e.g., "Theorem 8.4"), and proximity to diagrams.

Figure 1: An example of an axiom (Pythagorean Theorem) as it appears in a textbook, featuring clear typographical cues like a colored box and a specific theorem label.

By analyzing 20 different textbooks simultaneously, the model uses a joint alignment strategy. If multiple books mention a rule in a similar conceptual sequence, the system gains confidence in identifying it as a core axiom, effectively using redundancy to filter out noise.

Axiom Parsing and Logical Representation

Once identified, axioms are parsed into a premise (the "if" condition) and a conclusion (the "then" result). These spans are mapped into logical formulas. This deductive approach allows the system to solve problems by applying rules sequentially, mirroring human problem-solving.

Figure 2: A geometry problem illustrating the decomposition of natural language and diagrams into formal logical predicates for machine reasoning.

Results and Interpretability

The resulting system, GEOS++, was evaluated against a new benchmark of 1,406 SAT-style geometry questions—a dataset 7.5 times larger than previous standards. GEOS++ significantly outperformed the original GEOS system, achieving a score of 51 compared to 32.

Beyond performance, a user study with 50 students revealed that the axiomatic solver was perceived as more interpretable and useful. By generating step-by-step proofs rather than numerical outputs, the system provides solutions that are educational and transparent.

Conclusion

The success of GEOS++ demonstrates that typographical cues and cross-source redundancy are powerful signals for knowledge extraction. This framework is not limited to geometry; it offers a blueprint for harvesting laws of physics, chemistry, or legal rules from structured manuals. The ultimate goal remains an AI capable of learning new domains by reading the same educational materials used by humans.

Summary updated

BibTeX
@inproceedings{sachan2017from,
  author = {Mrinmaya Sachan and Avinava Dubey and Eric P. Xing},
  title = {{From Textbooks to Knowledge: A Case Study in Harvesting Axiomatic Knowledge from Textbooks to Solve Geometry Problems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1081},
}
Figure