AI compression algorithm