Luận Văn của Dingquan Wang về Khung Phân Tích Không Giám Sát trên Ngôn Ngữ Tổng Hợp

Nghiên cứu luận án Wang 2019 khám phá các khía cạnh quan trọng trong lĩnh vực nghiên cứu, cung cấp cái nhìn sâu sắc và phân tích chi tiết.

Trường đại học

Johns Hopkins University

Chuyên ngành

Computer Science

Người đăng

Ẩn danh

Thể loại

thesis

2019

218
0
0

Phí lưu trữ

55 Point

Mục lục chi tiết

Abstract

Thesis Committee

Acknowledgments

Table of Contents

1. Introduction

1.1. Parse Trees in the Era of Neural Networks

1.2. Making neural models linguistically informed

2. Resolving the Challenge of Data Sparsity—the Galactic Dependencies

2.1. Synthetic Language Generation

2.2. Modeling Dependent Order

2.3. Training parameters on a real language

2.4. Setting parameters of a synthetic language

2.5. Exploratory Data Analysis

2.6. Single-source selection

2.7. Experiment with Noisy Tags

2.8. Conclusions and Future Work

3. Fine-Grained Prediction of Syntactic Typology

3.1. Simple “Expected Count” Baseline

3.2. Proposed Model Architecture

3.2.1. Directionality predictions from scores

3.2.2. Design of the scoring function ψ( x)

3.2.3. Design of the featurization function π ( x)

3.3. Comparison of architectures

3.4. Contribution of different feature classes

3.5. Robustness to noisy input

3.6. Comparison with grammar induction

3.7. Fine-grained analysis

3.8. Binary classification accuracy

3.9. Final evaluation on test data

3.10. Conclusions and Future Work

4. Unsupervised Dependency Parsing

4.1. Per-language learning

4.2. Multi-language learning

4.3. Exploiting parallel data

4.4. Situating our work

4.5. The Typology Component

4.5.1. Design of the surface features π (u)

4.6. The Parsing Architecture

4.7. Training the System

4.7.1. Comparison among architectures

4.7.2. Comparison to SST

4.7.3. Oracle typology vs.

4.7.4. Selected hyperparameter settings

4.7.5. Performance on noisy tag sequences

4.7.6. Analysis by dependency relation type

4.7.7. Final evaluation on test data

4.8. Conclusion and Future Work

5. Synthetic Data Made to Order

5.1. Chapter 3: Universal and reusable synthetic data

5.2. This chapter: Tailored synthetic data

5.3. Modeling Surface Realization

5.3.1. Realization is systematic

5.3.2. A parametric realization model

5.4. Generating training data

5.4.1. Estimation of bigram models

5.4.2. Divergence of bigram models

5.5. Efficiently computing expected counts

5.5.1. Efficient enumeration over permutations

5.5.2. Pruning high-degree trees

5.5.3. Minibatch estimation of c p

5.6. Data and setup

5.7. Sensitivity to initializer

5.8. Final evaluation on the test languages

5.9. Conclusion and Future Work

6. Conclusion

References

Vita

Tóm tắt

I. Tổng quan về Khung Phân Tích Không Giám Sát Mới

Khung phân tích không giám sát mới của Dingquan Wang mang đến một cách tiếp cận độc đáo trong việc phân tích ngữ nghĩa mà không cần dữ liệu huấn luyện. Nghiên cứu này tập trung vào việc xây dựng các cây phụ thuộc từ các câu mà không cần truy cập vào dữ liệu huấn luyện của ngôn ngữ đó. Khung này bao gồm ba thành phần chính: tạo ngôn ngữ tổng hợp, trích xuất đặc trưng hình thức bề mặt và phân tích không phụ thuộc ngôn ngữ.

1.1. Khung Phân Tích Không Giám Sát Là Gì

Khung phân tích không giám sát là một phương pháp cho phép phân tích ngữ nghĩa mà không cần dữ liệu huấn luyện. Nó sử dụng các ngôn ngữ tổng hợp để tạo ra các đặc trưng cần thiết cho việc phân tích.

1.2. Tại Sao Khung Này Quan Trọng

Khung này giúp giải quyết vấn đề thiếu dữ liệu huấn luyện cho các ngôn ngữ ít được nghiên cứu. Nó mở ra cơ hội cho việc phân tích ngữ nghĩa trong các ngôn ngữ chưa được khai thác.

II. Thách Thức Trong Phân Tích Dữ Liệu Không Giám Sát

Một trong những thách thức lớn nhất trong phân tích không giám sát là việc thiếu dữ liệu huấn luyện chất lượng. Điều này dẫn đến việc khó khăn trong việc xác định các tham số phân tích chính xác. Nghiên cứu của Wang chỉ ra rằng việc sử dụng ngôn ngữ tổng hợp có thể cải thiện độ chính xác của phân tích.

2.1. Vấn Đề Thiếu Dữ Liệu Huấn Luyện

Thiếu dữ liệu huấn luyện chất lượng có thể dẫn đến việc phân tích không chính xác. Điều này đặc biệt đúng với các ngôn ngữ ít được nghiên cứu.

2.2. Giải Quyết Vấn Đề Dữ Liệu Khó Khăn

Sử dụng ngôn ngữ tổng hợp giúp tạo ra các đặc trưng cần thiết cho việc phân tích mà không cần dữ liệu huấn luyện thực tế.

III. Phương Pháp Phân Tích Dữ Liệu Không Giám Sát Hiệu Quả

Nghiên cứu của Wang đề xuất một phương pháp mới cho việc phân tích dữ liệu không giám sát thông qua việc sử dụng ngôn ngữ tổng hợp. Phương pháp này bao gồm ba bước chính: tạo ngôn ngữ tổng hợp, trích xuất đặc trưng và phân tích không phụ thuộc ngôn ngữ.

3.1. Tạo Ngôn Ngữ Tổng Hợp

Quá trình tạo ngôn ngữ tổng hợp cho phép kết hợp các ngôn ngữ thực tế để tạo ra một tập hợp phong phú các ngôn ngữ huấn luyện.

3.2. Trích Xuất Đặc Trưng Hình Thức Bề Mặt

Trích xuất đặc trưng hình thức bề mặt giúp ánh xạ một tập hợp dữ liệu chưa phân tích thành một vector có độ dài cố định, phục vụ cho việc phân tích.

IV. Ứng Dụng Thực Tiễn Của Khung Phân Tích Không Giám Sát

Khung phân tích không giám sát mới đã được áp dụng trong nhiều lĩnh vực khác nhau, từ xử lý ngôn ngữ tự nhiên đến các ứng dụng trong trí tuệ nhân tạo. Nghiên cứu cho thấy rằng các đặc trưng được trích xuất từ tập dữ liệu chưa phân tích có thể cải thiện độ chính xác của phân tích.

4.1. Ứng Dụng Trong Xử Lý Ngôn Ngữ Tự Nhiên

Khung này có thể được áp dụng để cải thiện các hệ thống dịch máy và phân tích cảm xúc, giúp nâng cao độ chính xác trong các tác vụ này.

4.2. Kết Quả Nghiên Cứu

Nghiên cứu cho thấy rằng việc sử dụng ngôn ngữ tổng hợp trong huấn luyện có thể dẫn đến những cải tiến đáng kể trong độ chính xác của các mô hình phân tích.

V. Kết Luận và Tương Lai Của Khung Phân Tích Không Giám Sát

Khung phân tích không giám sát mới mở ra nhiều cơ hội cho nghiên cứu và ứng dụng trong lĩnh vực ngôn ngữ học và trí tuệ nhân tạo. Tương lai của phương pháp này hứa hẹn sẽ mang lại nhiều cải tiến trong việc phân tích ngữ nghĩa.

5.1. Tương Lai Của Phân Tích Không Giám Sát

Khung này có thể được phát triển thêm để áp dụng cho nhiều ngôn ngữ khác nhau, mở rộng khả năng phân tích cho các ngôn ngữ chưa được nghiên cứu.

5.2. Cơ Hội Nghiên Cứu Mới

Nghiên cứu tiếp theo có thể tập trung vào việc cải thiện các thuật toán phân tích và mở rộng ứng dụng của khung này trong các lĩnh vực khác.

27/07/2025

Trích đoạn nội dung tài liệu

SUPERVISED TRAINING ON SYNTHETIC LANGUAGES: A NOVEL FRAMEWORK FOR UNSUPERVISED PARSING by Dingquan Wang A dissertation submitted to The Johns Hopkins University in conformity with the requirements for the degree of Doctor of Philosophy Baltimore, Maryland October, 2019 © Dingquan Wang 2019 All rights reserved Abstract This thesis focuses on unsupervised dependency parsing—parsing sentences of a language into dependency trees without accessing the training data of that language. Different from most prior work that uses unsupervised learning to estimate the parsing parameters, we estimate the parameters by supervised training on synthetic lan- guages. Our parsing framework has three major components: Synthetic language generation gives a rich set of training languages by mix-and-match over the real languages; surface-form feature extraction maps an unparsed corpus of a language into a fixed-length vector as the syntactic signature of that language; and, finally, language-agnostic parsing incorporates the syntactic signature during parsing so that the decision on each word token is reliant upon the general syntax of the target language. The fundamental question we are trying to answer is whether some useful informa- tion about the syntax of a language could be inferred from its surface-form evidence (unparsed corpus).

This is the same question that has been implicitly asked by previ- ous papers on unsupervised parsing, which only assumes an unparsed corpus to be available for the target language. We show that, indeed, useful features of the target language can be extracted automatically from an unparsed corpus, which consists only of gold part-of-speech (POS) sequences. Providing these features to our neural parser ii enables it to parse sequences like those in the corpus. Strikingly, our system has no supervision in the target language.

Rather, it is a multilingual system that is trained end-to-end on a variety of other languages, so it learns a feature extractor that works well. This thesis contains several large-scale experiments requiring hundreds of thou- sands of CPU-hours. To our knowledge, this is the largest study of unsupervised parsing yet attempted. We show experimentally across multiple languages: (1) Fea- tures computed from the unparsed corpus improve parsing accuracy.

(2) Including thousands of synthetic languages in the training yields further improvement. (3) Despite being computed from unparsed corpora, our learned task-specific features beat previous works’ interpretable typological features that require parsed corpora or expert categorization of the language. iii Thesis Committee Primary Readers Jason Eisner (Primary Advisor) Professor Department of Computer Science Johns Hopkins University Tal Linzen Assistant Professor Department of Cognitive Science and Computer Science Johns Hopkins University Joakim Nivre Professor of Computational Linguistics Department of Linguistics and Philology Uppsala University Slav Petrov Principal Scientist / Research Director Google AI Matt Post Research Scientist Human Language Technology Center of Excellence Department of Computer Science Johns Hopkins University iv For Y. Acknowledgments Portions of this thesis include four peer-reviewed papers (Wang and Eisner, 2016; Wang and Eisner, 2017; Wang and Eisner, 2018a; Wang and Eisner, 2018b).

I would like to thank my adviser Jason Eisner, who contributed substantial edits on all of these papers as well as the rest chapters in this thesis (expecially Chapter 2). Jason is the most incredible advisor I have ever worked with. He is known for his long technical emails to collaborators. But when I first got one of his legendary emails, I was still blown away by its depth and vision.1 When I was writing a paper in 2018, I still went back to his emails from 2014 for reference.

Jason’s extraordinarily high standards on papers make him the worst enemy before submission deadlines, and the best ally after submission deadlines, when it is time to improve the written and talk presentations further. His attitude towards research goes beyond the research itself, rather, he views our research as a means to serve the community, and I would like to emulated him in the future. In addition to Jason, I’m grateful to the people who have served as committee members who went beyond the call of duty to support me on my journey toward this degree. Thanks to my Graduate Board Oral (GBO) exam committee, consisting of Kevin Duh, Sanjeev Khudanpur, Benjamin Van Durme, Gèraldine Legendre (alternate), 1 Also the length—I printed out my first one, which took 15 A4 pages.

vi Colin Wilson, and David Yarowsky (alternate), for their insightful comments on the proposal. Thanks to my dissertation committee, consisting of Tal Linzen, Joakim Nivre, Slav Petrov, and Matt Post, for their patience in reading through this document and suggesting improvements to hold this work to a higher standard. Most of this work is funded by the U. National Science Foundation under Grant No.

The state of Maryland provides indispensable computing resources via the Maryland Advanced Research Computing Center (MARCC), which makes the massive experiments possible. Early discussions and code prototypes of Wang and Eisner (2016) are provided by Raman Arora, Matt Gormley and Sharon Li. Lillian Lee, who serves as the co-editor-in-chief of the TACL, gave careful corrections on Wang and Eisner (2016), Wang and Eisner (2017), and Wang and Eisner (2018a). Denise Link-Farajali and Anne Colgan from the Center for Leadership Education gave thorough and detailed writing suggestions, where Denise helped on the abstract, Chapters 1 and 2; and Anne helped on the acknowledgments and Chapter 7.

Outside the JHU, this work benefited from productive discussions with Regina Barzilay, Emily Bender, Michael Collins, Adam Fisch, Jiang Guo, Mitch Marcus, Graham Neubig, Mohammad Sadegh Rasooli, Lyle Ungar, Wenpeng Yin, and Mo Yu. Of course, as an Argonaut,2 I’m fortunate to have worked closely with other Argonauts, including Nicholas Andrews, Jacob Buckman, Ryan Cotterell, Nathaniel (Wes) Filardo, Matthew Francis-Landau, Juneki Hong, Xiang (Lisa) Li, Xiaochen Li, Chu-Cheng Lin, Chenxi Liu, Becky Marvin, Hongyuan Mei, Sebastian Mielke, Guanghui Qin, Pushpendre Rastogi, Nanyun (Violet) Peng, Adi Renduchintala, Darcey Riley, Tim Vieira, Shijie Wu, Akshay Srivatsan, Adam Teichert, and Mozhi (Miles) 2 https://www.edu/~jason/Argo/ vii Zhang, who are incredibly smart problem solvers and generous helpers. I want to thank to them for brainstorming ideas, and giving feedback on paper drafts and practice talks. Beyond Argo, I’m a proud member of the CLSP and CS community at JHU and grateful to my colleagues there for fostering a relaxed, creative and collaborative atmosphere.

They are: Tongfei Chen, Shuoyang Ding, Seth Ebner, Dongji Gao, Lv Hang, Huda Khayrallah, Rebecca Knowles, Keith Levin, Ke Li, Chunxi Liu, Xutai Ma, Arya McCarthy, Poorya Mianjy, Adam Poliak, Pamela Shapiro, Suzanna Sia, Shuo Sun, Yiming Wang, Zachary Wood-Doughty, Winston Wu, Patrick Xia, Hainan Xu, Sheng Zhang, and Xiaohui Zhang. Thanks to Zachary Burwell, Ruth Scally, and Cathy Thornton for managing the administrative stuff so smoothly that it freed me from the distractions outside the research. I thank my mom and dad for their endless and unconditional support so that I could pursue the degree this far. I owe you so much especially for not being able to come back and spend Chinese New Years with you since 2013.

Finally, thanks to Yuehan, who is the motivator, the encourager, the morale booster, the problem solver, the complaint listeneer, the happiness sharer, the best friend, the love of my life, and the true author of this work. viii Table of Contents Abstract ii Thesis Committee iv Acknowledgments vi Table of Contents ix List of Tables xvi List of Figures xviii 1 Introduction 1 1.1 Parse Trees in the Era of Neural Networks .1 Making neural models linguistically informed .2 Understanding neural models .3 Guiding model transfer across domains .1 Reason for using dependency structure .3 Unsupervised Dependency Parsing .4 Our Approach: An Artificial Linguist .1 The importance of the synthetic training languages .1 Bayesian Estimation and Inference .1 Maximum a posteriori estimation .3 Posterior mean estimator .2 Amortized Bayes Estimator (our proposal) .3 An Analogy: Statistical Estimation as Function Inversion .4 From Grammar Induction to Other Tasks .1 Grammar induction as Bayesian estimation .2 Limitations of grammar induction .3 Unsupervised parsing as (amortized) Bayesian inference .4 Typology prediction as (amortized) Bayesian inference .5 Eliminating explicit grammars altogether. 35 3 Resolving the Challenge of Data Sparsity—the Galactic Dependencies 37 3.3 Synthetic Language Generation .4 Modeling Dependent Order .2 Training parameters on a real language .3 Setting parameters of a synthetic language .6 Exploratory Data Analysis .1 Single-source selection .4 Experiment with Noisy Tags .8 Conclusions and Future Work. 66 4 Fine-Grained Prediction of Syntactic Typology 70 4.4 Simple “Expected Count” Baseline .5 Proposed Model Architecture .1 Directionality predictions from scores .2 Design of the scoring function ψ( x) .3 Design of the featurization function π ( x) .2 Comparison of architectures .3 Contribution of different feature classes .4 Robustness to noisy input .6 Comparison with grammar induction .7 Fine-grained analysis .8 Binary classification accuracy .9 Final evaluation on test data .8 Conclusions and Future Work.

102 5 Unsupervised Dependency Parsing 104 5.1 Per-language learning .2 Multi-language learning .3 Exploiting parallel data .4 Situating our work .3 The Typology Component .1 Design of the surface features π (u) .4 The Parsing Architecture .5 Training the System .2 Comparison among architectures .3 Comparison to SST .4 Oracle typology vs.5 Selected hyperparameter settings .6 Performance on noisy tag sequences .7 Analysis by dependency relation type .8 Final evaluation on test data .7 Conclusion and Future Work. 129 6 Synthetic Data Made to Order 132 xiii 6.1 Chapter 3: Universal and reusable synthetic data .2 This chapter: Tailored synthetic data .2 Modeling Surface Realization .1 Realization is systematic .2 A parametric realization model .3 Generating training data .1 Estimation of bigram models .2 Divergence of bigram models .1 Efficiently computing expected counts .2 Efficient enumeration over permutations .1 Pruning high-degree trees .2 Minibatch estimation of c p .1 Data and setup .4 Sensitivity to initializer .5 Final evaluation on the test languages .7 Conclusion and Future Work. 160 7 Conclusion 163 References 166 Vita 196 xv List of Tables 2.1 A snippet of a PCFG for constituency structure.1 Features that fire in the two subtrees .2 Statistics on the treebanks of 10 real training languages.3 Split, langauge, and (sub-)family information of the 37 UD treebanks.4 Final comparison on all languages.5 Tagging accuracy on the 8 dev languages.1 Three typological properties in the World Atlas of Language Struc- tures (WALS).2 Data split of the 37 real treebanks.3 Comparison over different architectures on 16 training languages.4 Comparison over different subsets of hand-engineered features on 16 training languages.5 Comparison over grammar induction methods on 16 training languages.6 Accuracy on the simpler task of binary classification of relation direc- tionality brokedown by relation types.7 Accuracy on the simpler task of binary classification of relation direc- tionality brokedown by languages.8 Our final comparison on 51 training+testing languages.1 Average parsing results over 16 languages.2 The WALS features used in our experiment.3 Final evaluation table.1 Full results on single-source transfer using the synthetic languages. 157 xvii List of Figures 1.1 An English dependency tree in the UD version 1 scheme.2 An English constituency tree.3 A non-projective dependency tree.1 The setup of the traditional grammar induction approach.2 The setup of the proposed unsupervised parsing framework.1 The original UD tree for a short English sentence.2 Parsability of real versus synthetic languages.3 POS Perplexity of real versus synthetic languages.4 2-D visualization of the language space.5 Comprehensive results for single-source selection parsing using “kite graph”.6 Chance that selecting from synthetic languages achieves better UAS than selecting from real languages.7 UAS performance of different source parsers when applied to English development sentences.1 Basic predictive architecture.2 Extracting and pooling the neural features.3 Cross-validation loss broken down by relation.4 Comparison between our approach against the baseline model that ignores the input corpus.5 Scatterplots of predicted vs.1 A 2-layer typology component.2 The architecture of the delexicalized graph-based BIST parser.4 Effect of the size |u(ℓ) | of the unparsed corpus.5 Performance on noisy input over 16 training languages.6 Evaluation by dependency relation type, showing an equal-weighted average of the 16 development languages.7 The confusion matrix of our parser.1 The correlation between the divergence and transfer parsing accuracy.

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ