Continual Learning for Food Category Classification Dataset: Enhancing Model Adaptability and Performance
Organizations: School of Computer Engineering, KIIT University, Bhubaneshwar, India
Abstract
Conventional machine learning pipelines often struggle to recognize categories absent from the original trainingset. This gap typically reduces accuracy, as fixed datasets rarely capture the full diversity of a domain. To address this, we propose a continual learning framework for text-guided food classification. Unlike approaches that require retraining from scratch, our method enables incremental updates, allowing new categories to be integrated without degrading prior knowledge. For example, a model trained on Western cuisines could later learn to classify dishes such as dosa or kimchi. Although further refinements are needed, this design shows promise for adaptive food recognition, with applications in dietary monitoring and personalized nutrition planning.
Figures & tables
| Parameter | Value |
|---|---|
| TF-IDF max features | 5000 |
| Batch size | 32 |
| Epochs | 100 |
| Optimizer | Adam |
| Loss function | Binary Crossentropy |
| Hidden layer sizes | 64, 32 |
| Model | Accuracy | Loss | Error (MAE) | Precision | Recall | F1 Score | AUC |
|---|---|---|---|---|---|---|---|
| Logistic Regression | 98.63% 0.16% | 0.00365 0.00164 | 0.00365 0.00164 | 98.44% 0.27% | 98.83% 0.06% | 98.63% 0.16% | 98.98% 0.01% |
| Random Forest | 98.89% 0.01% | 0.00107 0.00010 | 0.00107 0.00010 | 98.84% 0.06% | 98.03% 0.05% | 98.09% 0.01% | 98.99% 0.01% |
| SVM | 99.13% 0.01% | 0.00064 0.00034 | 0.00064 0.00034 | 99.88% 0.06% | 99.19% 0.01% | 99.03% 0.03% | 99.12% 0.01% |
| KNN | 96.22% 0.21% | 0.03779 0.00217 | 0.03779 0.00217 | 92.97% 0.37% | 100.00% 0.01% | 96.35% 0.20% | 98.74% 0.09% |
| Proposed Model | 98.38% 2.32% | 0.39695 0.07372 | 0.01469 0.02185 | 96.90% 1.35% | 99.36% 0.14% | 98.11% 01.35% | 98.08% 0.69% |
Continual Learning
Continual Learning studies how models acquire knowledge from changing data streams while retaining or selectively revising what they learned before.
See all 304 papers