-
Narratives from GPT-derived Networks of News, and a link to Financial Markets Dislocations
Authors:
Deborah Miori,
Constantin Petrov
Abstract:
Starting from a corpus of economic articles from The Wall Street Journal, we present a novel systematic way to analyse news content that evolves over time. We leverage on state-of-the-art natural language processing techniques (i.e. GPT3.5) to extract the most important entities of each article available, and aggregate co-occurrence of entities in a related graph at the weekly level. Network analy…
▽ More
Starting from a corpus of economic articles from The Wall Street Journal, we present a novel systematic way to analyse news content that evolves over time. We leverage on state-of-the-art natural language processing techniques (i.e. GPT3.5) to extract the most important entities of each article available, and aggregate co-occurrence of entities in a related graph at the weekly level. Network analysis techniques and fuzzy community detection are tested on the proposed set of graphs, and a framework is introduced that allows systematic but interpretable detection of topics and narratives. In parallel, we propose to consider the sentiment around main entities of an article as a more accurate proxy for the overall sentiment of such piece of text, and describe a case-study to motivate this choice. Finally, we design features that characterise the type and structure of news within each week, and map them to moments of financial markets dislocations. The latter are identified as dates with unusually high volatility across asset classes, and we find quantitative evidence that they relate to instances of high entropy in the high-dimensional space of interconnected news. This result further motivates the pursued efforts to provide a novel framework for the systematic analysis of narratives within news.
△ Less
Submitted 24 November, 2023;
originally announced November 2023.
-
A Full-fledged Commit Message Quality Checker Based on Machine Learning
Authors:
David Faragó,
Michael Färber,
Christian Petrov
Abstract:
Commit messages (CMs) are an essential part of version control. By providing important context in regard to what has changed and why, they strongly support software maintenance and evolution. But writing good CMs is difficult and often neglected by developers. So far, there is no tool suitable for practice that automatically assesses how well a CM is written, including its meaning and context. Sin…
▽ More
Commit messages (CMs) are an essential part of version control. By providing important context in regard to what has changed and why, they strongly support software maintenance and evolution. But writing good CMs is difficult and often neglected by developers. So far, there is no tool suitable for practice that automatically assesses how well a CM is written, including its meaning and context. Since this task is challenging, we ask the research question: how well can the CM quality, including semantics and context, be measured with machine learning methods? By considering all rules from the most popular CM quality guideline, creating datasets for those rules, and training and evaluating state-of-the-art machine learning models to check those rules, we can answer the research question with: sufficiently well for practice, with the lowest F$_1$ score of 82.9\%, for the most challenging task. We develop a full-fledged open-source framework that checks all these CM quality rules. It is useful for research, e.g., automatic CM generation, but most importantly for software practitioners to raise the quality of CMs and thus the maintainability and evolution speed of their software.
△ Less
Submitted 9 September, 2023;
originally announced September 2023.
-
Transfer of planar orders onto a sphere: formation and properties of complex topological defects
Authors:
D. S. Roshal,
C. Yu. Petrov,
A. E. Myasnikova,
S. B. Rochal
Abstract:
General topological principles how to transfer the planar orders onto a sphere are considered. Formation of extended topological defects (ETDs), which have a reconstructed inner structure surrounded by perfect initial order, is discussed. Topological charge of the ETD can be determined from the shape of a characteristic polygon bounding the defect. Relation between the total topological charge of…
▽ More
General topological principles how to transfer the planar orders onto a sphere are considered. Formation of extended topological defects (ETDs), which have a reconstructed inner structure surrounded by perfect initial order, is discussed. Topological charge of the ETD can be determined from the shape of a characteristic polygon bounding the defect. Relation between the total topological charge of all defects in the spherical structure and the type of initial planar order is found. It is also demonstrated that in the spherical hexagonal crystal a dislocation located in the ETD area is actually absorbed by it, because the order outside the defect doesn't display existence of dislocation in any way. For the case of singly connected spherical hexagonal order arising from mutual repulsion of N particles (N < 1000) only triangulation of the order inside the ETD regions recovers the linear scars which represent a narrow parts of wider ETD areas.
△ Less
Submitted 30 September, 2013;
originally announced September 2013.