The paper discusses a particle swarm optimization (PSO) approach for anomaly detection by eliminating data redundancy and rectifying duplication in uncertain data streams. It focuses on improving data quality in real-time systems affected by record duplication and presents experimental results demonstrating that the proposed PSO method outperforms existing techniques in terms of efficiency and effectiveness. The research highlights various applications of anomaly detection, including fraud detection and intrusion detection, and emphasizes the need for accurate, de-duplicated data for improved query results.