A Distributed Case-Based Reasoning Application for Engineering Sales Support

TL;DR

This paper presents the successful implementation of a distributed Case-Based Reasoning (CBR) system for engineering sales support, built on the World Wide Web using Java applets and XML. The system significantly improves the speed and accuracy of HVAC system quoting for sales staff, reducing reliance on engineers and boosting company efficiency and profitability.

What Problem Does This Paper Address?

The paper tackles the challenge of providing timely and accurate technical sales support in a distributed sales environment. Western Air, an HVAC distributor with a large, geographically dispersed sales force, struggled with its traditional quoting process. Sales staff relied on manual forms and proprietary software, leading to delays and potential inaccuracies when relaying information to engineers for specification. Existing internal databases for past installations were cumbersome to query, forcing engineers to manually browse for similar cases. The core problem was bridging the gap between sales staff needing quick, reliable estimates and the complexity of HVAC system specifications, all while managing a distributed workforce.

Methods

The authors implemented a distributed CBR system leveraging several key technologies:

  • Web-Based Architecture: The system operates on the World Wide Web, accessible via standard web browsers. This eliminates the need for complex client-side installations and simplifies updates.
  • Java Applets and Servlets: Java applets handle the client-side user interface for gathering customer requirements, while Java servlets manage server-side processing, including database querying and XML generation.
  • XML for Communication: Extensible Markup Language (XML) serves as the communication protocol between the client and server, enabling structured data exchange.
  • Case Representation: HVAC installations are stored as "cases" in a database, with each case comprising approximately 60 fields for retrieval and additional descriptive information. Links to associated files (e.g., full specifications) are also included.
  • Two-Stage Case Retrieval:
    1. Query Relaxation: The initial query is relaxed to ensure a sufficiently large set of potentially relevant cases is retrieved from the database. This involves using a hierarchical symbol structure (like a taxonomy) and defining relaxation ranges for numerical features.
  • Nearest Neighbor Algorithm: A simple nearest neighbor algorithm is used by the client-side applet to rank the retrieved cases based on similarity to the query. Feature weightings can be adjusted by sales engineers.
  • Introspective Learning: To address performance issues with query relaxation, an introspective learning approach was adopted. The system learns over time to automatically adjust query relaxation amounts based on past query logs, improving retrieval efficiency.

Datasets

The paper describes a database containing approximately 10,000 records of past HVAC installations. This database was created and populated by Western Air. No new benchmark datasets were introduced; rather, an existing company knowledge base was leveraged.

Key Insights and Ideas

  • Web as an Enabler for CBR: The paper strongly advocates for the web as an ideal medium for delivering intelligent support systems like CBR. It highlights how web deployment significantly reduces operational costs compared to installing and updating individual client systems.
  • XML's Role in Interoperability: XML proved to be a robust and flexible protocol for exchanging structured data between client and server, facilitating the distributed architecture.
  • The Power of Query Relaxation: The success of the system hinges on its ability to intelligently relax queries, making it easier for sales staff to find relevant past cases even with imprecise input.
  • Introspective Learning for Performance: The introduction of introspective learning for query relaxation was a crucial step in overcoming performance bottlenecks and making the system more dynamic.
  • Bridging the Sales-Engineer Gap: The system effectively empowers sales staff to provide initial, technically sound estimates, freeing up valuable engineer time for more complex tasks and high-value contracts.

Key Results

  • Improved Quoting Speed and Accuracy: Sales staff could handle installation projects without immediate engineer intervention, leading to faster quoting.
  • Increased Sales and Margins: Within ten months of full rollout, sales increased by 10%, and margins increased by 1.75%.
  • Significant ROI: The system was projected to generate $476,000 in its first year, with a substantial return on investment ($253,855 on $222,145).
  • Reduced Engineer Workload: Engineers reported having more time to focus on complex contracts due to the reduction in routine quote requests.
  • High User Acceptance: Sales staff showed very good acceptance of the system once they understood its capabilities.
  • Performance Improvements: The introspective learning heuristic, combined with architectural improvements (like porting to MySQL), reduced server-side retrieval time by almost 50%.

Limitations and Future Work

  • Initial Performance Bottlenecks: The original implementation experienced load performance issues due to the Java servlet approach and the use of MS Access as the database. These were addressed by porting to MySQL and implementing introspective learning.
  • Knowledge Engineering Effort: While a case library existed, determining valid ways to relax SQL queries and creating similarity metrics still required knowledge engineering effort.
  • Future Work: The authors plan to investigate providing support or automating some aspects of case adaptation, further enhancing the system's capabilities.

Summary updated

BibTeX
@inproceedings{1999distributed,
  title = {{A Distributed Case-Based Reasoning Application for Engineering Sales Support}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure