Knowledge Acquisition Approach Based on Rough Set in Online Aided Decision System for Food Processing Quality and Safety

Peng Liu, Wen Liu, Qiang Li, Yang Li, Min Duan, Yue Dai

Abstract

For the problem that the use effect of food processing information system is poor due to absence of knowledge acquisition measures and knowledge self-updating function, a knowledge acquisition approach based on rough set is put forward. First, the approach establishes a set of predicted samples for the relationship between food processing parameters and product quality; then uses the discretization of continuous attribute, attribute reduction and rule extraction algorithm of rough set to acquire automatically predicted knowledge from a large number of predicted sample sets, and then saves the predicted knowledge in the knowledge base of expert system; finally, realizes the extraction of knowledge of food processing process based on the inference engine, which greatly enhances the effectiveness and practicality of the acquired knowledge in online aided decision system of the food processing quality and safety.

Introduction

In modern food production, ensuring safety and quality requires monitoring a massive volume of variables across multiple processing stages. While many factories have implemented information systems, these systems are often static, lacking the ability to automatically learn new patterns or update internal logic as production conditions evolve. This creates a "knowledge acquisition bottleneck," where expert systems are limited by manually programmed rules that may fail to capture complex, non-linear relationships between processing parameters and final product quality.

Methodology

To address this, a multi-stage approach based on Rough Set Theory is proposed. Rough Set Theory is a mathematical tool specifically designed to handle imprecise or incomplete information without requiring prior knowledge about the data distribution.

System Architecture

The framework consists of three primary modules: Rough Set Knowledge Acquisition, the Knowledge Base, and the Inference Engine. The acquisition module processes raw data through discretization and attribute reduction to generate concise rules. These rules are then stored in the knowledge base and utilized by the inference engine to provide real-time decision support.

The proposed framework for Rough Set-based knowledge acquisition and inference.

Key Algorithmic Steps

  1. Data Discretization: Continuous sensor data (e.g., temperature or acidity) is grouped into discrete intervals (e.g., "Low," "Medium," "High") to facilitate rule extraction.
  2. Attribute Reduction: Redundant variables that do not significantly impact the final outcome are identified and removed, simplifying the decision model.
  3. Rule Extraction: A heuristic mining algorithm generates "If-Then" rules from the reduced attribute set.
  4. Knowledge Evaluation: A custom evaluation function called assessfunc (upgrading degree) is introduced. This metric measures how well a specific condition predicts a decision category, helping the system prioritize the most potent rules over standard certainty and coverage scores.

Experimental Evaluation

The approach was validated using a real-world dataset from a dairy plant in Hebei Province, China, focusing on fermented milk production. The study tracked five parameters: milk protein content (A1), milk fat content (A2), acidity (A3), total bacterial count (A4), and sterilization temperature (A5). The target output (R) was the protein content of the final fermented milk. A total of 584 samples were used, with 414 for training and 170 for testing.

Results and Discussion

Through attribute reduction, the system identified that only three parameters—milk protein (A1), milk fat (A2), and bacterial count (A4)—were essential for quality prediction. Parameters such as acidity and sterilization temperature were found to be redundant for this specific model, allowing for a leaner and faster inference process.

Test results demonstrating the high accuracy and efficiency of the extracted rules.

The experimental results demonstrated high efficiency and precision. The system condensed hundreds of data points into just three core classification rules. When applied to the test set, the system achieved a 97.14% rule matching rate, correctly identifying the quality law for 136 out of 140 instances in the final test phase.

Conclusion

This Rough Set-based framework effectively transforms historical production data into an intelligent knowledge base. By automating rule acquisition and providing a mechanism for self-updating, the system reduces reliance on manual oversight and improves the reliability of online decision support in food processing. Future work will focus on scaling this approach to multi-ingredient processed foods and further automating the verification of newly discovered rules through human-in-the-loop integration.

Summary updated

BibTeX
@article{liu2014knowledge,
  author = {Peng Liu and Wen Liu and Qiang Li and Yang Li and Min Duan and Yue Dai},
  title = {{Knowledge Acquisition Approach Based on Rough Set in Online Aided Decision System for Food Processing Quality and Safety}},
  journal = {International Journal of u- and e- Service Science and Technology},
  year = {2014},
  doi = {10.14257/ijunesst.2014.7.6.33},
}
Figure