# Plain-Text Accounting

Research grounded in plain-text accounting formats and workflows

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

June 7, 2026 7 min read

## [DIN-SQL: GPT-4 jumps 67.4%→85.3% EX on Spider](https://beancount.io/bean-labs/research-logs/2026/06/07/din-sql-decomposed-in-context-learning-text-to-sql)

DIN-SQL lifts GPT-4 from 67.4% to 85.3% Spider execution accuracy via schema-link and self-correct stages—same decomposition fits Beancount BQL.

Mike Thrift

ai llm database

June 6, 2026 6 min read

## [BIRD: GPT-4 hits only 54.89% EX on real databases](https://beancount.io/bean-labs/research-logs/2026/06/06/bird-benchmark-text-to-sql-real-database-gap)

On BIRD, GPT-4 reaches 54.89% execution accuracy with domain hints and 34.88% without—a 20-point gap any Beancount NL→BQL interface must close.

Mike Thrift

beancount ai llm

June 4, 2026 6 min read

## [GraphRAG: 72–83% wins vanish after LLM-judge bias fix](https://beancount.io/bean-labs/research-logs/2026/06/04/graphrag-local-to-global-query-focused-summarization)

Microsoft's GraphRAG posts 72–83% sensemaking wins over vector RAG; a 2025 audit collapses those after correcting judge bias—caution for multi-doc ledger QA.

Mike Thrift

ai llm machine-learning

June 1, 2026 5 min read

## [StructRAG (ICLR 2025): Picking the Right Document Structure Beats GraphRAG by 28 Points](https://beancount.io/bean-labs/research-logs/2026/06/01/structrag-inference-time-hybrid-information-structurization)

StructRAG routes each query to a table, graph, catalogue, algorithm, or chunk structure, beating GraphRAG by 28 points and running 22× faster.

Mike Thrift

ai llm machine-learning

May 26, 2026 5 min read

## [Fusion-in-Decoder: How Multi-Passage Retrieval Improves Generative QA](https://beancount.io/bean-labs/research-logs/2026/05/26/fusion-in-decoder-passage-retrieval-generative-qa)

FiD encodes retrieved passages separately and fuses them in the decoder, beating RAG-Sequence by 4–11 points on NQ and TriviaQA, the synthesis ledger QA needs.

Mike Thrift

ai machine-learning llm

May 19, 2026 5 min read

## [IRCoT: Interleaving Retrieval with Chain-of-Thought for Multi-Step QA](https://beancount.io/bean-labs/research-logs/2026/05/19/ircot-interleaving-retrieval-chain-of-thought-multi-step-qa)

IRCoT adds +11.3 recall and +7.1 F1 on HotpotQA over one-step RAG by querying retrieval at every reasoning step. A 3B model can then beat GPT-3 175B.

Mike Thrift

ai llm machine-learning

May 17, 2026 5 min read

## [RAG: 44.5 EM on NQ — and why ledger indexes go stale](https://beancount.io/bean-labs/research-logs/2026/05/17/rag-retrieval-augmented-generation-knowledge-intensive-nlp)

Lewis et al. hit 44.5 EM on Natural Questions with a frozen FAISS index; for Beancount ledgers that means reindex-or-miss when balances change daily.

Mike Thrift

ai machine-learning llm

May 10, 2026 5 min read

## [LATS: Language Agent Tree Search — Reasoning, Acting, and Planning in One Framework](https://beancount.io/bean-labs/research-logs/2026/05/10/lats-language-agent-tree-search-reasoning-acting-planning)

LATS unifies ReAct, Tree of Thoughts, and Reflexion in one MCTS framework, hitting 92.7% pass\@1 on HumanEval with GPT-4.

Mike Thrift

ai llm machine-learning

May 9, 2026 6 min read

## [Self-RAG: Adaptive Retrieval and Self-Critique for LLMs](https://beancount.io/bean-labs/research-logs/2026/05/09/self-rag-learning-to-retrieve-generate-critique-self-reflection)

Self-RAG trains an LLM to decide when to retrieve and self-grade results, hitting 55.8% on PopQA and 80.2 FactScore — beating ChatGPT on five benchmarks.

Mike Thrift

ai machine-learning llm

May 8, 2026 6 min read

## [Voyager: skill libraries unlock 3.3× more item discovery](https://beancount.io/bean-labs/research-logs/2026/05/08/voyager-open-ended-embodied-agent-lifelong-learning)

Voyager's persistent code skill library discovers 3.3× more Minecraft items than prior SOTA without fine-tuning—the reuse pattern ledger agents need.

Mike Thrift

ai llm machine-learning

May 7, 2026 5 min read

## [HippoRAG: 89.1% Recall@5 on 2Wiki vs 68.2% ColBERT](https://beancount.io/bean-labs/research-logs/2026/05/07/hipporag-neurobiologically-inspired-long-term-memory-llms)

HippoRAG's OpenIE+PageRank memory hits 89.1% Recall\@5 on 2WikiMultiHopQA versus 68.2% ColBERTv2—path-aware retrieval for multi-year ledgers.

Mike Thrift

llm ai machine-learning

May 6, 2026 5 min read

## [AgentBench: Evaluating LLMs as Agents — Lessons for Financial AI Reliability](https://beancount.io/bean-labs/research-logs/2026/05/06/agentbench-evaluating-llms-as-agents)

AgentBench scored GPT-4 4.01 versus 0.96 for the best open-source LLM. Those failures are exactly what breaks a Beancount write-back agent on a live ledger.

Mike Thrift

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
