HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

To be Continuous, or to be Discrete, Those are Bits of Questions

Yiran Wang; Masao Utiyama

To be Continuous, or to be Discrete, Those are Bits of Questions

Abstract

Recently, binary representation has been proposed as a novel representation that lies between continuous and discrete representations. It exhibits considerable information-preserving capability when being used to replace continuous input vectors. In this paper, we investigate the feasibility of further introducing it to the output side, aiming to allow models to output binary labels instead. To preserve the structural information on the output side along with label information, we extend the previous contrastive hashing method as structured contrastive hashing. More specifically, we upgrade CKY from label-level to bit-level, define a new similarity function with span marginal probabilities, and introduce a novel contrastive loss function with a carefully designed instance selection strategy. Our model achieves competitive performance on various structured prediction tasks, and demonstrates that binary representation can be considered a novel representation that further bridges the gap between the continuous nature of deep learning and the discrete intrinsic property of natural languages.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
constituency-parsing-on-ctb5Hashing + Bert
F1 score: 92.33
constituency-parsing-on-penn-treebankHashing + XLNet
F1 score: 96.43
constituency-parsing-on-penn-treebankHashing + Bert
F1 score: 96.03
nested-named-entity-recognition-on-ace-2004Hashing
F1: 87.93
nested-named-entity-recognition-on-ace-2005Hashing
F1: 85.90
nested-named-entity-recognition-on-geniaHashing
F1: 80.54

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
To be Continuous, or to be Discrete, Those are Bits of Questions | Papers | HyperAI