Tiếp theoHướng dẫn tiếp theo
Trộn tiềm ẩn và nội suy hình ảnh
AI trực quan
HƯỚNG DẪN AI trực quan
VQ-VAE encodes inputs into discrete codebook indices and reconstructs them through a decoder.
Nghe hướng dẫn nàyAI thuật lại · ~2 min
Learned discrete latents can provide compact token sequences for downstream generative models.
Neural Discrete Representation Learning introduces VQ-VAE, whose encoder outputs discrete codes rather than the continuous latent variables of a standard VAE, with a learned prior over codes. The straight-through estimator carries encoder gradients through quantization, and the objective includes codebook and commitment terms. VQGAN combines vector quantization with perceptual and adversarial training and studies image compression/synthesis. These are particular model designs, not a guarantee that discrete codes preserve all information.
An encoder maps an input to a continuous latent vector that is quantized to a codebook entry.
A decoder reconstructs the input from selected codebook vectors.
DALL·E used a discrete VAE image tokenizer before an autoregressive Transformer prior.
VQGAN adds perceptual and adversarial losses in a specific image-tokenization method.
Compare codebook utilization, reconstruction quality and downstream performance for the target data. Report the tokenizer, codebook and objective, since results depend on representation and training choices. The cited sources do not establish that discrete latents are always superior to continuous representations.
Bản tin miễn phí
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
VQ-VAE encodes inputs into discrete codebook indices and reconstructs them through a decoder. Learned discrete latents can provide compact token sequences for downstream generative models.
VQ-VAE thay thế các giá trị tiềm ẩn liên tục bằng các mã rời rạc được rút ra từ sách mã đã học thông qua lượng tử hóa vectơ.
Công cụ ước tính xuyên suốt sao chép trực tiếp gradient đầu vào của bộ giải mã sang đầu ra của bộ mã hóa, coi lượng tử hóa là nhận dạng cho quá trình truyền ngược.
Sự sụp đổ của sổ mã xảy ra khi mô hình chỉ dựa vào một vài mã, lãng phí phần lớn sổ mã và làm ảnh hưởng đến tính đa dạng.
Các chỉ số rời rạc tạo thành một vốn từ vựng hữu hạn, do đó các mô hình trình tự như Transformers có thể học và lấy mẫu phân phối của chúng giống như các từ.
VQGAN tăng cường VQ-VAE bằng tính năng phân biệt đối xử và giảm nhận thức, mang lại mã thông báo được tái tạo sắc nét hơn, chi tiết hơn.
Tiếp tục học hỏi
Đã chọn thêm hướng dẫn cho chủ đề này
Tiếp theoHướng dẫn tiếp theo
Trộn tiềm ẩn và nội suy hình ảnh
AI trực quan