DOI : 10.5281/zenodo.24715731
- Open Access

- Authors : Rahul B, Narasimha, Shwetha L, Vikas V, Prajwal M
- Paper ID : IJERTV15IS111772
- Volume & Issue : Volume 15, Issue 11 , November – 2026
- Published (First Online): 01-12-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
System and Method for Ai-Driven Sustainable Product Lifecycle Optimization
Rahul B
Dept. of Computer Science and Engineering New Horizon College of Engineering Bengaluru, India
Narasimha
Dept. of Computer Science and Engineering New Horizon College of Engineering Bengaluru, India
Shwetha L
Dept. of Computer Science and Engineering New Horizon College of Engineering Bengaluru, India
Vikas V
Dept. of Computer Science and Engineering New Horizon College of Engineering Bengaluru, India
Prajwal M
Dept. of Computer Science and Engineering New Horizon College of Engineering Bengaluru, India
Abstract – The escalating global challenge of electronic and consumer waste demands scalable tools for circular-economy decisions. This paper presents EcoCircle, a four-phase machine learning (ML) pipeline that converts a product photograph and basic user-supplied metadata into a reuse, repair, recycle or donate recommendation. It combines zero-shot vision (CLIP, a YOLOv8-based damage heuristic, EasyOCR), supervised scoring models (a hybrid life-cycle-assessment and gradient-boosted carbon estimator, an XGBoost resale model, an XGBoost eco-trend classifier), Sentence-BERT matching of items to non-governmental organizations (NGOs), and a Gemini
2.5 Flash synthesis step restricted to citing, not re-estimating, upstream numbers. On a 1,200-item evaluation set the full pipeline reaches 91.4% action accuracy. Phases 12 take 2.6 s and the complete pipeline, including the LLM call, takes 4.5 s; NGO matching takes 12 ms on average (89 ms at the 95th percentile). Grounding reduces the carbon-estimate deviation of the LLM output from 287% to 4.2% relative to unconstrained prompting. We report component-level ablations, describe the data protocol, and discuss limitations, notably synthetic training data for two models and the absence of independent real-world validation.
Keywordscircular economy; machine learning pipeline; computer vision; carbon footprint estimation; semantic matching; large language model grounding.
-
INTRODUCTION
Product reuse, repair and recycling are central to reducing the emissions embedded in materials and goods [1]. Yet 53.6 million metric tons of e-waste were generated worldwide in 2019, of which only 17.4% was documented as formally collected and recycled [2]. At the point of disposal, individuals and small organizations have no accessible tool to choose among reuse, repair, recycling and donation, or to find an NGO that needs the item.
Existing AI work for the circular economy addresses a single decision step, such as sorting or condition grading of garments
[3][5] or quality scoring of appliances [6]. It does not connect condition assessment to quantified carbon and resale estimates or to donation routing. Foundation models such as CLIP [7], YOLOv8 [8] and large language models (LLMs) [9] make an end- to-end system feasible, but LLMs are prone to hallucinating numerical facts [10].Novelty. The individual components are existing models. Our contribution is their integration into a decision pipeline in which each phase constrains the next, together with an evaluation that isolates what each component adds. Specifically:
-
A four-phase pipeline of nine modules (M1M9) in which vision outputs feed supervised carbon and resale scoring, urgency-aware NGO routing and a final LLM explanation, with fallbacks when a module is unavailable.
-
Grounded synthesis: the LLM may only cite the carbon and resale figures computed by M5 and M6. This reduces carbon- estimate deviation from 287% to 4.2% against unconstrained prompting (Section V-E).
-
An urgency-weighted semantic NGO matching rule (Eq. 1), compared with a TF-IDF baseline (Section V-D).
-
A component-level ablation, an explicit data protocol, a configuration table for reproducibility and a candid statement of limitations (Sections IVVI).
Section II reviews related work, Section III describes the architecture, Section IV the models, Section V the evaluation, and Section VI limitations. Section VII concludes.
-
-
RELATED WORK
-
Condition assessment and sorting
AI for reuse is most developed for textiles. A systematic review of
49 studies [3] finds CNN-based sorting and defect detection dominant but datasets small and narrow. Tian et al. [4] classify post-consumer garments with attention-based machine vision, and Riba et al. [5] combine near-infrared spectroscopy with deep learning to classify textile waste by fibre. For appliances, Koch and Chavan [6] score the visual quality of large white goods in remanufacturing to support triage and pricing. YOLO-family detectors are widely used for defects [11]. These approaches need labelled, category-specific data, whereas CLIP [7] offers category- agnostic zero-shot recognition, which we adopt.
-
Carbon and resale estimation
Life cycle assessment (LCA) databases such as ecoinvent [12] give product-level inventories that consumers cannot supply, so emission-factor tables [13] are a practical fallback. Tree ensembles [14], [15] are strong learners on tabular data; we use them to refine table-based carbon estimates (M5) and to value second-hand goods (M6).
-
Semantic matching and LLM grounding
Sentence-BERT [16] and its distilled MiniLM variants [17] allow bi-encoder semantic search with cached embeddings, which we compare with TF-IDF [18]. LLMs hallucinate [10]; retrieval- augmented generation [19] and structured prompting [20] mitigate this by supplying evidence in the prompt. Our narrowed synthesis step goes further by forbidding the LLM from producing quantities that upstream models already compute.
TABLE I
COMPARISON WITH REPRESENTATIVE PRIOR WORK
Work
Domain
Reported output
Review [3]
Textiles
Survey of CNN sorting and defect detection
Tian et al. [4]
Garments
Garment category for sorting
Riba et al. [5]
Textile waste
Fibre class (NIR + deep learning)
Koch, Chavan [6]
White goods
Visual quality score for triage, pricing
EcoCircle
Consumer
goods
Action, CO2e, resale value, NGO match, explanation
To our knowledge, none of these reports condition, carbon, resale value, NGO routing and a grounded explanation within one pipeline. Conversely, they use fine-tuned, domain-specific models and larger labelled sets, so EcoCircle trades condition-assessment accuracy (Section V-B) for breadth and end-to-end coverage.
-
-
SYSTEM ARCHITECTURE
-
Overview and inputs
EcoCircle is a Flask REST service with an orchestrator, a model registry in which every module exposes an availability check and a typed prediction call, route modules for AI, donation and dashboard endpoints, a SQLite data layer, and a browser dashboard (Chart.js, Socket.IO, Leaflet.js). Fig. 1 shows the data flow.
Each request contains one or more product photographs and a short form. Quantities that cannot be readfrom an image (purchase price, age in years, weight and the candidate disposal action) are supplied through the form; category, material, condition and brand come from M1M4.
Fig. 1. EcoCircle architecture. M1M4 and M5M7 run in parallel within their phase; phases run in sequence.
-
Concurrency and latency definitions
Modules within Phases 1 and 2 execute in parallel threads (Python ThreadPoolExecutor). End-to-end latency is the mean wall-clock time from receipt of the request, after image upload, to the final JSON response. We report it for four configurations in Table VIII. On a CPU-only dual-core server, Phases 12 take 2.6 s with threaded execution versus 8.3 s sequentially (3.2×).
-
Graceful degradation
If a modules dependency or artifact is unavailable, it returns a typed fallback (LCA lookup table for M5, a depreciation formula for M6, TF-IDF for M8, template text for M9) so that a request still returns a lower-quality result. We did not measure service availability and make no uptime claim.
-
-
MODEL PIPELINE
Phase 1 (M1M4). M1 is zero-shot CLIP (ViT-B/32) over 15 product categories (about 420 ms on CPU). M2 runs YOLOv8n (3.2 M parameters, COCO-pretrained [21]) to localize the product and then estimates damage severity (none, minor, moderate, severe) from three within-box image statistics with fixed thresholds: gradient variance (cracks, scratches), saturation drop (staining) and dark-pixel ratio (burn, wear). M3 uses EasyOCR
[22] with a 200-brand lexicon and a model-number pattern. M4 is zero-shot CLIP over 16 material classes and returns a label, confidence, CO2 factor and recyclability score.Phase 2 (M5M7). M5 combines an LCA estimate from emission-factor tables [13] indexed by (category, material) with a gradient boosted regressor (GBR) on category, material, weight and action; it is trained on 5,000 synthetic LCA points and 800 real product records. M6 is an XGBoost regressor trained on 8,000 second-hand marketplace records (OLX India, Cashify) using category, brand, age, condition and purchase price. M7 is an XGBoost classifier trained on 3,200 synthetic user activity sequences that predicts the 30-day eco-score trend (rising, stable,
falling) from five activity features (actions, recycled, donated and repaired counts, and recent score trend).
Phase 3 (M8). M8 embeds the item query with all-MiniLM-L6-v2 (384-d), a Sentence-Transformers model [16] built on the MiniLM architecture [17], and ranks NGOs by
score(q, n) = (1 ) · cos(eq, en) + · urgency(n) (1)
where q is the item query, n is an NGO profile, eq and en are their 384-d embeddings, cos(eq, en) = eq·en / (eq en) is the cosine similarity, = 0.35 weights urgency, and urgency(n) [0, 1] is the normalized urgency stored in each NGO profile. The twelve NGOs are in Bengaluru. TF-IDF [18] keyword overlap is the fallback.
Phase 4 (M9). Gemini 2.5 Flash receives the structured outputs of M1M8 and is instructed to (1) cite M5 carbon figures without re- estimating, (2) cite M6 resale figures without re-estimating, (3) justify the eco-score from visual observations and (4) give numbered repair steps with INR cost ranges where repair is recommended. A text-only endpoint (POST /api/ai/synthesize) supports requests without images.
TABLE II
MODULE CONFIGURATIONS
Module
Model / setting
Training data
M1
CLIP ViT-B/32, zero-shot, 15 classes
Pretrained
M2
YOLOv8n; fixed severity thresholds
COCO-pretrained
M3
EasyOCR (English), 200-brand lexicon
Pretrained
M4
CLIP ViT-B/32, zero-shot, 16 materials
Pretrained
M5
LCA table + GBR
5,000 synthetic + 800 real
M6
XGBoost regressor
8,000 marketplace records
M7
XGBoost classifier, 3 classes
3,200 synthetic sequences
M8
all-MiniLM-L6-v2, = 0.35
Pretrained; 12 NGO profiles
M9
Gemini 2.5 Flash, constrained prompt
Hosted API
All experiments ran on a CPU-only dual-core server. Tree-model hyperparameters were left at library defaults and the random seed was fixed to 42.
-
EXPERIMENTAL EVALUATION
-
Dataset, labels and protocol
The evaluation set has 1,200 items from the sources in Table III. Three sustainability experts annotated the recommended action, carbon saved and resale value (inter-annotator agreement = 0.81 [23]). The carbon and resale labels are expert estimates, not measured emissions or realized sale prices, and are therefore proxies. Image-module metrics (Table IV) use the items for which photographs were available.
TABLE III
Category
Items
Source
Electronics (laptops, phones)
340
OLX India + Cashify
Clothing & textiles
280
Donated item descriptions
Furniture
180
Second-hand marketplace
Books & stationery
220
Library discard catalogs
Toys & games
180
NGO donation records
Total
1,200
Mixed
EVALUATION DATASET COMPOSITION
rate of the predicted action (reuse, repair, recycle, donate) with the expert label. For configurations without M5M9 the action is assigned from the CLIP category by a category-default rule.
-
Phase 1 results
TABLE IV
PHASE 1 MODEL PERFORMANCE
Module
Metric
Score
M1 CLIP category
Top-1 accuracy
84.3%
M1 CLIP category
Top-3 accuracy
96.1%
M2 YOLOv8 detection
mAP@50
61.7%
M2 damage severity
Severity F1
71.4%
M3 EasyOCR brand
Precision / recall
88.2% / 79.6%
M4 material classifier
Top-1 accuracy
78.9%
M1 top-3 accuracy of 96.1% matters because downstream models use soft category probabilities. The M2 severity F1 of 71.4% is the weakest result. Severity labels use a four-level scale (none, minor, moderate, severe) assigned by the same three annotators. The thresholds in Section IV are fixed heuristics, not tuned per category, and we report no learned baseline; M2 severity should be read as a preliminary heuristic and fine-tuning on labelled damage images is the first item of future work.
-
Phase 2 results
Fig. 2. Phase 2 scores on a common 01 scale (R² for M5, M6; cross- validated accuracy for M7). Error values are in Table V.
TABLE V
PHASE 2 SUPERVISED MODEL PERFORMANCE
Model
Metric
Full model
Gain vs. rule baseline
M5
MAE (kg COe) / R²
34% MAE
M6
MAE () / R²
1,247 / 0.986
41% MAE
M7
5-fold accuracy
93.2%
+18.4%
The M5 R² is computed on a held-out 20% split of the combined synthetic and real pool. Because most of that pool is synthetic, R² mainly measures agreement with the LCA-based generator, not real-world variance. We therefore present M5 as a refinement of table-based LCA values, not as a validated predictor of real emissions. M7 is trained entirely on synthetic sequences, so its accuracy is a functional check, not evidence of real-user predictive power. Independent real-world validation is future work (Section VI).
-
Phase 3 results
M5 and M6 are evaluated on a held-out 20% split of their training pools (M7 by 5-fold cross-validation). The 1,200 evaluation items were kept disjoint from all training records, and OLX/Cashify evaluation items were excluded from the 8,000 M6 training records to prevent leakage. Action accuracy is the exact-match
TABLE VI
Metric
SBERT (M8)
TF-IDF
Improvement
Mean cosine sim.*
0.627
0.271
+131%
Top-1 match rate
89.3%
74.1%
+20.5%
Avg. latency
12 ms
4 ms
95th pct. latency
89 ms
9 ms
NGO MATCHING PERFORMANCE
*Cosine similarity is computed in different vector spaces (SBERT vs. TF-IDF) and is not directly comparable, so we base the comparison on the top-1 match rate. Top-1 matching over 12 NGOs has a chance level of 8.3%. TF-IDF is faster, but it fails on brand-name vocabulary mismatches that SBERT resolves; SBERT latency is dominated by query encoding because NGO embeddings are cached.
-
Phase 4 results
TABLE VII
GROUNDED VS. UNCONSTRAINED GEMINI SYNTHESIS
Metric
Narrowed M9
Unconstrained
Carbon est. deviation
4.2%
287%
Resale est. deviation
8.7%
341%
Repair-tip actionability
4.3 / 5
2.8 / 5
Justification quality
4.1 / 5
3.2 / 5
Response latency
1.8 s
1.9 s
Three annotators rated repair-tip actionability and justification quality on a 15 scale (inter-annotator agreement = 0.76). Deviations are lower for the narrowed prompt largely because its figures are copied from M5 and M6 by construction. The number of rated outputs is not large, which is a limitation.
-
End-to-end performance and ablation
TABLE VIII
END-TO-END LATENCY AND ACCURACY
Configuration
Latency (s)
Action accuracy
M1 only (CLIP)
0.42
71.2%
Phases 12
2.6
88.7%
Phases 13
2.7
88.7%
Full (Phases 14)
4.5
91.4%
The full pipeline gains 20.2 points (28.4% relative) over M1 alone. Phase 3 adds NGO routing without changing action accuracy, and Phase 4 adds explanation and a further 2.7 points.
TABLE IX
COMPONENT ABLATION (SINGLE SUBSTITUTIONS)
Substitution
Metric
Full system
Ablated variant
M5 rule-based LCA
MAE (kg)
0.18
0.27
M6 depreciation rule
MAE ()
1,247
2,113
M8 TF-IDF
Top-1 match
89.3%
74.1%
M9 unconstrained
Carbon dev.
4.2%
287%
Drop Phases 34
Accuracy
91.4%
88.7%
Drop M2M9
Accuracy
91.4%
71.2%
Table IX compiles the single-component comparisons measured in Sections V-B to V-F; values marked are derived from the reported relative gains. It is not a full factorial ablation, and we report point estimates without confidence intervals.
-
-
DISCUSSION AND LIMITATIONS
Validation and ground truth. M5 and M7 rely on synthetic training data, and carbon and resale labels are expert estimates. Results are point estimates from a single evaluation set; no independent real-world validation or statistical testing has been done. These are the main threats to validity.
Damage assessment. Severity uses heuristic image statistics with an F1 of 71.4%; fine-tuning YOLOv8 on labelled damage images should replace the heuristic.
Scope and tuning. The NGO set covers 12 organizations in Bengaluru, and = 0.35 was not subjected to a sensitivity
analysis. Resale values are India-specific (INR). M5 confidence intervals are not yet shown to users, and model artifacts are retrained offline.
Privacy, ethics and fairness. Images are processed for the request and not stored beyond it, in line with Indias DPDP Act [24] and the GDPR [25] principles of minimization. Urgency weighting could disadvantage organizations that report less actively, and the India-centric market data limits transfer to other regions.
-
CONCLUSION
EcoCircle integrates vision, carbon and resale scoring, NGO routing and a grounded LLM into one pipeline. The full pipeline reaches 91.4% action accuracy at 4.5 s per request, and grounding cut carbon-estimate deviation from 287% to 4.2%. The evidence is limited by synthetic training data, proxy ground truth and the lack of independent validation. Future work will fine- tune YOLOv8 on damage data, validate M5 and M6 on independent real-world records, and extend the NGO network.
REFERENCES
-
Ellen MacArthur Foundation, Completing the Picture: How the Circular Economy Tackles Climate Change, 2019.
-
V. Forti, C. P. Baldé, R. Kuehr, and G. Bel, The Global E- waste Monitor 2020, UNU/UNITAR/ITU/ISWA, Bonn, Geneva, Rotterdam, 2020.
-
H. Nisa, R. Van Amber, J. English, S. Islam, G. McCorkill, and A. Alavi, A systematic review of reimagining fashion and textiles sustainability with AI: A circular economy approach, Appl. Sci., vol. 15, no. 10, Art. 5691, 2025.
-
R. Tian, Z. Lv, Y. Fan, T. Wang, M. Sun, and Z. Xu, Qualitative classification of waste garments for textile recycling based on machine vision and attention mechanisms, Waste Manag., vol. 183, pp. 7486, 2024.
-
J. R. Riba, R. Cantero, P. Riba-Mosoll, and R. Puig, Post- consumer textile waste classification through near-infrared spectroscopy, using an advanced deep learning approach, Polymers, vol. 14, no. 12, Art. 2475, 2022.
-
P. Koch and V. Chavan, Visual quality score assessment of large white goods in remaufacture with multi-view Deformable- DETR, arXiv:2606.14556, 2026.
-
A. Radford et al., Learning transferable visual models from natural language supervision, in Proc. ICML, vol. 139, 2021, pp. 87488763.
-
G. Jocher, A. Chaurasia, and J. Qiu, Ultralytics YOLOv8, 2023. [Online]. Available: https://github.com/ultralytics/ultralytics
-
T. Brown et al., Language models are few-shot learners, in Proc. NeurIPS, vol. 33, 2020, pp. 18771901.
-
Z. Ji et al., Survey of hallucination in natural language generation, ACM Comput. Surv., vol. 55, no. 12, pp. 138, 2023.
-
S. Ma, Y. Liu, and Y. Zhang, Fabric defect detection based on improved lightweight YOLOv8n, Appl. Sci., vol. 14, no. 17, Art. 8000, 2024.
-
G. Wernet et al., The ecoinvent database version 3 (part I): Overview and methodology, Int. J. Life Cycle Assess., vol. 21, no. 9, pp. 12181230, 2016.
-
IPCC, Climate Change 2021: The Physical Science Basis. Contribution of Working Group I to the Sixth Assessment Report. Cambridge, U.K.: Cambridge Univ. Press, 2021.
-
T. Chen and C. Guestrin, XGBoost: A scalable tree boosting system, in Proc. ACM SIGKDD, 2016, pp. 785794.
-
J. H. Friedman, Greedy function approximation: A gradient boosting machine, Ann. Statist., vol. 29, no. 5, pp. 11891232, 2001.
-
N. Reimers and I. Gurevych, Sentence-BERT: Sentence embeddings using Siamese BERT-networks, in Proc. EMNLP- IJCNLP, 2019, pp. 39823992.
-
W. Wang, F. Wei, L. Dong, H. Bao, N. Yang, and M. Zhou, MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers, in Proc. NeurIPS, vol. 33, 2020, pp. 57765788.
-
G. Salton and C. Buckley, Term-weighting approaches in automatic text retrieval, Inf. Process. Manag., vol. 24, no. 5, pp. 513523, 1988.
-
P. Lewis et al., Retrieval-augmented generation for knowledge-intensive NLP tasks, in Proc. NeurIPS, vol. 33, 2020,
pp. 94599474.
-
J. Wei et al., Chain-of-thought prompting elicits reasoning in large language models, in Proc. NeurIPS, vol. 35, 2022.
-
T.-Y. Lin et al., Microsoft COCO: Common objects in context, in Proc. ECCV, 2014, pp. 740755.
-
JaidedAI, EasyOCR, 2020. [Online]. Available: https://github.com/JaidedAI/EasyOCR
-
J. Cohen, A coefficient of agreement for nominal scales, Educ. Psychol. Meas., vol. 20, no. 1, pp. 3746, 1960.
-
Government of India, The Digital Personal Data Protection Act, 2023, Act No. 22 of 2023.
-
European Parliament and Council, General Data Protection Regulation, Regulation (EU) 2016/679, Off. J. Eur. Union, L 119, 2016.
