From Prompt to Variable: How Acceptance, Section, and Label Rules Shape LLM-Extracted Financial Disclosures

A. Orhun GunarXiv 2026

TL;DR

Suppose two researchers use the exact same large language model (LLM), the exact same prompt, and the exact same corporate financial filings—yet end up with opposite scientific conclusions. This paper shows how the quiet, unglamorous pipeline rules applied before and after the model speaks—like how we handle validation errors or which document sections we feed in—can drastically reshape extracted data, even flipping the signs of downstream regression coefficients. Reproducibility in the LLM era requires documenting the entire measurement pipeline, not just the model and prompt.

What Problem Does This Paper Address?

Researchers increasingly use LLMs to turn mountains of unstructured text—like annual corporate reports (SEC Form 10-Ks)—into neat numerical variables for statistical models. In empirical finance, scientists are meticulous about traditional data quirks, such as distinguishing a missing R&D number from a reported zero. Yet when using LLMs, researchers often share their model and prompt while treating the surrounding data-engineering pipeline as an afterthought.

What happens inside that pipeline? First, LLMs are often asked to extract multiple arrays of information at once, along with verbatim source quotes to prove they aren't hallucinating. Standard data-validation tools frequently use an "all-or-nothing" acceptance rule: if one quote fails verification, the entire response is thrown out. Second, because feeding whole 10-Ks into an LLM is expensive and strains long-context attention, researchers usually just send the single section officially designated for a topic (e.g., Item 1A for "Risk Factors"), potentially missing crucial context elsewhere. Third, taxonomies often include a catch-all "other" label, and researchers must decide whether to count it. The author investigates whether these seemingly mundane plumbing choices actually alter empirical findings.

Methods

To isolate the effect of pipeline rules from LLM randomness, the author uses a clever fixed-response replay design. First, four LLM configurations (Gemma 4 26B-A4B, Gemma 4 31B, Qwen3.6 35B-A3B, and Nemotron 3 Super 120B-A12B) read 10-K sections in chunks and extract three arrays: risk factors, current/past economic shocks, and future shocks, mapping shocks to 42 named historical events (like COVID-19 or Brexit) plus a residual other_macro category.

With all raw LLM outputs safely stored on disk, the author replays them through deterministic rules in two stages:

  • Stage 1 (Acceptance Rules): Compares joint acceptance (if any of the three extracted arrays fails a formatting or quote-matching check, reject everything) against separate acceptance (let each array pass or fail on its own merits).
  • Stage 2 (Section and Label Rules): Compares reading Item 1A (Risk Factors) alone versus adding Item 1 (Business) and Item 7 (MD&A), and counting named events only versus a broad rule that includes other_macro.

Finally, the resulting shock variables are plugged into regressions against a corporate debt-covenant distress indicator (extracted in a companion study), and audited for precision and recall by two blind LLM judges (Claude Opus 5.5 and GPT-6.2 Sol).

Datasets

The study evaluates a stratified archive of 15,600 original SEC Form 10-K filings from 2000 to 2025 covering 9,603 firms (600 filings per year across three document-size tiers). Stage 1 analyzes 12,398 filings with available Item 1A sections, while Stage 2 examines a common panel of 8,987 filings where all four LLM configurations completed Items 1, 1A, and 7. Rather than introducing a static benchmark, the paper contributes a six-point Release Checklist for documenting LLM-extracted datasets.

Key Insights and Ideas

  • Pipeline rejection is sample selection in disguise: When an all-or-nothing validator drops a response because one of 32 risk-factor quotes had a minor formatting hiccup, valid shock data gets deleted before the researcher ever sees it. Older, longer filings have more quotes to verify and fail more often, quietly tilting the surviving dataset toward shorter, more recent disclosures.
  • Aggregate stability can hide massive firm-level churn: Expanding which sections are read might add roughly the same percentage of newly flagged firms under two different label rules, yet identify vastly different specific firms—a critical trap for event studies comparing exposed and unexposed companies.
  • Catch-all labels dilute data quality and flip regressions: Counting the residual other_macro label across multiple sections sweeps in firm-specific woes (like a company's own liquidity crunch) alongside true macroeconomic shocks. This shifts the variable's meaning enough to reverse its statistical relationship with corporate distress.
Fig. 2. Stage 1 by filing year, substantive Item 1A sections. (a) Share in the four-configuration current/past common sample under joint (J) and separate (S) acceptance. (b) Any-configuration shock gap (S minus J) and gap left after reweighting J to S’s length mix within year (cuts at 10,000, 30,000, 60,000, and 110,000 characters). Shaded: 2000–2005 pre-mandate years, each with under 200 sections.

Key Results

  • Sample Recovery: Switching from joint to separate acceptance lifts four-model common-sample coverage on Item 1A from 77.6% to 98.6%, recovering 2,608 sections. On substantive sections, this narrows Manski bounds (assumption-free logical ranges accounting for missing data) on pooled shock rates from 25.0 percentage points wide down to 1.6. In 2009 filings, separate acceptance boosts recorded any-configuration shock rates from 79.5% to 83.5%.
  • Incidence & Regression Reversals: In Stage 2, holding stored LLM answers fixed, expanding from Item 1A (named labels) to Items 1, 1A, and 7 (broad labels) pushes Gemma26's measured current/past shock rate from 33.7% to 89.4%. Across all four models, this shift flips the covenant-distress regression coefficient from negative to positive, with statistically detectable swings in two configurations (e.g., Gemma26 shifts by +8.23 points, from −2.96 to +5.28).
Fig. 3. One set of stored responses, four variables. Share of the 8,987 panel filings with a counted shock label from Item 1A alone (open circles) to Items 1, 1A, and 7 (filled), under the named rule (CN, blue) or broad rule (CB, orange). Segment length equals ∆(C) in Table IV, up to rounding.
  • Firm Churn & Audits: For Gemma31, named and broad rules add nearly identical shares of newly flagged filings (15.0% vs. 15.8%), yet their overlap (Intersection over Union) is just 33.5%—reclassifying 1,379 filings. Blind LLM audits detect no loss of strict validity in recovered or newly added section records, but consistently rate other_macro records as less valid than named events.

Limitations and Future Work

The precision and recall audits rely on two LLM judges and are not validated against human coders; as the author notes, two models can agree just as often as humans do while sharing the exact same misreading. Additionally, each LLM was run only once per section (leaving run-to-run variance unmeasured), the replay design reflects retries triggered by the original joint rule, and the models postdate the filings—meaning they possess hindsight about historical events and cannot serve as real-time measures. Future empirical work using LLMs can build on the paper's release checklist, logging unresolved outputs distinctly from true zeros and validating machine audits against human readers.

Summary updated

BibTeX
@misc{gun2026from,
  author = {A. Orhun Gun},
  title = {{From Prompt to Variable: How Acceptance, Section, and Label Rules Shape LLM-Extracted Financial Disclosures}},
  year = {2026},
  eprint = {2611.37293},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37293},
}
Figure