A Modular Approach for Multilingual Timex Detection and Normalization
using Deep Learning and Grammar-based methods
- URL: http://arxiv.org/abs/2304.14221v1
- Date: Thu, 27 Apr 2023 14:32:23 GMT
- Title: A Modular Approach for Multilingual Timex Detection and Normalization
using Deep Learning and Grammar-based methods
- Abstract summary: We present a modular multilingual temporal processing system combining a fine-tuned Masked Language Model for detection, and a grammar-based normalizer.
We obtain best results in gold timex normalization, timex detection and type recognition, and competitive performance in the combined TempEval-3 relaxed value metric.
- Score: 10.871587311621974
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Detecting and normalizing temporal expressions is an essential step for many
NLP tasks. While a variety of methods have been proposed for detection, best
normalization approaches rely on hand-crafted rules. Furthermore, most of them
have been designed only for English. In this paper we present a modular
multilingual temporal processing system combining a fine-tuned Masked Language
Model for detection, and a grammar-based normalizer. We experiment in Spanish
and English and compare with HeidelTime, the state-of-the-art in multilingual
temporal processing. We obtain best results in gold timex normalization, timex
detection and type recognition, and competitive performance in the combined
TempEval-3 relaxed value metric. A detailed error analysis shows that detecting
only those timexes for which it is feasible to provide a normalization is
highly beneficial in this last metric. This raises the question of which is the
best strategy for timex processing, namely, leaving undetected those timexes
for which is not easy to provide normalization rules or aiming for high
coverage.
Related papers
- On Synthesis of Metric Interval Temporal Logics [0.5505634045241289]
This paper presents the first framework to tackle emphprecise passive learning for an expressive timed logic.<n>Our approach formally reduces the timed learning problem into a scalable untimed one.<n>We evaluate our implementation across several benchmarks, demonstrating the effectiveness of our approach.
arXiv Detail & Related papers (2026-09-01T10:30:46Z) - Language Confusion Gate: Language-Aware Decoding Through Model Self-Distillation [50.93756215410832]
This paper introduces the Language Confusion Gate (LCG), a lightweight, plug-in solution that filters tokens during decoding.<n>The LCG is trained using norm-adjusted self-distillation to predict appropriate language families and apply masking only when needed.
arXiv Detail & Related papers (2025-10-20T14:02:37Z) - Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Sampling [90.86991492288487]
evaluating constraint on every token can be prohibitively expensive.
LCD can distort the global distribution over strings, sampling tokens based only on local information.
We show that our approach is superior to state-of-the-art baselines.
arXiv Detail & Related papers (2025-04-07T18:30:18Z) - Sample, Don't Search: Rethinking Test-Time Alignment for Language Models [55.2480439325792]
We introduce QAlign, a new test-time alignment approach.
As we scale test-time compute, QAlign converges to sampling from the optimal aligned distribution for each individual prompt.
By adopting recent advances in Markov chain Monte Carlo for text generation, our method enables better-aligned outputs without modifying the underlying model or even requiring logit access.
arXiv Detail & Related papers (2025-04-04T00:41:40Z) - MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenization [81.83460411131931]
In multilingual settings, non-Latin scripts and low-resource languages are usually disadvantaged in terms of language models' utility, efficiency, and cost.
We propose multilingual adaptive gradient-based tokenization to reduce over-segmentation via adaptive gradient-based subword tokenization.
arXiv Detail & Related papers (2024-07-11T18:59:21Z) - Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraph [83.90988015005934]
Uncertainty quantification is a key element of machine learning applications.
We introduce a novel benchmark that implements a collection of state-of-the-art UQ baselines.
We conduct a large-scale empirical investigation of UQ and normalization techniques across eleven tasks, identifying the most effective approaches.
arXiv Detail & Related papers (2024-06-21T20:06:31Z) - Discourse-Aware In-Context Learning for Temporal Expression Normalization [7.621550020607368]
In this work, we explore the feasibility of proprietary and open-source large language models (LLMs) for TE normalization.
By using a window-based prompt design approach, we can perform TE normalization across sentences, while leveraging the LLM knowledge without training the model.
Our experiments show competitive results to models designed for this task.
arXiv Detail & Related papers (2024-04-11T14:13:44Z) - Hard Nominal Example-aware Template Mutual Matching for Industrial
Anomaly Detection [74.9262846410559]
textbfHard Nominal textbfExample-aware textbfTemplate textbfMutual textbfMatching (HETMM)
textitHETMM aims to construct a robust prototype-based decision boundary, which can precisely distinguish between hard-nominal examples and anomalies.
arXiv Detail & Related papers (2023-03-28T17:54:56Z) - Modeling Sequential Sentence Relation to Improve Cross-lingual Dense
Retrieval [87.11836738011007]
We propose a multilingual multilingual language model called masked sentence model (MSM)
MSM consists of a sentence encoder to generate the sentence representations, and a document encoder applied to a sequence of sentence vectors from a document.
To train the model, we propose a masked sentence prediction task, which masks and predicts the sentence vector via a hierarchical contrastive loss with sampled negatives.
arXiv Detail & Related papers (2023-02-03T09:54:27Z) - Spatio-temporal predictive tasks for abnormal event detection in videos [60.02503434201552]
We propose new constrained pretext tasks to learn object level normality patterns.
Our approach consists in learning a mapping between down-scaled visual queries and their corresponding normal appearance and motion characteristics.
Experiments on several benchmark datasets demonstrate the effectiveness of our approach to localize and track anomalies.
arXiv Detail & Related papers (2022-10-27T19:45:12Z) - A Template-based Method for Constrained Neural Machine Translation [100.02590022551718]
We propose a template-based method that can yield results with high translation quality and match accuracy while keeping the decoding speed.
The generation and derivation of the template can be learned through one sequence-to-sequence training framework.
Experimental results show that the proposed template-based methods can outperform several representative baselines in lexically and structurally constrained translation tasks.
arXiv Detail & Related papers (2022-05-23T12:24:34Z) - Multilingual Normalization of Temporal Expressions with Masked Language
Models [26.473014733177475]
We propose a novel neural method for normalizing temporal expressions based on masked language modeling.
Our method outperforms prior rule-based systems in many languages, and in particular, for low-resource languages with performance improvements of up to 35 F1 on average.
arXiv Detail & Related papers (2022-05-20T18:34:23Z) - Machine Learning for Online Algorithm Selection under Censored Feedback [71.6879432974126]
In online algorithm selection (OAS), instances of an algorithmic problem class are presented to an agent one after another, and the agent has to quickly select a presumably best algorithm from a fixed set of candidate algorithms.
For decision problems such as satisfiability (SAT), quality typically refers to the algorithm's runtime.
In this work, we revisit multi-armed bandit algorithms for OAS and discuss their capability of dealing with the problem.
We adapt them towards runtime-oriented losses, allowing for partially censored data while keeping a space- and time-complexity independent of the time horizon.
arXiv Detail & Related papers (2021-09-13T18:10:52Z) - Automatic Rule Generation for Time Expression Normalization [9.7662192009858]
We present a novel method called ARTime, which can automatically generate normalization rules from training data without expert interventions.
Specifically, ARTime automatically captures possible operation sequences from annotated data and generates normalization rules on time expressions with common surface forms.
The experimental results show that ARTime can significantly surpass SOTA methods on the Tweets benchmark, and competitive results with existing expert-engineered rule methods on the TempEval-3 benchmark.
arXiv Detail & Related papers (2021-08-31T07:44:38Z) - Ensemble Grammar Induction For Detecting Anomalies in Time Series [6.161998499946999]
We introduce a grammar-induction-based anomaly detection method utilizing ensemble learning.
We demonstrate that the proposed ensemble approach can outperform existing grammar-induction-based approaches.
arXiv Detail & Related papers (2020-01-29T21:33:03Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.