# Machine Learning

Machine learning techniques for financial data analysis and automation

85 posts [View all tags](https://beancount.io/bean-labs/research-logs/tags) [Back to All Posts](https://beancount.io/bean-labs/research-logs)

April 28, 2026 6 min read

## [Self-Correction: GPT-4 falls 95.5%→91.5% on GSM8K](https://beancount.io/bean-labs/research-logs/2026/04/28/llms-cannot-self-correct-reasoning-yet)

Huang et al. (ICLR 2024): intrinsic self-correction drops GPT-4 from 95.5% to 91.5% on GSM8K—ledger agents need external validators, not self-review.

Mike Thrift

llm ai machine-learning

April 27, 2026 7 min read

## [Tree of Thoughts: Deliberate Problem Solving with LLM Search](https://beancount.io/bean-labs/research-logs/2026/04/27/tree-of-thoughts-deliberate-problem-solving)

Tree of Thoughts hits 74% on Game of 24 where GPT-4 chain-of-thought gets 4%, by searching and backtracking over steps, a pattern finance agents can borrow.

Mike Thrift

ai llm machine-learning

April 26, 2026 5 min read

## [CRITIC: Why LLM Self-Correction Requires External Tool Feedback](https://beancount.io/bean-labs/research-logs/2026/04/26/critic-llm-self-correct-tool-interactive-critiquing)

CRITIC lifts open-domain QA by 7.7 F1 and cuts toxicity 79.2% by verifying LLM revisions against external tools, not itself.

Mike Thrift

ai llm machine-learning

April 25, 2026 5 min read

## [Reflexion: Language Agents That Learn from Mistakes Without Retraining](https://beancount.io/bean-labs/research-logs/2026/04/25/reflexion-language-agents-verbal-reinforcement-learning)

Reflexion hits 91% on HumanEval with GPT-4 without weight updates, but fails on WebShop. Verbal reinforcement needs a crisp evaluator signal.

Mike Thrift

ai llm machine-learning

April 24, 2026 5 min read

## [Self-Consistency: Majority-Vote Sampling Improves Chain-of-Thought Accuracy](https://beancount.io/bean-labs/research-logs/2026/04/24/self-consistency-chain-of-thought)

Self-consistency majority-votes many sampled reasoning paths instead of one greedy decode, adding 17.9 points on GSM8K with no extra training.

Mike Thrift

ai llm machine-learning

April 23, 2026 5 min read

## [PAL: +38pp on hard math by handing arithmetic to Python](https://beancount.io/bean-labs/research-logs/2026/04/23/pal-program-aided-language-models)

PAL gains +38.1pp over chain-of-thought on GSM-hard by running Python for arithmetic—the right split for reliable Beancount ledger calculations.

Mike Thrift

ai llm machine-learning

April 21, 2026 6 min read

## [Constitutional AI for Accounting Agents: RLAIF, Policy Rules, and Goodharting Risks](https://beancount.io/bean-labs/research-logs/2026/04/21/constitutional-ai-harmlessness-from-ai-feedback)

Constitutional AI replaces hand-labelled harm data with AI feedback, so accounting agents can enforce ledger rules without a reviewer per transaction.

Mike Thrift

ai machine-learning llm

April 20, 2026 5 min read

## [Chain-of-Thought Prompting: Precision-Recall Trade-offs for Finance AI](https://beancount.io/bean-labs/research-logs/2026/04/20/chain-of-thought-prompting-reasoning-tradeoffs)

Chain-of-Thought prompting raises precision but can cut recall on rare financial events, so fraud agents may miss anomalies they should flag.

Mike Thrift

ai llm machine-learning

April 19, 2026 6 min read

## [PHANTOM (NeurIPS 2025): Measuring LLM Hallucination Detection in Financial Documents](https://beancount.io/bean-labs/research-logs/2026/04/19/phantom-hallucination-detection-financial-long-context)

PHANTOM (NeurIPS 2025) measures LLM hallucination detection on real SEC filings. Qwen3-30B leads at F1=0.882, but 7B models guess near random.

Mike Thrift

llm ai machine-learning

April 18, 2026 5 min read

## [FinMaster Benchmark: Why LLMs Score 96% on Financial Literacy but 3% on Statement Generation](https://beancount.io/bean-labs/research-logs/2026/04/18/finmaster-financial-workflows-llm-benchmark)

FinMaster Benchmark: top LLMs hit 96% on financial literacy but only 3% on statement generation. Error propagation costs 21 points on consulting tasks.

Mike Thrift

llm accounting ai

April 17, 2026 6 min read

## [ReAct: Synergizing Reasoning and Acting in Language Models](https://beancount.io/bean-labs/research-logs/2026/04/17/react-synergizing-reasoning-and-acting-in-language-models)

ReAct interleaves reasoning with tool actions, beating pure CoT by 34 points on fact verification. Its failure modes shape agents writing to Beancount ledgers.

Mike Thrift

ai llm machine-learning

April 16, 2026 6 min read

## [Toolformer: Self-Supervised Tool Use and Its Limits for Finance AI](https://beancount.io/bean-labs/research-logs/2026/04/16/toolformer-language-models-teach-themselves-use-tools)

Toolformer teaches a 6.7B model to call APIs via perplexity filtering, beating GPT-3 175B on arithmetic. Its single-step design blocks chained ledger calls.

Tian Pan

ai llm machine-learning

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
