atlas

Research map / Large language models / Language, safety and interpretability

BeanCounter: A low-toxicity, large-scale, and open dataset of business-oriented text

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces BeanCounter, a 159B-token dataset of business disclosures from SEC EDGAR, shows it is less toxic than C4 around demographic terms, and finds continued pretraining on it lowers toxic generation and improves finance tasks for Pythia-1.4B and Phi-1.5.

Problem

Web-scraped LLM pretraining corpora raise concerns about toxicity, bias, PII, and factual accuracy, and large public domain-specific sources of business text are scarce.

Approach

Builds a large public corpus from all EDGAR filings including attachments, with timestamps and a fraud-labeled split, and measures toxicity conditionally on demographic descriptors using Perspective API on sentences rather than random spans.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · Fin NER testF-1 score: 0.72 -> 0.73Helped
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · FPBF-1 score: 0.92 -> 0.93Helped
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · RealToxicityPromptsToxicity score: 0.0579 -> 0.0385Helped
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · RealToxicityPromptsPerspective score: 0.1297 -> 0.1118Helped
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · Fin NER testF-1 score: 0.71 -> 0.74Helped
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · FPBF-1 score: 0.93 -> 0.95Helped
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · RealToxicityPromptsToxicity score: 0.0224 -> 0.0184Helped
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · RealToxicityPromptsPerspective score: 0.0901 -> 0.0887Helped
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · MuSRNormalized accuracy: 0.3498 -> 0.3645Helped
Continue pre-training on Pythia-1.4B with BeanCounterPythia-1.4B · BBHNormalized accuracy: 0.3174 -> 0.3135Hurt
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · MMLU-ProNormalized accuracy: 0.17 -> 0.1252Hurt
Continue pre-training on Phi-1.5 with BeanCounterPhi-1.5 · MuSRNormalized accuracy: 0.3404 -> 0.3471Helped

Surprising findings

Limitations

Experimental setup

Datasets: BeanCounter C4-en Financial PhraseBank Fin NER RealToxicityPrompts ToxiGen

Benchmarks: Financial PhraseBank Fin NER RealToxicityPrompts SafeNLP BBH MMLU-Pro MuSR IFeval GPQA

Metrics: F-1 score toxicity score Perspective score safety score normalized accuracy average toxicity

Baselines: Pythia-1.4B Phi-1.5 C4-en

Builds on: Pythia Phi-1.5 RealToxicityPrompts ToxiGen EDGAR-CORPUS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy