Searcharxiv⌕ Search

arXiv subjects

Ting Chen

Publications and source records attributed to Ting Chen.

At least 145 records · Page 8Linked to original sources

STAN: Towards Describing Bytecodes of Smart Contract

More than eight million smart contracts have been deployed into Ethereum, which is the most popular blockchain that supports smart contract. However, less than 1% of deployed smart contracts are open-source, and it is difficult for users to understand the functionality and internal mechanism of those closed-source contracts. Although a few decompilers for smart contracts have been recently proposed, it is still not easy for users to grasp the semantic information of the contract, not to mention the potential misleading due to decompilation errors. In this paper, we propose the first system named STAN to generate descriptions for the bytecodes of smart contracts to help users comprehend them. In particular, for each interface in a smart contract, STAN can generate four categories of descriptions, including functionality description, usage description, behavior description, and payment description, by leveraging symbolic execution and NLP (Natural Language Processing) techniques. Extensive experiments show that STAN can generate adequate, accurate, and readable descriptions for contract's bytecodes, which have practical value for users.

cs.SE↗

Convenient Real-Time Monitoring of the Contamination of Surface Ion Trap

Recent studies indicated that contamination by adatoms on the surface ion trap can generate contact potential, leading to fluctuations in patch potential. By investigating contamination induced by surface adatoms during a loading process, a direct physical image of the contamination process and the relationship between the capacitance change and the contamination from surface adatoms is examined theoretically and experimentally. From the relationship, the contamination by surface adatoms and the effect of in situ treatment process can be monitored by the capacitance between electrodes in real time. This study is foundational to further research on anomalous heating with practical applications in quantum information processing from surface ion traps.

physics.app-ph↗

A Simple Framework for Contrastive Learning of Visual Representations

This paper presents SimCLR: a simple framework for contrastive learning of visual representations. We simplify recently proposed contrastive self-supervised learning algorithms without requiring specialized architectures or a memory bank. In order to understand what enables the contrastive prediction tasks to learn useful representations, we systematically study the major components of our framework. We show that (1) composition of data augmentations plays a critical role in defining effective predictive tasks, (2) introducing a learnable nonlinear transformation between the representation and the contrastive loss substantially improves the quality of the learned representations, and (3) contrastive learning benefits from larger batch sizes and more training steps compared to supervised learning. By combining these findings, we are able to considerably outperform previous methods for self-supervised and semi-supervised learning on ImageNet. A linear classifier trained on self-supervised representations learned by SimCLR achieves 76.5% top-1 accuracy, which is a 7% relative improvement over previous state-of-the-art, matching the performance of a supervised ResNet-50. When fine-tuned on only 1% of the labels, we achieve 85.8% top-5 accuracy, outperforming AlexNet with 100X fewer labels.

cs.LG↗

Differentiable Product Quantization for End-to-End Embedding Compression

Embedding layers are commonly used to map discrete symbols into continuous embedding vectors that reflect their semantic meanings. Despite their effectiveness, the number of parameters in an embedding layer increases linearly with the number of symbols and poses a critical challenge on memory and storage constraints. In this work, we propose a generic and end-to-end learnable compression framework termed differentiable product quantization (DPQ). We present two instantiations of DPQ that leverage different approximation techniques to enable differentiability in end-to-end learning. Our method can readily serve as a drop-in alternative for any existing embedding layer. Empirically, DPQ offers significant compression ratios (14-238$\times$) at negligible or no performance cost on 10 datasets across three different language tasks.

cs.LG↗

Hardy-Littlewood-Sobolev Inequality on Mixed-Norm Lebesgue Spaces

We consider the Hardy-Littlewood-Sobolev inequality on mixed-norm Lebesgue spaces. We give a complete characterization of indices $\vec p$ and $\vec q$ such that the Riesz potential is bounded from $L^{\vec p}$ to $L^{\vec q}$, including all the endpoint cases. As a result, we get the mixed-norm Hardy-Littlewood-Sobolev inequality.

math.CA↗

Are Powerful Graph Neural Nets Necessary? A Dissection on Graph Classification

Graph Neural Nets (GNNs) have received increasing attentions, partially due to their superior performance in many node and graph classification tasks. However, there is a lack of understanding on what they are learning and how sophisticated the learned graph functions are. In this work, we propose a dissection of GNNs on graph classification into two parts: 1) the graph filtering, where graph-based neighbor aggregations are performed, and 2) the set function, where a set of hidden node features are composed for prediction. To study the importance of both parts, we propose to linearize them separately. We first linearize the graph filtering function, resulting Graph Feature Network (GFN), which is a simple lightweight neural net defined on a \textit{set} of graph augmented features. Further linearization of GFN's set function results in Graph Linear Network (GLN), which is a linear function. Empirically we perform evaluations on common graph classification benchmarks. To our surprise, we find that, despite the simplification, GFN could match or exceed the best accuracies produced by recently proposed GNNs (with a fraction of computation cost), while GLN underperforms significantly. Our results demonstrate the importance of non-linear set function, and suggest that linear graph filtering with non-linear set function is an efficient and powerful scheme for modeling existing graph classification benchmarks.

cs.LG↗

Image Augmentations for GAN Training

Data augmentations have been widely studied to improve the accuracy and robustness of classifiers. However, the potential of image augmentation in improving GAN models for image synthesis has not been thoroughly investigated in previous studies. In this work, we systematically study the effectiveness of various existing augmentation techniques for GAN training in a variety of settings. We provide insights and guidelines on how to augment images for both vanilla GANs and GANs with regularizations, improving the fidelity of the generated images substantially. Surprisingly, we find that vanilla GANs attain generation quality on par with recent state-of-the-art results if we use augmentations on both real and generated images. When this GAN training is combined with other augmentation-based regularization techniques, such as contrastive loss and consistency regularization, the augmentations further improve the quality of generated images. We provide new state-of-the-art results for conditional generation on CIFAR-10 with both consistency loss and contrastive loss as additional regularizations.

cs.LG↗

Extension of Multilinear Fractional Integral Operators to Linear Operators on Lebesgue Spaces with Mixed Norms

In [C. E. Kenig and E. M. Stein, Multilinear estimates and fractional integration, Math. Res. Lett., 6(1):1-15, 1999], the following type of multilinear fractional integral \[ \int_{\mathbb{R}^{mn}} \frac{f_1(l_1(x_1,\ldots,x_m,x))\cdots f_{m+1}(l_{m+1}(x_1,\ldots,x_m,x))}{(|x_1|+\ldots+|x_m|)^λ} dx_1\ldots dx_m \] was studied, where $l_i$ are linear maps from $\mathbb{R}^{(m+1)n}$ to $\mathbb{R}^n$ satisfying certain conditions. They proved the boundedness of such multilinear fractional integral from $L^{p_1}\times \ldots \times L^{p_{m+1}}$ to $L^q$ when the indices satisfy the homogeneity condition. In this paper, we show that the above multilinear fractional integral extends to a linear operator for functions in the mixed-norm Lebesgue space $L^{\vec p}$ which contains $L^{p_1}\times \ldots \times L^{p_{m+1}}$ as a subset. Under less restrictions on the linear maps $l_i$, we give a complete characterization of the indices $\vec p$, $q$ and $λ$ for which such an operator is bounded from $L^{\vec p}$ to $L^q$. And for $m=1$ or $n=1$, we give necessary and sufficient conditions on $(l_1, \ldots, l_{m+1})$, $\vec p=(p_1,\ldots, p_{m+1})$, $q$ and $λ$ such that the operator is bounded.

math.CA↗

Bilinear Fractional Integral Operators

We study the bilinear fractional integral considered by Kenig and Stein, where linear combinations of variables with matrix coefficients are involved. Under more general settings, we give a complete characterization of the corresponding parameters for which the bilinear fractional integral is bounded from $L^{p_1}(\mathbb R^{n_1}) \times L^{p_2}(\mathbb R^{n_2})$ to $L^q(\mathbb R^m)$.

math.CA↗

Defining Smart Contract Defects on Ethereum

Smart contracts are programs running on a blockchain. They are immutable to change, and hence can not be patched for bugs once deployed. Thus it is critical to ensure they are bug-free and well-designed before deployment. A Contract defect is an error, flaw or fault in a smart contract that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. The detection of contract defects is a method to avoid potential bugs and improve the design of existing code. Since smart contracts contain numerous distinctive features, such as the gas system. decentralized, it is important to find smart contract specified defects. To fill this gap, we collected smart-contract-related posts from Ethereum StackExchange, as well as real-world smart contracts. We manually analyzed these posts and contracts; using them to define 20 kinds of contract defects. We categorized them into indicating potential security, availability, performance, maintainability and reusability problems. To validate if practitioners consider these contract as harmful, we created an online survey and received 138 responses from 32 different countries. Feedback showed these contract defects are harmful and removing them would improve the quality and robustness of smart contracts. We manually identified our defined contract defects in 587 real world smart contract and publicly released our dataset. Finally, we summarized 5 impacts caused by contract defects. These help developers better understand the symptoms of the defects and removal priority.

cs.SE↗

SimGNN: A Neural Network Approach to Fast Graph Similarity Computation

Graph similarity search is among the most important graph-based applications, e.g. finding the chemical compounds that are most similar to a query compound. Graph similarity computation, such as Graph Edit Distance (GED) and Maximum Common Subgraph (MCS), is the core operation of graph similarity search and many other applications, but very costly to compute in practice. Inspired by the recent success of neural network approaches to several graph applications, such as node or graph classification, we propose a novel neural network based approach to address this classic yet challenging graph problem, aiming to alleviate the computational burden while preserving a good performance. The proposed approach, called SimGNN, combines two strategies. First, we design a learnable embedding function that maps every graph into a vector, which provides a global summary of a graph. A novel attention mechanism is proposed to emphasize the important nodes with respect to a specific similarity metric. Second, we design a pairwise node comparison method to supplement the graph-level embeddings with fine-grained node-level information. Our model achieves better generalization on unseen graphs, and in the worst case runs in quadratic time with respect to the number of nodes in two graphs. Taking GED computation as an example, experimental results on three real graph datasets demonstrate the effectiveness and efficiency of our approach. Specifically, our model achieves smaller error rate and great time reduction compared against a series of baselines, including several approximation algorithms on GED computation, and many existing graph neural network based models. To the best of our knowledge, we are among the first to adopt neural networks to explicitly model the similarity between two graphs, and provide a new direction for future research on graph similarity computation and graph similarity search.

cs.LG↗

Understanding Why Neural Networks Generalize Well Through GSNR of Parameters

As deep neural networks (DNNs) achieve tremendous success across many application domains, researchers tried to explore in many aspects on why they generalize well. In this paper, we provide a novel perspective on these issues using the gradient signal to noise ratio (GSNR) of parameters during training process of DNNs. The GSNR of a parameter is defined as the ratio between its gradient's squared mean and variance, over the data distribution. Based on several approximations, we establish a quantitative relationship between model parameters' GSNR and the generalization gap. This relationship indicates that larger GSNR during training process leads to better generalization performance. Moreover, we show that, different from that of shallow models (e.g. logistic regression, support vector machines), the gradient descent optimization dynamics of DNNs naturally produces large GSNR during training, which is probably the key to DNNs' remarkable generalization ability.

cs.LG↗

Scheme and Experimental Demonstration of Fully Atomic Weak Value Amplification

In this paper, we explore the possibilities of realizing weak value amplification (WVA) using purely atomic degrees of freedom. Our scheme identifies the internal electronic states and external motional states of a single trapped $^{40}$Ca$^+$ ion as the system degree and pointer degree respectively, and their controllable weak coupling is provided by a bichromatic light field. In our experimental demonstration, by performing appropriate postselection on the internal states, a position displacement of 4 angstroms (in phase space) of the trapped ion is amplified to 10 nanometers. The sensitivity of the amplification effect to the relative phase of the quantum state is also demonstrated. The high operational flexibility of this procedure allows fully exploration of the peculiarities of WVA.

quant-ph↗

Inducing Metallicity in Graphene Nanoribbons via Zero-Mode Superlattices

The design and fabrication of robust metallic states in graphene nanoribbons (GNRs) is a significant challenge since lateral quantum confinement and many-electron interactions tend to induce electronic band gaps when graphene is patterned at nanometer length scales. Recent developments in bottom-up synthesis have enabled the design and characterization of atomically-precise GNRs, but strategies for realizing GNR metallicity have been elusive. Here we demonstrate a general technique for inducing metallicity in GNRs by inserting a symmetric superlattice of zero-energy modes into otherwise semiconducting GNRs. We verify the resulting metallicity using scanning tunneling spectroscopy as well as first-principles density-functional theory and tight binding calculations. Our results reveal that the metallic bandwidth in GNRs can be tuned over a wide range by controlling the overlap of zero-mode wavefunctions through intentional sublattice symmetry-breaking.

cond-mat.mtrl-sci↗

Versatile surface ion trap for effective cooling and large-scale trapping of ions

Scaling up and effective cooling of ions in surface ion trap are central challenges in quantum computing and quantum simulation with trapped ions. In this theoretical study, we propose a versatile surface ion trap. In the manipulation zone of our trap, a symmetric seven-wire geometry enables innate principle-axes rotation of two parallel linear ion chains, which facilitates the cooling of ions along all principle trap axes. To alleviate contaminating the manipulation zone during ion loading, a symmetric five-wire geometry is designed as the loading zone. And a "fork junction" connects the loading and manipulation zones, which also enables the shuttling and reordering of ions. A multi-objective optimization procedure suitable for arbitrary junction designs is described in detail, and we present the corresponding optimal results for the key components of our trap. The proposed versatile trap can be used in the construction of large-scale ion quantum processors. The trap also can be used as the multi-ion-mixer or the efficient ion beam splitter, which has the potential applications in quantum simulation and quantum computing, the research of 2D dimensional ion crystals and the guides of quantum microscope, like an electron beam splitter used for quantum matter-wave optics experiments. Interesting topics involving the spin-spin interactions between two ion chains can also be simulated in our trap.

physics.atom-ph↗

A coupled-channel lattice study on the resonance-like structure $Z_c(3900)$

In this exploratory study, near-threshold scattering of $D$ and $\bar{D}^*$ meson is investigated using lattice QCD with $N_f=2+1+1$ twisted mass fermion configurations. The calculation is performed within the coupled-channel Lüscher's finite-size formalism. The study focuses on the channel with $I^G(J^{PC})=1^+(1^{+-})$ where the resonance-like structure $Z_c(3900)$ was discovered. We first identify the most relevant two channels of the problem and the lattice study is performed within the two-channel scattering model. Combined with a two-channel Ross-Shaw theory, scattering parameters are extracted from the energy levels by solving the generalized eigenvalue problem. Our results on the scattering length parameters suggest that, at the particular lattice parameters that we studied, the best fitted parameters do not correspond to a peak behavior in the elastic scattering cross section near the threshold. Furthermore, within the zero-range Ross-Shaw theory, the scenario of a narrow resonance close to the threshold is disfavored beyond $3σ$ level.

hep-lat↗

Doubly Sparse: Sparse Mixture of Sparse Experts for Efficient Softmax Inference

Computations for the softmax function are significantly expensive when the number of output classes is large. In this paper, we present a novel softmax inference speedup method, Doubly Sparse Softmax (DS-Softmax), that leverages sparse mixture of sparse experts to efficiently retrieve top-k classes. Different from most existing methods that require and approximate a fixed softmax, our method is learning-based and can adapt softmax weights for a better inference speedup. In particular, our method learns a two-level hierarchy which divides entire output class space into several partially overlapping experts. Each expert is sparse and only contains a subset of output classes. To find top-k classes, a sparse mixture enables us to find the most probable expert quickly, and the sparse expert enables us to search within a small-scale softmax. We empirically conduct evaluation on several real-world tasks, including neural machine translation, language modeling and image classification, and demonstrate that significant computation reductions can be achieved at no performance loss.

cs.LG↗

Few-Shot Representation Learning for Out-Of-Vocabulary Words

Existing approaches for learning word embeddings often assume there are sufficient occurrences for each word in the corpus, such that the representation of words can be accurately estimated from their contexts. However, in real-world scenarios, out-of-vocabulary (a.k.a. OOV) words that do not appear in training corpus emerge frequently. It is challenging to learn accurate representations of these words with only a few observations. In this paper, we formulate the learning of OOV embeddings as a few-shot regression problem, and address it by training a representation function to predict the oracle embedding vector (defined as embedding trained with abundant observations) based on limited observations. Specifically, we propose a novel hierarchical attention-based architecture to serve as the neural regression function, with which the context information of a word is encoded and aggregated from K observations. Furthermore, our approach can leverage Model-Agnostic Meta-Learning (MAML) for adapting the learned model to the new corpus fast and robustly. Experiments show that the proposed approach significantly outperforms existing methods in constructing accurate embeddings for OOV words, and improves downstream tasks where these embeddings are utilized.

cs.CL↗