Papers › Adapt or Get Left Behind: Domain Adaptation through BERT Language Model Finetuning for...

Adapt or Get Left Behind: Domain Adaptation through BERT Language Model Finetuning for Aspect-Target Sentiment Classification

30 Aug 2019LREC 2020 5arXiv:1908.11860archive 2025-07-28

Alexander Rietzler, Sebastian Stabinger, Paul Opitz, Stefan Engl

Aspect-Target Sentiment Classification (ATSC) is a subtask of Aspect-Based Sentiment Analysis (ABSA), which has many applications e.g. in e-commerce, where data and insights from reviews can be leveraged to create value for businesses and customers. Recently, deep transfer-learning methods have been applied successfully to a myriad of Natural Language Processing (NLP) tasks, including ATSC. Building on top of the prominent BERT language model, we approach ATSC using a two-step procedure: self-supervised domain-specific BERT language model finetuning, followed by supervised task-specific finetuning. Our findings on how to best exploit domain-specific language model finetuning enable us to produce new state-of-the-art performance on the SemEval 2014 Task 4 restaurants dataset. In addition, to explore the real-world robustness of our models, we perform cross-domain evaluation. We show that a cross-domain adapted BERT language model performs significantly better than strong baseline models like vanilla BERT-base and XLNet-base. Finally, we conduct a case study to interpret model prediction errors.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1908.11860")

Code

Syntology Ran 6 of 7 code samples harvested from 2 repositories linked to this paper; 1 has no recorded run. Of those that ran: 6 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 6 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

deepopinion/domain-adapted-atsc officialmentioned in papermentioned on GitHubpytorch report
ardyh/bert-ada mentioned on GitHubpytorchMIT report
yangheng95/LC-ABSA mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 6 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

6ran
1unverified

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_example_to_features deepopinion/domain-adapted-atsc/finetuning_and_classification/finetune_on_pregenerated.py official repository unverified MIT (permissive) · e442357dd18171c6 · report
convert_examples_to_features ardyh/bert-ada/finetuning_and_classification/utils_glue.py community (archive-listed) ran MIT (permissive) · ed04fa9adc7b8bad · report
create_instances_from_document ardyh/bert-ada/finetuning_and_classification/pregenerate_training_data.py community (archive-listed) ran MIT (permissive) · 1243fa98fb78271d · report
create_masked_lm_predictions ardyh/bert-ada/finetuning_and_classification/pregenerate_training_data.py community (archive-listed) ran MIT (permissive) · 9f94d1d09b49e09e · report
generate_qa_sentence_pairs_nosampling ardyh/bert-ada/finetuning_and_classification/utils_glue.py community (archive-listed) ran MIT (permissive) · c987c7b3fcee5ba4 · report
semeval2014term_to_aspectsentiment_hr ardyh/bert-ada/finetuning_and_classification/utils_glue.py community (archive-listed) ran MIT (permissive) · 475bf1a7164076b3 · report
semeval2014term_to_aspectsentiment_hr ardyh/bert-ada/finetuning_and_classification/utils_glue_ardy.py community (archive-listed) ran MIT (permissive) · 72cb221552ac14db · report

Tasks

Aspect-Based Sentiment AnalysisAspect-Based Sentiment Analysis (ABSA)Domain AdaptationGeneral ClassificationLanguage ModelingLanguage ModellingSentiment AnalysisSentiment ClassificationTransfer Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Aspect-Based Sentiment Analysis (ABSA) SemEval-2014 Task-4 BERT-ADA Laptop (Acc) 80.23 #10 of 48 Archive leaderboard report
Aspect-Based Sentiment Analysis (ABSA) SemEval-2014 Task-4 BERT-ADA Mean Acc (Restaurant + Laptop) 84.06 #10 of 48 Archive leaderboard report
Aspect-Based Sentiment Analysis (ABSA) SemEval-2014 Task-4 BERT-ADA Restaurant (Acc) 87.89 #10 of 48 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections