Bidirectional Transformer Reranker for Grammatical Error Correction
- URL: http://arxiv.org/abs/2305.13000v1
- Date: Mon, 22 May 2023 13:04:48 GMT
- Title: Bidirectional Transformer Reranker for Grammatical Error Correction
- Abstract summary: We propose a bidirectional Transformer reranker (BTR) to re-estimate the probability of each candidate sentence generated by a pre-trained seq2seq model.
The BTR preserves the seq2seq-style Transformer architecture but utilizes a BERT-style self-attention mechanism to compute the probability of each target token.
Experimental results show that, in reranking candidates from a pre-trained seq2seq model, T5-base, the BTR on top of T5-base could yield 65.47 and 71.27 F0.5 scores on the CoN
- Score: 34.94144153504719
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Pre-trained seq2seq models have achieved state-of-the-art results in the
grammatical error correction task. However, these models still suffer from a
prediction bias due to their unidirectional decoding. Thus, we propose a
bidirectional Transformer reranker (BTR), that re-estimates the probability of
each candidate sentence generated by the pre-trained seq2seq model. The BTR
preserves the seq2seq-style Transformer architecture but utilizes a BERT-style
self-attention mechanism in the decoder to compute the probability of each
target token by using masked language modeling to capture bidirectional
representations from the target context. For guiding the reranking, the BTR
adopts negative sampling in the objective function to minimize the
unlikelihood. During inference, the BTR gives final results after comparing the
reranked top-1 results with the original ones by an acceptance threshold.
Experimental results show that, in reranking candidates from a pre-trained
seq2seq model, T5-base, the BTR on top of T5-base could yield 65.47 and 71.27
F0.5 scores on the CoNLL-14 and BEA test sets, respectively, and yield 59.52
GLEU score on the JFLEG corpus, with improvements of 0.36, 0.76 and 0.48 points
compared with the original T5-base. Furthermore, when reranking candidates from
T5-large, the BTR on top of T5-base improved the original T5-large by 0.26
points on the BEA test set.
Related papers
- Architecture-Dependent Causal Transfer of Activation States Across Large Language Models [51.56484100374058]
Internal language activation states can be transferred causally between different large language models.<n>Injecting projected activations into a target model during generation produces a statistically significant, preregistered causal effect.<n>We conclude that end-to-end activation-state transfer between LLMs, as currently implemented, is architecture-dependent rather than universal.
arXiv Detail & Related papers (2026-08-17T09:53:27Z) - Analysis of Federated Aggregation under Model Poisoning and Backdoor Attacks: A Reconstructed Cross-Dataset and Cross-Architecture Benchmark [0.0]
A 500-cell seed-1 evaluation matrix was reconstructed across five aggregation methods.<n>Execution logs were identified for 454 original runs and 36 repaired or rerun executions.<n>Krum attained the highest recorded accuracy under both sign-flipping and Gaussian configurations.
arXiv Detail & Related papers (2026-08-11T20:42:56Z) - GradCuit: Credit-Assigned Gradient Flow Enables Robust and Interpretable Test-Time Latent Reasoning [61.67411833252235]
We introduce GradCuit, which inserts optimizable latent states at a selected Transformer layer between the hidden representations of the prompt and the generated continuation.<n>Across five instruction-tuned backbones, three reasoning benchmarks, and two answer formats, GradCuit achieves an average accuracy of 64.5%.<n>For interpretability, token-level gradient attribution reveals that latent influence concentrates on reasoning-connector tokens, while layer analysis identifies early-to-middle Transformer layers as the most effective optimization space.
arXiv Detail & Related papers (2026-08-03T17:55:24Z) - Leveraging BART to Assess CS1 C++ Programming Assignments using Rubric-based Criteria [2.1843439591862333]
This paper investigates rubric-aware, multitask fine-tuning of transformer models for automated grading of C++ programming assignments.<n>Using multi-semester CS1 data, student submissions are paired with numeric scores, letter-grade buckets, and assignment rubrics, then preprocessed into unified sequences for transformer input.<n>A BART encoder-decoder with LoRA adaptation is trained to jointly predict numeric grades and grade buckets, augmented with a distribution-matching term to align predicted and empirical grade distributions.
arXiv Detail & Related papers (2026-06-02T15:57:14Z) - Transformers Can Learn Rules They've Never Seen: Proof of Computation Beyond Interpolation [0.0]
We test a strong-only hypothesis in two controlled settings.<n>In Experiment 1, we use a cellular automaton with a pure XOR transition rule.<n>In Experiment 2, we study symbolic operator chains over integers with one operator pair held out.
arXiv Detail & Related papers (2026-03-17T18:02:28Z) - AIRwaves at CheckThat! 2025: Retrieving Scientific Sources for Implicit Claims on Social Media with Dual Encoders and Neural Re-Ranking [0.0]
Team AIRwaves ranked second in Subtask 4b of the CLEF-2025 CheckThat! Lab with an evidence-retrieval approach that markedly outperforms the competition baseline.<n>To surpass this baseline, a two-stage retrieval pipeline is introduced: (i) a first stage that uses a dual encoder based on E5-large, fine-tuned using in-batch and mined hard negatives and enhanced through chunked tokenization and rich document metadata; and (ii) a neural re-ranking stage using a SciBERT cross-encoder.
arXiv Detail & Related papers (2025-09-23T19:26:31Z) - Robust Fine-tuning of Zero-shot Models via Variance Reduction [56.360865951192324]
When fine-tuning zero-shot models, our desideratum is for the fine-tuned model to excel in both in-distribution (ID) and out-of-distribution (OOD)
We propose a sample-wise ensembling technique that can simultaneously attain the best ID and OOD accuracy without the trade-offs.
arXiv Detail & Related papers (2024-11-11T13:13:39Z) - Large Language Models in Targeted Sentiment Analysis [0.0]
We study sentiment analysis capabilities of instruction-tuned large language models (LLMs)
The best results of sentiment analysis on RuSentNE-2023 were achieved by fine-tuned Flan-T5-xl.
arXiv Detail & Related papers (2024-04-18T17:16:16Z) - Autoregressive Score Generation for Multi-trait Essay Scoring [8.531986117865946]
We propose an autoregressive prediction of multi-trait scores (ArTS) in automated essay scoring (AES)
Unlike prior regression or classification methods, we redefine AES as a score-generation task, allowing a single model to predict multiple scores.
Experimental results proved the efficacy of ArTS, showing over 5% average improvements in both prompts and traits.
arXiv Detail & Related papers (2024-03-13T08:34:53Z) - Hausdorff Distance Matching with Adaptive Query Denoising for Rotated Detection Transformer [4.137346786534721]
We introduce a Hausdorff distance-based cost for bipartite matching, which more accurately quantifies the discrepancy between predictions and ground truths.
We propose an adaptive query denoising method that employs bipartite matching to selectively eliminate noised queries that detract from model improvement.
arXiv Detail & Related papers (2023-05-12T16:42:54Z) - Transformer-based approaches to Sentiment Detection [55.41644538483948]
We examined the performance of four different types of state-of-the-art transformer models for text classification.
The RoBERTa transformer model performs best on the test dataset with a score of 82.6% and is highly recommended for quality predictions.
arXiv Detail & Related papers (2023-03-13T17:12:03Z) - Accelerating Attention through Gradient-Based Learned Runtime Pruning [9.109136535767478]
Self-attention is a key enabler of state-of-art accuracy for transformer-based Natural Language Processing models.
This paper formulates its search through a soft differentiable regularizer integrated into the loss function of the training.
We devise a bit-serial architecture, dubbed LeOPArd, for transformer language models with bit-level early termination microarchitectural mechanism.
arXiv Detail & Related papers (2022-04-07T05:31:13Z) - Latency Adjustable Transformer Encoder for Language Understanding [0.8287206589886879]
This paper proposes an efficient Transformer architecture that adjusts the inference computational cost adaptively with a desired inference latency speedup.
The proposed method detects less important hidden sequence elements (word-vectors) and eliminates them in each encoder layer using a proposed Attention Context Contribution (ACC) metric.
The proposed method mathematically and experimentally improves the inference latency of BERT_base and GPT-2 by up to 4.8 and 3.72 times with less than 0.75% accuracy drop and passable perplexity on average.
arXiv Detail & Related papers (2022-01-10T13:04:39Z) - Sequence Transduction with Graph-based Supervision [96.04967815520193]
We present a new transducer objective function that generalizes the RNN-T loss to accept a graph representation of the labels.
We demonstrate that transducer-based ASR with CTC-like lattice achieves better results compared to standard RNN-T.
arXiv Detail & Related papers (2021-11-01T21:51:42Z) - Non-Autoregressive Transformer ASR with CTC-Enhanced Decoder Input [54.82369261350497]
We propose a CTC-enhanced NAR transformer, which generates target sequence by refining predictions of the CTC module.
Experimental results show that our method outperforms all previous NAR counterparts and achieves 50x faster decoding speed than a strong AR baseline with only 0.0 0.3 absolute CER degradation on Aishell-1 and Aishell-2 datasets.
arXiv Detail & Related papers (2020-10-28T15:00:09Z) - Second-Order Provable Defenses against Adversarial Attacks [63.34032156196848]
We show that if the eigenvalues of the network are bounded, we can compute a certificate in the $l$ norm efficiently using convex optimization.
We achieve certified accuracy of 5.78%, and 44.96%, and 43.19% on 2,59% and 4BP-based methods respectively.
arXiv Detail & Related papers (2020-06-01T05:55:18Z)
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.