首页›The Gradient›文章

Do text embeddings perfectly encode text?

Jack Morris · 2024年3月5日

AI 摘要 AI 生成,可能有误

本文探讨了文本嵌入——即用于RAG系统和向量数据库中的向量——能否被逆向还原为原始文本,由此引发了隐私和安全方面的担忧,因为存储的嵌入可能泄露其源文档。作者介绍了vec2text,这是一种迭代的"学习式优化"方法,可在嵌入空间中不断改进假设文本,成功精确还原了92%的32词元序列,BLEU分数达到97。这些发现表明嵌入并非一种安全的存储格式,并激发了对嵌入可逆性极限以及抗逆向还原模型的后续研究。

The rise of the vector database

As a result of the rapid advancement of generative AI in recent years, many companies are rushing to integrate AI into their businesses. One of the most common ways of doing this is to build AI systems that answer questions concerning information that can be found within a database of documents. Most solutions for such a problem are based on one key technique: Retrieval Augmented Generation (RAG).

Overview of a RAG system.‌ ‌Source: “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks”
继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 The Gradient

After Orthogonality: Virtue-Ethical Agency and AI Alignment

AI 摘要This essay argues that rational agency—human or artificial—should not be understood in terms of final goals or consequentialist optimization, but through 'eudaimonic rationality,' in which actions are aligned to self-structuring networks of practices. It contends that core AI-safety desiderata like transparency, harmlessness, and corrigibility are natural and stable when treated as virtue-like, always-on practices, but brittle and unnatural when interpreted as goals or rules. The author concludes that many classical alignment paradoxes stem from assuming goal-driven optimizers, and that instilling AIs with eudaimonic rationality offers a more natural, robust, and safer target for alignment.

AGI Is Not Multimodal

AI 摘要The article argues that multimodal approaches built on scaled large language models will not achieve human-level AGI, because LLMs likely learn vast collections of syntactic heuristics for predicting tokens rather than genuine world models, giving them only a superficial understanding of reality. It contends that true AGI requires grounded, embodied intelligence capable of solving physical problems like sensorimotor reasoning and motion planning, which cannot be reduced to symbol manipulation. The author advocates treating embodiment and environmental interaction as primary, viewing modality-specific processing as emergent, rather than patching together massive modular networks.

Shape, Symmetries, and Structure: The Changing Role of Mathematics in Machine Learning Research

AI 摘要The article argues that although compute-driven empirical advances have recently outpaced mathematically principled approaches in machine learning—echoing the 'Bitter Lesson'—mathematics remains highly relevant, with its role shifting from providing theoretical guarantees and guiding granular design toward post-hoc explanation of empirical phenomena and higher-level choices like matching architectures to data symmetries. This shift toward scale has broadened the applicable mathematical toolkit, bringing 'pure' fields such as topology, geometry, and algebra into machine learning to help characterize high-dimensional objects like model weights, hidden activations, and datasets that defy visual intuition. Examples such as intrinsic dimension illustrate how these geometric tools can explain generalization, robustness, and other model behaviors that standard performance statistics cannot capture.

What's Missing From LLM Chatbots: A Sense of Purpose

AI 摘要The article argues that although LLM chatbots keep improving on static benchmarks, they lack purposeful, goal-directed multi-turn dialogue, which is essential for genuine human-AI collaboration. It reviews how dialogue systems are built (pretraining, chat formatting, and RLHF) and presents empirical evidence that LLMs quickly drift away from their system prompts over long conversations, creating usability and safety problems. The author proposes treating human-AI interaction as a collaborative game and calls for training methods and benchmarks that emphasize multi-round, intention-driven dialogue.

We Need Positive Visions for AI Grounded in Wellbeing

AI 摘要The article argues that beneficial AI should be concretely grounded in human wellbeing and the health of society, rather than remaining a vague, high-minded ideal. While acknowledging that no consensus definition of wellbeing exists, the authors note that scientifically supported factors like supportive relationships, meaningful work, and positive emotional experiences offer a workable basis for guiding AI research and products. They call for the development of positive visions for an AI-infused society, highlighting foundation models as a critical leverage point that could support wellbeing through new algorithms, wellbeing-based evaluations, and training data.