Anna Helena Reali Costa
Author directory2026
Bootstrapping Text Anomaly Detection with LLM-Generated Weak Supervision
Fabio Masaracchia Maia | Anna Helena Reali Costa
Proceedings of the 17th Brazilian Symposium in Information and Human Language Technology
Fabio Masaracchia Maia | Anna Helena Reali Costa
Proceedings of the 17th Brazilian Symposium in Information and Human Language Technology
Text anomaly detection is challenging because anomalous instances often share vocabulary and surface form with normal data, making them hard to distinguish without semantic understanding. Semi-supervised methods can significantly outperform unsupervised baselines, but rely on labeled anomalies that are rarely available in practice. LLMs encode rich semantic knowledge that can approximate human judgments, yet using them directly as detectors is costly at inference time and sensitive to prompt design, while generating synthetic outliers risks distribution mismatch with real anomalies. We propose a different strategy: treating a compact, locally deployed LLM as a noisy annotator over real data. The LLM scores a small subset of unlabeled documents once at training time, producing weak labels that refine a sentence encoder via contrastive fine-tuning and train a lightweight downstream detector — without cloud APIs, human annotation, or curated anomaly datasets. Across four datasets spanning two languages and two tasks, the approach recovers up to 79% of the gap to oracle upper bounds while using 14–91× fewer labeled anomalies. We further identify three failure modes that explain when LLM-generated weak supervision succeeds or breaks down.
2024
Anomaly Detection in Text Data: A Semi-Supervised Approach Applied to the Portuguese Domain
Fabio Masaracchia Maia | Anna Helena Reali Costa
Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology
Fabio Masaracchia Maia | Anna Helena Reali Costa
Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology
No Argument Left Behind: Overlapping Chunks for Faster Processing of Arbitrarily Long Legal Texts
Israel Fama | Bárbara Bueno | Alexandre Alcoforado | Thomas Palmeira Ferraz | Arnold Moya | Anna Helena Reali Costa
Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology
Israel Fama | Bárbara Bueno | Alexandre Alcoforado | Thomas Palmeira Ferraz | Arnold Moya | Anna Helena Reali Costa
Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology
From Random to Informed Data Selection: A Diversity-Based Approach to Optimize Human Annotation and Few-Shot Learning
Alexandre Alcoforado | Thomas Palmeira Ferraz | Lucas Hideki Okamura | Israel Campos Fama | Arnold Moya Lavado | Bárbara Dias Bueno | Bruno Veloso | Anna Helena Reali Costa
Proceedings of the 16th International Conference on Computational Processing of Portuguese - Vol. 1
Alexandre Alcoforado | Thomas Palmeira Ferraz | Lucas Hideki Okamura | Israel Campos Fama | Arnold Moya Lavado | Bárbara Dias Bueno | Bruno Veloso | Anna Helena Reali Costa
Proceedings of the 16th International Conference on Computational Processing of Portuguese - Vol. 1