Searcharxiv⌕ Search

arXiv subjects

Vincent Ng

Publications and source records attributed to Vincent Ng.

32 records · Page 2Linked to original sources

DiscoSense: Commonsense Reasoning with Discourse Connectives

We present DiscoSense, a benchmark for commonsense reasoning via understanding a wide variety of discourse connectives. We generate compelling distractors in DiscoSense using Conditional Adversarial Filtering, an extension of Adversarial Filtering that employs conditional generation. We show that state-of-the-art pre-trained language models struggle to perform well on DiscoSense, which makes this dataset ideal for evaluating next-generation commonsense reasoning systems.

cs.CL↗

SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representations

Recent years have seen the successful application of large pre-trained models to code representation learning, resulting in substantial improvements on many code-related downstream tasks. But there are issues surrounding their application to SE tasks. First, the majority of the pre-trained models focus on pre-training only the encoder of the Transformer. For generation tasks that are addressed using models with the encoder-decoder architecture, however, there is no reason why the decoder should be left out during pre-training. Second, many existing pre-trained models, including state-of-the-art models such as T5-learning, simply reuse the pre-training tasks designed for natural languages. Moreover, to learn the natural language description of source code needed eventually for code-related tasks such as code summarization, existing pre-training tasks require a bilingual corpus composed of source code and the associated natural language description, which severely limits the amount of data for pre-training. To this end, we propose SPT-Code, a sequence-to-sequence pre-trained model for source code. In order to pre-train SPT-Code in a sequence-to-sequence manner and address the aforementioned weaknesses associated with existing pre-training tasks, we introduce three pre-training tasks that are specifically designed to enable SPT-Code to learn knowledge of source code, the corresponding code structure, as well as a natural language description of the code without relying on any bilingual corpus, and eventually exploit these three sources of information when it is applied to downstream tasks. Experimental results demonstrate that SPT-Code achieves state-of-the-art performance on five code-related downstream tasks after fine-tuning.

cs.SE↗

Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Code

Recent years have seen the successful application of deep learning to software engineering (SE). In particular, the development and use of pre-trained models of source code has enabled state-of-the-art results to be achieved on a wide variety of SE tasks. This paper provides an overview of this rapidly advancing field of research and reflects on future research directions.

cs.SE↗

Commonsense Knowledge Reasoning and Generation with Pre-trained Language Models: A Survey

While commonsense knowledge acquisition and reasoning has traditionally been a core research topic in the knowledge representation and reasoning community, recent years have seen a surge of interest in the natural language processing community in developing pre-trained models and testing their ability to address a variety of newly designed commonsense knowledge reasoning and generation tasks. This paper presents a survey of these tasks, discusses the strengths and weaknesses of state-of-the-art pre-trained models for commonsense reasoning and generation as revealed by these tasks, and reflects on future research directions.

cs.CL↗

Soliton linear-wave scattering in a Kerr microresonator

The nonlinear scattering of a linear optical wave from a conservative soliton has been widely studied in optical fibers as a mechanism for nonlinear frequency conversion. Here we extend this analysis to consider the scattering of an externally injected probe wave from a dissipative Kerr cavity soliton circulating in a Kerr microresonator. We demonstrate, both theoretically and experimentally, that this nonlinear interaction can be harnessed for useful expansion of the soliton frequency comb via the formation of a secondary idler comb. We explore the physics of the process, showing that the phase detuning of the injected probe from a cavity resonance plays a key role in setting the central frequency of the idler comb, thus providing a convenient parameter through which to control the spectral envelope of that comb. Our results elucidate the dynamics that govern the interactions between dissipative Kerr cavity solitons and externally injected probe waves, and could prove useful in the design of future Kerr frequency comb systems by enabling the possibility to provide high-power comb lines in a specified spectral region simply through the injection of a suitably chosen probe.

physics.optics↗

Synergy between Machine/Deep Learning and Software Engineering: How Far Are We?

Since 2009, the deep learning revolution, which was triggered by the introduction of ImageNet, has stimulated the synergy between Machine Learning (ML)/Deep Learning (DL) and Software Engineering (SE). Meanwhile, critical reviews have emerged that suggest that ML/DL should be used cautiously. To improve the quality (especially the applicability and generalizability) of ML/DL-related SE studies, and to stimulate and enhance future collaborations between SE/AI researchers and industry practitioners, we conducted a 10-year Systematic Literature Review (SLR) on 906 ML/DL-related SE papers published between 2009 and 2018. Our trend analysis demonstrated the mutual impacts that ML/DL and SE have had on each other. At the same time, however, we also observed a paucity of replicable and reproducible ML/DL-related SE studies and identified five factors that influence their replicability and reproducibility. To improve the applicability and generalizability of research results, we analyzed what ingredients in a study would facilitate an understanding of why a ML/DL technique was selected for a specific SE problem. In addition, we identified the unique trends of impacts of DL models on SE tasks, as well as five unique challenges that needed to be met in order to better leverage DL to improve the productivity of SE tasks. Finally, we outlined a road-map that we believe can facilitate the transfer of ML/DL-based SE research results into real-world industry practices.

cs.SE↗

Assessing the Quality of the Steps to Reproduce in Bug Reports

A major problem with user-written bug reports, indicated by developers and documented by researchers, is the (lack of high) quality of the reported steps to reproduce the bugs. Low-quality steps to reproduce lead to excessive manual effort spent on bug triage and resolution. This paper proposes Euler, an approach that automatically identifies and assesses the quality of the steps to reproduce in a bug report, providing feedback to the reporters, which they can use to improve the bug report. The feedback provided by Euler was assessed by external evaluators and the results indicate that Euler correctly identified 98% of the existing steps to reproduce and 58% of the missing ones, while 73% of its quality annotations are correct.

cs.SE↗

Octave-spanning tunable parametric oscillation in crystalline Kerr microresonators

Parametric nonlinear optical processes allow for the generation of new wavelengths of coherent electromagnetic radiation. Their ability to create radiation that is widely tunable in wavelength is particularly appealing, with applications ranging from spectroscopy to quantum information processing. Unfortunately, existing tunable parametric sources are marred by deficiencies that obstruct their widespread adoption. Here we show that ultrahigh-Q crystalline microresonators made of magnesium fluoride can overcome these limitations, enabling compact and power-efficient devices capable of generating clean and widely-tunable sidebands. We consider several different resonators with carefully engineered dispersion profiles, achieving hundreds of nanometers of sideband tunability in each device when driven with a standard low-power laser at 1550 nm. In addition to direct observations of discrete tunability over an entire optical octave from 1083 nm to 2670 nm, we record signatures of mid-infrared sidebands at almost 4000 nm. The simplicity of the devices considered -- compounded by their remarkable tunability -- paves the way for low-cost, widely-tunable sources of electromagnetic radiation.

physics.optics↗

Origins of clustered frequency combs in Kerr microresonators

Recent experiments have demonstrated the generation of widely-spaced parametric sidebands that can evolve into "clustered" optical frequency combs in Kerr microresonators. Here we describe the physics that underpins the formation of such clustered comb states. In particular, we show that the phase-matching required for the initial sideband generation is such that (at least) one of the sidebands experiences anomalous dispersion, enabling that sideband to drive frequency comb formation via degenerate and non-degenerate four-wave mixing. We validate our proposal through a combination of experimental observations made in a magnesium-fluoride microresonator and corresponding numerical simulations. We also investigate the coherence properties of the resulting clustered frequency combs. Our findings provide valuable insights on the generation and dynamics of widely-spaced parametric sidebands and clustered frequency combs in Kerr microresonators.

physics.optics↗

WikiRank: Improving Keyphrase Extraction Based on Background Knowledge

Keyphrase is an efficient representation of the main idea of documents. While background knowledge can provide valuable information about documents, they are rarely incorporated in keyphrase extraction methods. In this paper, we propose WikiRank, an unsupervised method for keyphrase extraction based on the background knowledge from Wikipedia. Firstly, we construct a semantic graph for the document. Then we transform the keyphrase extraction problem into an optimization problem on the graph. Finally, we get the optimal keyphrase set to be the output. Our method obtains improvements over other state-of-art models by more than 2% in F1-score.

cs.CL↗

Digital Waveguide Adiabatic Passage Part 2: Experiment

Using a femtosecond laser writing technique, we fabricate and characterise three-waveguide digital adiabatic passage devices, with the central waveguide digitised into five discrete waveguidelets. Strongly asymmetric behaviour was observed, devices operated with high fidelity in the counter-intuitive scheme while strongly suppressing transmission in the intuitive. The low differential loss of the digital adiabatic passage designs potentially offers additional functionality for adiabatic passage based devices. These devices operate with a high contrast ($>\!90\%$) over a 60nm bandwidth, centered at $\sim 823$nm.

physics.optics↗

Cause Identification from Aviation Safety Incident Reports via Weakly Supervised Semantic Lexicon Construction

The Aviation Safety Reporting System collects voluntarily submitted reports on aviation safety incidents to facilitate research work aiming to reduce such incidents. To effectively reduce these incidents, it is vital to accurately identify why these incidents occurred. More precisely, given a set of possible causes, or shaping factors, this task of cause identification involves identifying all and only those shaping factors that are responsible for the incidents described in a report. We investigate two approaches to cause identification. Both approaches exploit information provided by a semantic lexicon, which is automatically constructed via Thelen and Riloffs Basilisk framework augmented with our linguistic and algorithmic modifications. The first approach labels a report using a simple heuristic, which looks for the words and phrases acquired during the semantic lexicon learning process in the report. The second approach recasts cause identification as a text classification problem, employing supervised and transductive text classification algorithms to learn models from incident reports labeled with shaping factors and using the models to label unseen reports. Our experiments show that both the heuristic-based approach and the learning-based approach (when given sufficient training data) outperform the baseline system significantly.

cs.CL↗

Which Clustering Do You Want? Inducing Your Ideal Clustering with Minimal Feedback

While traditional research on text clustering has largely focused on grouping documents by topic, it is conceivable that a user may want to cluster documents along other dimensions, such as the authors mood, gender, age, or sentiment. Without knowing the users intention, a clustering algorithm will only group documents along the most prominent dimension, which may not be the one the user desires. To address the problem of clustering documents along the user-desired dimension, previous work has focused on learning a similarity metric from data manually annotated with the users intention or having a human construct a feature space in an interactive manner during the clustering process. With the goal of reducing reliance on human knowledge for fine-tuning the similarity function or selecting the relevant features required by these approaches, we propose a novel active clustering algorithm, which allows a user to easily select the dimension along which she wants to cluster the documents by inspecting only a small number of words. We demonstrate the viability of our algorithm on a variety of commonly-used sentiment datasets.

cs.IR↗

Narrowing the Modeling Gap: A Cluster-Ranking Approach to Coreference Resolution

Traditional learning-based coreference resolvers operate by training the mention-pair model for determining whether two mentions are coreferent or not. Though conceptually simple and easy to understand, the mention-pair model is linguistically rather unappealing and lags far behind the heuristic-based coreference models proposed in the pre-statistical NLP era in terms of sophistication. Two independent lines of recent research have attempted to improve the mention-pair model, one by acquiring the mention-ranking model to rank preceding mentions for a given anaphor, and the other by training the entity-mention model to determine whether a preceding cluster is coreferent with a given mention. We propose a cluster-ranking approach to coreference resolution, which combines the strengths of the mention-ranking model and the entity-mention model, and is therefore theoretically more appealing than both of these models. In addition, we seek to improve cluster rankers via two extensions: (1) lexicalization and (2) incorporating knowledge of anaphoricity by jointly modeling anaphoricity determination and coreference resolution. Experimental results on the ACE data sets demonstrate the superior performance of cluster rankers to competing approaches as well as the effectiveness of our two extensions.

cs.CL↗