Abstract
The Multilingual Weather Forecasts Assistant (MLWFA) is a sophisticated Natural Language Generation (NLG) system designed to automate the production of weather reports in Chinese, English, and German. Developed through a collaboration between Shanghai Jiao Tong University and the German Research Center for Artificial Intelligence (DFKI), the system bridges the gap between raw meteorological data and broadcast-ready text. By employing a modular architecture that includes schema-based planning and Feature-based Lexicalized Tree Adjoining Grammar (FB-LTAG), MLWFA ensures linguistic accuracy and natural phrasing while maintaining a human-in-the-loop design for expert oversight.
Introduction
Generating weather forecasts is a precision-oriented task that requires translating complex meteorological data—such as temperature, wind speed, and pressure—into coherent, natural-sounding reports. Traditional systems often relied on rigid templates, resulting in repetitive and "robotic" outputs. Furthermore, the challenge of supporting multiple languages with distinct linguistic structures (e.g., Chinese vs. German) necessitates a more flexible approach. The MLWFA system addresses these challenges by providing a scalable framework that decouples content planning from language-specific generation, allowing human forecasters to adjust underlying data before final text production.
System Architecture
The MLWFA pipeline is divided into four primary stages, supported by various knowledge libraries.
- Graphic Processor: A graphical user interface (GUI) where forecasters visualize raw data as isolines and isocircles. This stage allows for manual modification of values to reflect expert insights.
- Macroplanner: This component determines the content of the report. It utilizes a "schema" approach to select relevant predicates. A notable innovation is the "||" operator, which introduces variety by allowing the system to exchange the order of certain predicates, avoiding formulaic output.
- Microplanner: This stage handles the "how" of the message. It consists of:
- Sentence Structure Optimizing (SSO): A language-independent phase that prunes redundant information to create a fluid "thought" tree.
- Language Resources Mapping (LRM): A language-specific phase that maps abstract concepts to the syntax of the target language (Chinese, English, or German) and adds necessary function words.
- Surface Generator: The final stage employs Feature-based Lexicalized Tree Adjoining Grammar (FB-LTAG). This formalism assembles the final sentences by compounding grammar trees based on specific feature constraints.
Human-in-the-Loop Implementation
A key design philosophy of MLWFA is its role as an "assistant" rather than a fully autonomous replacement for human experts. The system's GUI enables forecasters to interact directly with the data representation.
By allowing forecasters to edit graphical charts and structured data trees before text generation, the system ensures that the final reports benefit from human expertise while automating the labor-intensive writing process. The prototype was implemented in VC++ for Windows 95, supporting both step-by-step debugging and automated production.
Key Insights and Results
The MLWFA system demonstrates several critical advancements in NLG:
- Decoupling Logic from Language: The split between language-independent (SSO) and language-specific (LRM) microplanning creates a scalable framework where the core "logic" of a report can be reused across different languages.
- Grammar as Tree Assembly: The use of LTAG allows for more graceful handling of complex linguistic dependencies compared to simple template-filling, treating sentence construction as a puzzle of interlocking grammar trees.
- Multilingual Flexibility: The system successfully generates natural-sounding forecasts in three languages from a single set of modified meteorological data, with the "||" operator providing necessary stylistic variety for broadcast use.
Conclusion and Future Work
While the MLWFA prototype successfully demonstrates multilingual generation, its performance is currently tied to the density of its rule libraries. Future work involves expanding the set of optimizing rules and sentence structure classes to improve output quality. Additionally, while highly effective for the weather domain, adapting the system to other fields like financial reporting would require the development of new domain-specific schema and grammar libraries. The system is currently moving toward real-world testing in forecasting environments.
Summary updated