Abstract
With the rise of "Metaverse" and "Web 3.0", Non-Fungible Token (NFT) has emerged as a kind of pivotal digital asset, garnering significant attention. By the end of March 2024, more than 1.7 billion NFTs have been minted across various blockchain platforms. To effectively locate a desired NFT, conducting searches within a vast array of NFTs is essential. The challenge in NFT retrieval is heightened due to the high degree of similarity among different NFTs, regarding regional and semantic aspects. In this paper, we will introduce a benchmark dataset named "NFT Top1000 Visual-Text Dataset" (NFT1000), containing 7.56 million image-text pairs, and being collected from 1000 most famous PFP NFT collections by sales volume on the Ethereum blockchain. Based on this dataset and leveraging the CLIP series of pre-trained models as our foundation, we propose the dynamic masking fine-tuning scheme. This innovative approach results in a 7.4% improvement in the top1 accuracy rate, while utilizing merely 13% of the total training data (0.79 million vs. 6.1 million). We also propose a robust metric Comprehensive Variance Index (CVI) to assess the similarity and retrieval difficulty of visual-text pairs data.
Introduction: The Challenge of Fine-Grained Similarity
As the digital landscape evolves toward the "Metaverse," the volume of Non-Fungible Tokens (NFTs) has exploded. However, finding a specific asset within these massive collections remains a significant hurdle for standard AI models. The primary difficulty lies in the "algorithmic" nature of popular Profile Picture (PFP) collections. Projects like Bored Ape Yacht Club or Azuki are generated by combining a fixed set of components—such as hats, glasses, and clothing—onto a base character.
This results in extreme fine-grained similarity. While traditional computer vision datasets focus on broad category distinctions (e.g., "cat" vs. "dog"), NFT retrieval requires distinguishing between nearly identical candidates that differ only by a single trait. Standard pre-trained models like CLIP often fail in this domain, showing nearly 0% Top-1 accuracy on NFT test sets before specialized fine-tuning.
The NFT1000 Dataset
To address this gap, the researchers introduced NFT1000, the first large-scale cross-modal dataset specifically designed for NFT retrieval.
The dataset comprises 7.56 million image-text pairs (1.75TB) collected from the top 1,000 Ethereum collections by sales volume. It includes diverse artistic styles, from 3D rendered images and pixel art to 2D flat illustrations. A smaller subset, NFT1000mini, was also created for rapid experimentation and ablation studies.
Methodology: Dynamic Masking and CVI
The authors propose three key innovations to improve retrieval performance:
- Component Separation: By leveraging JSON metadata and image differencing, the researchers isolated individual traits. This allows the model to understand the specific visual contribution of a "red hat" versus a "blue hat" on the same base character.
- Dynamic Masking Fine-Tuning: Standard fine-tuning often fails to capture these local nuances. The proposed scheme probabilistically masks specific components in an image during training and removes the corresponding tags from the caption. This forces the model to align the remaining text with the unmasked visual features, preventing it from over-relying on global semantics.
- Comprehensive Variance Index (CVI): To quantitatively assess retrieval difficulty, the authors developed CVI. This metric uses the variance in cosine similarity distributions of embeddings to provide a robust measure of how "similar" (and thus difficult to distinguish) a dataset is.
Key Results and Insights
The results demonstrate the power of targeted fine-tuning over sheer data volume. The dynamic masking scheme achieved a 7.44% increase in Top-1 accuracy for the CLIP-ViT-L-14 model. Remarkably, this performance was achieved using only 13% of the training data (0.79 million pairs) compared to standard fine-tuning on the full 6.1 million pair set.
The study also identified the "Abstract Description" hurdle: when NFT metadata consists of cryptic or artistic descriptions rather than literal visual traits, text-to-image retrieval performance hits a ceiling. This suggests a need for future work in bridging the gap between artistic intent and visual representation.
Conclusion
NFT1000 establishes a new benchmark for fine-grained cross-modal retrieval in the Web 3.0 era. By providing a massive, high-similarity dataset and innovative training schemes, this work paves the way for more effective digital asset management and potentially more controllable Generative AI models for digital art.
Summary updated