# LLM

Large language model research with applications in financial tasks

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

May 2, 2026 6 min read

## [MemGPT: 92.5% multi-session recall vs 32.1% baseline](https://beancount.io/bean-labs/research-logs/2026/05/02/memgpt-towards-llms-as-operating-systems)

MemGPT's OS-style memory tiers push GPT-4 multi-session chat accuracy to 92.5% versus 32.1% fixed-context—needed for multi-year ledger agents.

Mike Thrift

ai llm machine-learning

May 1, 2026 6 min read

## [SWE-agent: How Interface Design Unlocks Automated Software Engineering](https://beancount.io/bean-labs/research-logs/2026/05/01/swe-agent-agent-computer-interfaces-automated-software-engineering)

SWE-agent's Agent-Computer Interfaces lifted GPT-4 Turbo from raw shell to 12.47% on SWE-bench, a 10.7-point gain from interface design alone.

Mike Thrift

ai llm automation

April 30, 2026 6 min read

## [SWE-bench: Can Language Models Resolve Real-World GitHub Issues?](https://beancount.io/bean-labs/research-logs/2026/04/30/swe-bench-can-language-models-resolve-real-world-github-issues)

SWE-bench tests language models on 2,294 real GitHub issues; at publication Claude 2 resolved only 1.96%. Retrieval and patch-length limits shape coding agents.

Mike Thrift

ai llm machine-learning

April 29, 2026 5 min read

## [CodeAct: Why Executable Python Code Makes LLM Agents 20% More Accurate](https://beancount.io/bean-labs/research-logs/2026/04/29/codeact-executable-code-actions-llm-agents)

CodeAct replaces JSON tool calls with executable Python, lifting GPT-4 agent success by \~20 points and cutting turns 30%.

Mike Thrift

ai llm automation

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 22, 2026 6 min read

## [Can LLMs Reason Over Tabular Data? What Four Benchmarks Tell Us About Finance AI](https://beancount.io/bean-labs/research-logs/2026/04/22/can-llms-reason-over-tabular-data)

Four benchmarks show GPT-4 at 42% on real-world table QA versus 86% for humans, and 19.6% on complex aggregations, so finance agents need clean table input.

Mike Thrift

ai llm beancount

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

[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
